CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csRenderQueueSet Class Reference

This class contains a list of rendering queues, each of which is a list of mesh wrappers. More...

#include <rdrprior.h>

List of all members.

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...


Detailed Description

This class contains a list of rendering queues, each of which is a list of mesh wrappers.

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 Documentation

csRenderQueueSet::csRenderQueueSet  
 

Constructor.

csRenderQueueSet::~csRenderQueueSet  
 

Destructor.


Member Function Documentation

void csRenderQueueSet::Add iMeshWrapper   mesh
 

Add a mesh object.

csMeshVectorNodelete* csRenderQueueSet::GetQueue int    priority [inline]
 

Return a single queue, or NULL if no queue exists for the given priority.

Definition at line 61 of file rdrprior.h.

int csRenderQueueSet::GetQueueCount   [inline]
 

Return the number of rendering queues (the maximum priority value).

Definition at line 58 of file rdrprior.h.

References csPDelArray< csMeshVectorNodelete >::Length.

void csRenderQueueSet::Remove iMeshWrapper   mesh
 

Remove a mesh object.

void csRenderQueueSet::RemoveUnknownPriority iMeshWrapper   mesh
 

Remove a mesh object which is potentially in the wrong queue.

void csRenderQueueSet::Sort iRenderView   rview,
int    priority
 

Sort this queue based on the flags for that queue.

iMeshWrapper** csRenderQueueSet::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.

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)!


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14