csRenderMeshList Class Reference
This class is used when we need to store, sort and then render a list of rendermeshes. More...
#include <cstool/rendermeshlist.h>
Public Member Functions | |
void | AddRenderMeshes (csRenderMesh **meshes, int num, long renderPriority, csZBufMode z_buf_mode, iMeshWrapper *mesh) |
Add a new set of rendermeshes to the lists. | |
csRenderMeshList (iEngine *engine) | |
Constructor. | |
void | Empty () |
Empty the meshlist. | |
void | GetSortedMeshes (csRenderMesh **meshes, iMeshWrapper **imeshes) |
After sorting the meshes fetch them with this function. | |
size_t | SortMeshLists (iRenderView *rview) |
Sort the list of meshes by render priority and within every render priority. | |
~csRenderMeshList () | |
Destructor. |
Detailed Description
This class is used when we need to store, sort and then render a list of rendermeshes.
Definition at line 45 of file rendermeshlist.h.
Constructor & Destructor Documentation
|
Constructor. It needs objectregistry becouse the meshsorter needs to get the renderpriorities sortingoptions from the engine. |
|
Destructor. Clean up the list |
Member Function Documentation
|
Add a new set of rendermeshes to the lists.
|
|
Empty the meshlist. It will still hold the list of renderpriorities. |
|
After sorting the meshes fetch them with this function.
|
|
Sort the list of meshes by render priority and within every render priority. Return number of total meshes. |
The documentation for this class was generated from the following file:
- cstool/rendermeshlist.h
Generated for Crystal Space by doxygen 1.4.6