![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Abstract interface which classes must implement if they wish to receive events from the render queue. More...
#include <OgreRenderQueueListener.h>
Public Member Functions | |
virtual | ~RenderQueueListener () |
virtual void | postRenderQueues () |
Event raised after all render queues are processed. | |
virtual void | preRenderQueues () |
Event raised before all render queues are processed. | |
virtual void | renderQueueEnded (uint8 queueGroupId, const String &cameraName, bool &repeatThisInvocation) |
Event raised after a queue group is rendered. | |
virtual void | renderQueueStarted (uint8 queueGroupId, const String &cameraName, bool &skipThisInvocation) |
Event raised before a queue group is rendered. | |
Abstract interface which classes must implement if they wish to receive events from the render queue.
The OGRE render queue is divided into several queue groups, as defined by uint8. A class may implement this interface, and register itself as a listener by calling SceneManager::addRenderQueueListener. After doing so, the class will receive an event before and after each queue group is sent to the rendering system.
|
inlinevirtual |
Event raised before all render queues are processed.
Event raised after all render queues are processed.
|
inlinevirtual |
Event raised before a queue group is rendered.
This method is called by the SceneManager before each queue group is rendered.
queueGroupId | The id of the queue group which is about to be rendered |
cameraName | Name of the camera which is triggering this to be called |
skipThisInvocation | A boolean passed by reference which is by default set to false. If the event sets this to true, the queue will be skipped and not rendered. Note that in this case the renderQueueEnded event will not be raised for this queue group. |
Reimplemented in Ogre::OverlaySystem.
|
inlinevirtual |
Event raised after a queue group is rendered.
This method is called by the SceneManager after each queue group is rendered.
queueGroupId | The id of the queue group which has just been rendered |
cameraName | Name of the camera which is triggering this to be called |
repeatThisInvocation | A boolean passed by reference which is by default set to false. If the event sets this to true, the queue which has just been rendered will be repeated, and the renderQueueStarted and renderQueueEnded events will also be fired for it again. |