Class representing the invocation of queue groups in a RenderQueue.
More...
#include <OgreRenderQueueInvocation.h>
Class representing the invocation of queue groups in a RenderQueue.
- Note that whilst you can change the ordering of rendering solids, you can't change the ordering on transparent objects, since to do this would cause them to render incorrectly.
- As well as using this class directly and using the options it provides you with, you can also provide subclasses of it to a RenderQueueInvocationSequence instance if you want to gain ultimate control.
- Note
- Invocations will be skipped if there are scene-level options preventing them being rendered - for example special-case render queues and render queue listeners that dictate this.
◆ RenderQueueInvocation()
Ogre::RenderQueueInvocation::RenderQueueInvocation |
( |
uint8 |
renderQueueGroupID, |
|
|
const String & |
invocationName = BLANKSTRING |
|
) |
| |
Constructor.
- Parameters
-
renderQueueGroupID | ID of the queue this will target |
invocationName | Optional name to uniquely identify this invocation from others in a RenderQueueListener |
◆ ~RenderQueueInvocation()
virtual Ogre::RenderQueueInvocation::~RenderQueueInvocation |
( |
| ) |
|
|
virtual |
◆ getRenderQueueGroupID()
virtual uint8 Ogre::RenderQueueInvocation::getRenderQueueGroupID |
( |
void |
| ) |
const |
|
inlinevirtual |
Get the render queue group id.
◆ getInvocationName()
virtual const String& Ogre::RenderQueueInvocation::getInvocationName |
( |
void |
| ) |
const |
|
inlinevirtual |
Get the invocation name (may be blank if not set by creator)
◆ setSolidsOrganisation()
Set the organisation mode being used for solids in this queue group invocation.
◆ getSolidsOrganisation()
Get the organisation mode being used for solids in this queue group invocation.
◆ setSuppressShadows()
virtual void Ogre::RenderQueueInvocation::setSuppressShadows |
( |
bool |
suppress | ) |
|
|
inlinevirtual |
Sets whether shadows are suppressed when invoking this queue.
◆ getSuppressShadows()
virtual bool Ogre::RenderQueueInvocation::getSuppressShadows |
( |
void |
| ) |
const |
|
inlinevirtual |
Gets whether shadows are suppressed when invoking this queue.
◆ setSuppressRenderStateChanges()
virtual void Ogre::RenderQueueInvocation::setSuppressRenderStateChanges |
( |
bool |
suppress | ) |
|
|
inlinevirtual |
Sets whether render state changes are suppressed when invoking this queue.
- Suppressing render state changes is only intended for advanced use, don't use it if you're unsure of the effect. The only RenderSystem calls made are to set the world matrix for each object (note - view an projection matrices are NOT SET - they are under your control) and to render the object; it is up to the caller to do everything else, including enabling any vertex / fragment programs and updating their parameter state, and binding parameters to the RenderSystem. We advise you use a RenderQueueListener in order to get a notification when this invocation is going to happen (use an invocation name to identify it if you like), at which point you can set the state you need to apply before the objects are rendered.
◆ getSuppressRenderStateChanges()
virtual bool Ogre::RenderQueueInvocation::getSuppressRenderStateChanges |
( |
void |
| ) |
const |
|
inlinevirtual |
Gets whether shadows are suppressed when invoking this queue.
◆ invoke()
Invoke this class on a concrete queue group.
◆ RENDER_QUEUE_INVOCATION_SHADOWS
String Ogre::RenderQueueInvocation::RENDER_QUEUE_INVOCATION_SHADOWS |
|
static |
Invocation identifier for shadows.
The documentation for this class was generated from the following file: