![]() |
Public API Reference |
#include <rdrprior.h>
Public Methods | |
csRenderQueueSet () | |
Constructor. More... | |
~csRenderQueueSet () | |
Destructor. More... | |
void | Add (iMeshWrapper *mesh) |
Add a mesh object. More... | |
void | Remove (iMeshWrapper *mesh) |
Remove a mesh object. More... | |
void | RemoveUnknownPriority (iMeshWrapper *mesh) |
Remove a mesh object which is potentially in the wrong queue. More... | |
int | GetQueueCount () |
Return the number of rendering queues (the maximum priority value). More... | |
csMeshVectorNodelete * | GetQueue (int priority) |
Return a single queue, or NULL if no queue exists for the given priority. More... | |
iMeshWrapper ** | SortAll (iRenderView *rview, int &tot_num, uint32 current_visnr) |
Sort all priority queues and return a sorted list of all mesh objects for all priorities. More... | |
void | Sort (iRenderView *rview, int priority) |
Sort this queue based on the flags for that queue. More... |
The rendering queues are sorted by rendering priority. Note that the mesh objects are not reference-counted!
Definition at line 35 of file rdrprior.h.
|
Constructor.
|
|
Destructor.
|
|
Add a mesh object.
|
|
Return a single queue, or NULL if no queue exists for the given priority.
Definition at line 61 of file rdrprior.h. |
|
Return the number of rendering queues (the maximum priority value).
Definition at line 58 of file rdrprior.h. References csPDelArray< csMeshVectorNodelete >::Length. |
|
Remove a mesh object.
|
|
Remove a mesh object which is potentially in the wrong queue.
|
|
Sort this queue based on the flags for that queue.
|
|
Sort all priority queues and return a sorted list of all mesh objects for all priorities. This list should be deleted with delete[] later. Returns NULL if there are no visible objects. The number of objects returned in 'tot_num' is the size of the returned array. Note that this function will only add visible objects to the array (i.e. iVisibilityObject)! |