Class to listen in on items being added to the render queue. More...
#include <OgreRenderQueue.h>
Public Member Functions | |
RenderableListener () | |
virtual | ~RenderableListener () |
virtual bool | renderableQueued (Renderable *rend, uint8 groupID, ushort priority, Technique **ppTech, RenderQueue *pQueue)=0 |
Method called when a Renderable is added to the queue. More... | |
Class to listen in on items being added to the render queue.
Definition at line 106 of file OgreRenderQueue.h.
Ogre::RenderQueue::RenderableListener::RenderableListener | ( | ) |
Definition at line 109 of file OgreRenderQueue.h.
|
virtual |
Definition at line 110 of file OgreRenderQueue.h.
|
pure virtual |
Method called when a Renderable is added to the queue.
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 |
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Oct 16 2013 14:36:09