- CS
- RenderManager
- Implementation
- ViscullCallback
![]() |
Public API Reference |
![]() |
Helper class implementing the visculler callback functionality and adds rendermeshes via AddRenderMeshToContext function. More...
#include <csplugincommon/rendermanager/viscull.h>
Public Member Functions | |
virtual int | GetVisibleMeshes (iMeshWrapper *mw, uint32 frustum_mask, csSectorVisibleRenderMeshes *&meshList) |
Returns a list of the visible rendermeshes of a meshwrapper. | |
virtual void | MarkVisible (iMeshWrapper *mw, int numMeshes, csSectorVisibleRenderMeshes *&meshList) |
Marks the passed rendermeshes of a meshwrapper as visible. | |
virtual void | ObjectVisible (iVisibilityObject *visobject, iMeshWrapper *imesh, uint32 frustum_mask) |
This function is called whenever the visibilty culler discovers a new visible mesh. |
Helper class implementing the visculler callback functionality and adds rendermeshes via AddRenderMeshToContext function.
virtual int CS::RenderManager::Implementation::ViscullCallback< RenderTree >::GetVisibleMeshes | ( | iMeshWrapper * | mw, |
uint32 | frustum_mask, | ||
csSectorVisibleRenderMeshes *& | meshList | ||
) | [inline, virtual] |
Returns a list of the visible rendermeshes of a meshwrapper.
Implements iVisibilityCullerListener.
virtual void CS::RenderManager::Implementation::ViscullCallback< RenderTree >::MarkVisible | ( | iMeshWrapper * | mw, |
int | numMeshes, | ||
csSectorVisibleRenderMeshes *& | meshList | ||
) | [inline, virtual] |
Marks the passed rendermeshes of a meshwrapper as visible.
Implements iVisibilityCullerListener.
virtual void CS::RenderManager::Implementation::ViscullCallback< RenderTree >::ObjectVisible | ( | iVisibilityObject * | visobject, |
iMeshWrapper * | mesh, | ||
uint32 | frustum_mask | ||
) | [inline, virtual] |
This function is called whenever the visibilty culler discovers a new visible mesh.
The frustum_mask is a mask that is compatible with the current set of clip planes in the iRenderView. The mask will be true for every relevant plane. This can be used to further optimize clipping testing.
Implements iVisibilityCullerListener.