Abstract interface which classes must implement if they wish to receive events from the render queue.
More...
#include <OgreRenderQueueListener.h>
Abstract interface which classes must implement if they wish to receive events from the render queue.
- The event listeners have an option to make a queue either be skipped, or to repeat. Note that if multiple listeners are registered, the one registered last has the final say, although options set by previous listeners will not be changed if the latest does not express a preference.
◆ ~RenderQueueListener()
virtual Ogre::RenderQueueListener::~RenderQueueListener |
( |
| ) |
|
|
inlinevirtual |
◆ preRenderQueues()
virtual void Ogre::RenderQueueListener::preRenderQueues |
( |
| ) |
|
|
inlinevirtual |
Event raised before all render queues are processed.
◆ postRenderQueues()
virtual void Ogre::RenderQueueListener::postRenderQueues |
( |
| ) |
|
|
inlinevirtual |
Event raised after all render queues are processed.
◆ renderQueueStarted()
virtual void Ogre::RenderQueueListener::renderQueueStarted |
( |
uint8 |
queueGroupId, |
|
|
const String & |
invocation, |
|
|
bool & |
skipThisInvocation |
|
) |
| |
|
inlinevirtual |
Event raised before a queue group is rendered.
This method is called by the SceneManager before each queue group is rendered.
- Parameters
-
queueGroupId | The id of the queue group which is about to be rendered |
invocation | Name of the illumination stage which is causing 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.
◆ renderQueueEnded()
virtual void Ogre::RenderQueueListener::renderQueueEnded |
( |
uint8 |
queueGroupId, |
|
|
const String & |
invocation, |
|
|
bool & |
repeatThisInvocation |
|
) |
| |
|
inlinevirtual |
Event raised after a queue group is rendered.
This method is called by the SceneManager after each queue group is rendered.
- Parameters
-
queueGroupId | The id of the queue group which has just been rendered |
invocation | Name of the illumination stage which is causing 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. |
The documentation for this class was generated from the following file: