#include <OgreRenderQueue.h>
Public Types | |
typedef std::map< RenderQueueGroupID, RenderQueueGroup * > | RenderQueueGroupMap |
typedef MapIterator< RenderQueueGroupMap > | QueueGroupIterator |
Iterator over queue groups. More... | |
Public Methods | |
RenderQueue () | |
virtual | ~RenderQueue () |
void | clear (void) |
Empty the queue - should only be called by SceneManagers. More... | |
void | addRenderable (Renderable *pRend, RenderQueueGroupID groupID, ushort priority) |
Add a renderable object to the queue. More... | |
void | addRenderable (Renderable *pRend, ushort priority=RENDERABLE_DEFAULT_PRIORITY) |
Add a renderable object to the queue. More... | |
RenderQueueGroupID | getDefaultQueueGroup (void) |
Gets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. More... | |
void | setDefaultQueueGroup (RenderQueueGroupID grp) |
Sets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. More... | |
QueueGroupIterator | _getQueueGroupIterator (void) |
Internal method, returns an iterator for the queue groups. More... | |
Protected Attributes | |
RenderQueueGroupMap | mGroups |
RenderQueueGroupID | mDefaultQueueGroup |
This class now includes the concept of 'queue groups' which allows the application adding the renderable to specifically schedule it so that it is included in a discrete group. Good for separating renderables into the main scene, backgrounds and overlays, and also could be used in the future for more complex multipass routines like stenciling.
|
Iterator over queue groups.
|
|
|
|
|
|
|
|
Internal method, returns an iterator for the queue groups.
|
|
Add a renderable object to the queue.
|
|
Add a renderable object to the queue.
|
|
Empty the queue - should only be called by SceneManagers.
|
|
Gets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on.
|
|
Sets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on.
|
|
|
|
|
Copyright © 2002 by The OGRE Team