![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Lowest level collection of renderables. More...
#include <OgreRenderQueueSortingGrouping.h>
Inheritance diagram for Ogre::QueuedRenderableCollection:Public Types | |
| enum | OrganisationMode { OM_PASS_GROUP = 1, OM_SORT_DESCENDING = 2, OM_SORT_ASCENDING = 6 } |
| Organisation modes required for this collection. More... | |
Public Member Functions | |
| QueuedRenderableCollection () | |
| void | acceptVisitor (QueuedRenderableVisitor *visitor, OrganisationMode om) const |
| Accept a visitor over the collection contents. More... | |
| void | addOrganisationMode (OrganisationMode om) |
| Add a required sorting / grouping mode to this collection when next used. More... | |
| void | addRenderable (Pass *pass, Renderable *rend) |
| Add a renderable to the collection using a given pass. More... | |
| void | clear (void) |
| Empty the collection. More... | |
| void | merge (const QueuedRenderableCollection &rhs) |
| Merge renderable collection. More... | |
| void | removePassGroup (Pass *p) |
| Remove the group entry (if any) for a given Pass. More... | |
| void | resetOrganisationModes (void) |
| Reset the organisation modes required for this collection. More... | |
| void | sort (const Camera *cam) |
| Perform any sorting that is required on this collection. More... | |
Lowest level collection of renderables.
Organisation modes required for this collection.
| Ogre::QueuedRenderableCollection::QueuedRenderableCollection | ( | ) |
| void Ogre::QueuedRenderableCollection::clear | ( | void | ) |
Empty the collection.
| void Ogre::QueuedRenderableCollection::removePassGroup | ( | Pass * | p | ) |
Remove the group entry (if any) for a given Pass.
|
inline |
Reset the organisation modes required for this collection.
|
inline |
Add a required sorting / grouping mode to this collection when next used.
References Ogre::RenderablePass::pass.
| void Ogre::QueuedRenderableCollection::addRenderable | ( | Pass * | pass, |
| Renderable * | rend | ||
| ) |
Add a renderable to the collection using a given pass.
| void Ogre::QueuedRenderableCollection::sort | ( | const Camera * | cam | ) |
Perform any sorting that is required on this collection.
| cam | The camera |
| void Ogre::QueuedRenderableCollection::acceptVisitor | ( | QueuedRenderableVisitor * | visitor, |
| OrganisationMode | om | ||
| ) | const |
Accept a visitor over the collection contents.
| visitor | Visitor class which should be called back |
| om | The organisation mode which you want to iterate over. Note that this must have been included in an addOrganisationMode call before any renderables were added. |
| void Ogre::QueuedRenderableCollection::merge | ( | const QueuedRenderableCollection & | rhs | ) |
Merge renderable collection.