Class to listen in on items being added to the render queue.
More...
#include <OgreRenderQueue.h>
Class to listen in on items being added to the render queue.
Definition at line 104 of file OgreRenderQueue.h.
Ogre::RenderQueue::RenderableListener::RenderableListener |
( |
| ) |
|
|
inline |
virtual Ogre::RenderQueue::RenderableListener::~RenderableListener |
( |
| ) |
|
|
inlinevirtual |
Method called when a Renderable is added to the queue.
- Parameters
-
rend | The Renderable being added to the queue |
groupID | The render queue group this Renderable is being added to |
priority | The priority the Renderable has been given |
ppTech | A pointer to the pointer to the Technique that is intended to be used; you can alter this to an alternate Technique if you so wish (the Technique doesn't have to be from the same Material either). |
pQueue | Pointer to the render queue that this object is being added to. You can for example call this back to duplicate the object with a different technique |
- Returns
- true to allow the Renderable to be added to the queue, false if you want to prevent it being added
The documentation for this class was generated from the following file: