OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Visitor object that can be used to iterate over a collection of Renderable instances abstractly. More...
#include <OgreRenderable.h>
Public Member Functions | |
virtual | ~Visitor () |
Virtual destructor needed as class has virtual methods. More... | |
virtual void | visit (Renderable *rend, ushort lodIndex, bool isDebug, Any *pAny=0)=0 |
Generic visitor method. More... | |
Visitor object that can be used to iterate over a collection of Renderable instances abstractly.
|
inlinevirtual |
Virtual destructor needed as class has virtual methods.
|
pure virtual |
Generic visitor method.
rend | The Renderable instance being visited |
lodIndex | The LOD index to which this Renderable belongs. Some objects support LOD and this will tell you whether the Renderable you're looking at is from the top LOD (0) or otherwise |
isDebug | Whether this is a debug renderable or not. |
pAny | Optional pointer to some additional data that the class calling the visitor may populate if it chooses to. |