CS::RenderManager::Implementation::ViscullCallback< RenderTree > Class Template 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. |
Detailed Description
template<typename RenderTree>
class CS::RenderManager::Implementation::ViscullCallback< RenderTree >
Helper class implementing the visculler callback functionality and adds rendermeshes via AddRenderMeshToContext function.
Definition at line 47 of file viscull.h.
Member Function Documentation
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.
The documentation for this class was generated from the following file:
- csplugincommon/rendermanager/viscull.h
Generated for Crystal Space 2.0 by doxygen 1.6.1