OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Visitor interface for items in a QueuedRenderableCollection. More...
#include <OgreRenderQueueSortingGrouping.h>
Public Member Functions | |
QueuedRenderableVisitor () | |
virtual | ~QueuedRenderableVisitor () |
virtual void | visit (const Pass *p, RenderableList &rs)=0 |
When visiting a collection grouped by pass, this is called. | |
virtual void | visit (RenderablePass *rp)=0 |
Called when visiting a RenderablePass, i.e. | |
Visitor interface for items in a QueuedRenderableCollection.
Those wishing to iterate over the items in a QueuedRenderableCollection should implement this visitor pattern, since internal organisation of the collection depends on the sorting method in use.
|
inline |
|
inlinevirtual |
|
pure virtual |
Called when visiting a RenderablePass, i.e.
items in a sorted collection where items are not grouped by pass.
If this is called, the other visit method will not be called.
Implemented in Ogre::SceneManager::SceneMgrQueuedRenderableVisitor.
|
pure virtual |
When visiting a collection grouped by pass, this is called.
If this method is called, the RenderablePass visit method will not be called for this collection.
Implemented in Ogre::SceneManager::SceneMgrQueuedRenderableVisitor.