#include <OgreRenderQueue.h>
Public Types | |
typedef std::map< RenderQueueGroupID, RenderQueueGroup * > | RenderQueueGroupMap |
typedef MapIterator< RenderQueueGroupMap > | QueueGroupIterator |
Iterator over queue groups. | |
Public Methods | |
RenderQueue () | |
virtual | ~RenderQueue () |
void | clear (void) |
Empty the queue - should only be called by SceneManagers. | |
RenderQueueGroup * | getQueueGroup (RenderQueueGroupID qid) |
Get a render queue group. | |
void | addRenderable (Renderable *pRend, RenderQueueGroupID groupID, ushort priority) |
Add a renderable object to the queue. | |
void | addRenderable (Renderable *pRend, ushort priority=RENDERABLE_DEFAULT_PRIORITY) |
Add a renderable object to the queue. | |
RenderQueueGroupID | getDefaultQueueGroup (void) const |
Gets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. | |
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. | |
QueueGroupIterator | _getQueueGroupIterator (void) |
Internal method, returns an iterator for the queue groups. | |
void | setSplitPassesByLightingType (bool split) |
Sets whether or not the queue will split passes by their lighting type, ie ambient, per-light and decal. | |
void | setSplitNoShadowPasses (bool split) |
Sets whether or not the queue will split passes which have shadow receive turned off (in their parent material), which is needed when certain shadow techniques are used. | |
Protected Attributes | |
RenderQueueGroupMap | mGroups |
RenderQueueGroupID | mDefaultQueueGroup |
The current default queue group. | |
bool | mSplitPassesByLightingType |
bool | mSplitNoShadowPasses |
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.
Definition at line 71 of file OgreRenderQueue.h.
|
Iterator over queue groups.
Definition at line 76 of file OgreRenderQueue.h. Referenced by _getQueueGroupIterator(). |
|
Definition at line 74 of file OgreRenderQueue.h. |
|
Definition at line 37 of file OgreRenderQueue.cpp. References mDefaultQueueGroup, mGroups, mSplitNoShadowPasses, mSplitPassesByLightingType, and Ogre::RENDER_QUEUE_MAIN. |
|
Definition at line 52 of file OgreRenderQueue.cpp. References mGroups. |
|
Internal method, returns an iterator for the queue groups.
Definition at line 104 of file OgreRenderQueue.cpp. References mGroups, and QueueGroupIterator. Referenced by Ogre::SceneManager::_renderVisibleObjects(). |
|
Add a renderable object to the queue.
Definition at line 109 of file OgreRenderQueue.cpp. References addRenderable(), mDefaultQueueGroup, and Ogre::ushort. |
|
Add a renderable object to the queue.
Definition at line 73 of file OgreRenderQueue.cpp. References Ogre::RenderQueueGroup::addRenderable(), Ogre::Renderable::getMaterial(), getQueueGroup(), Ogre::RenderQueueGroupID, Ogre::Material::touch(), and Ogre::ushort. Referenced by Ogre::SceneNode::_addBoundingBoxToQueue(), Ogre::SceneNode::_findVisibleObjects(), Ogre::OctreeSceneManager::_findVisibleObjects(), Ogre::SceneManager::_queueSkiesForRendering(), Ogre::TerrainRenderable::_updateRenderQueue(), Ogre::SimpleRenderable::_updateRenderQueue(), Ogre::GuiElement::_updateRenderQueue(), Ogre::Frustum::_updateRenderQueue(), Ogre::Entity::_updateRenderQueue(), Ogre::BorderPanelGuiElement::_updateRenderQueue(), Ogre::BillboardSet::_updateRenderQueue(), and addRenderable(). |
|
Empty the queue - should only be called by SceneManagers.
Definition at line 84 of file OgreRenderQueue.cpp. References mGroups. Referenced by Ogre::OctreeSceneManager::_findVisibleObjects(), and Ogre::SceneManager::_renderScene(). |
|
Gets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on.
Definition at line 114 of file OgreRenderQueue.cpp. References mDefaultQueueGroup, and Ogre::RenderQueueGroupID. Referenced by Ogre::Overlay::_findVisibleObjects(). |
|
Get a render queue group.
Definition at line 124 of file OgreRenderQueue.cpp. References mGroups, mSplitNoShadowPasses, mSplitPassesByLightingType, and Ogre::RenderQueueGroupID. Referenced by addRenderable(), and Ogre::SceneManager::initRenderQueue(). |
|
Sets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on.
Definition at line 119 of file OgreRenderQueue.cpp. References mDefaultQueueGroup, and Ogre::RenderQueueGroupID. Referenced by Ogre::Overlay::_findVisibleObjects(). |
|
Sets whether or not the queue will split passes which have shadow receive turned off (in their parent material), which is needed when certain shadow techniques are used.
Definition at line 159 of file OgreRenderQueue.cpp. References mGroups, and mSplitNoShadowPasses. Referenced by Ogre::SceneManager::setShadowTechnique(). |
|
Sets whether or not the queue will split passes by their lighting type, ie ambient, per-light and decal.
Definition at line 146 of file OgreRenderQueue.cpp. References mGroups, and mSplitPassesByLightingType. Referenced by Ogre::SceneManager::setShadowTechnique(). |
|
The current default queue group.
Definition at line 80 of file OgreRenderQueue.h. Referenced by addRenderable(), getDefaultQueueGroup(), RenderQueue(), and setDefaultQueueGroup(). |
|
Definition at line 78 of file OgreRenderQueue.h. Referenced by _getQueueGroupIterator(), clear(), getQueueGroup(), RenderQueue(), setSplitNoShadowPasses(), setSplitPassesByLightingType(), and ~RenderQueue(). |
|
Definition at line 82 of file OgreRenderQueue.h. Referenced by getQueueGroup(), RenderQueue(), and setSplitNoShadowPasses(). |
|
Definition at line 81 of file OgreRenderQueue.h. Referenced by getQueueGroup(), RenderQueue(), and setSplitPassesByLightingType(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:26:58 2004