'New' rendering operation using vertex buffers. More...
#include <OgreRenderOperation.h>
Public Member Functions | |
RenderOperation () | |
Public Attributes | |
IndexData * | indexData |
Index data - only valid if useIndexes is true. More... | |
size_t | numberOfInstances |
The number of instances for the render operation - this option is supported in only a part of the render systems. More... | |
OperationType | operationType |
The type of operation to perform. More... | |
const Renderable * | srcRenderable |
Debug pointer back to renderable which created this. More... | |
bool | useGlobalInstancingVertexBufferIsAvailable |
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if available. More... | |
bool | useIndexes |
Specifies whether to use indexes to determine the vertices to use as input. More... | |
VertexData * | vertexData |
Vertex source data. More... | |
'New' rendering operation using vertex buffers.
Definition at line 45 of file OgreRenderOperation.h.
The rendering operation type to perform.
Definition at line 48 of file OgreRenderOperation.h.
|
inline |
Definition at line 121 of file OgreRenderOperation.h.
IndexData* Ogre::RenderOperation::indexData |
Index data - only valid if useIndexes is true.
Definition at line 109 of file OgreRenderOperation.h.
size_t Ogre::RenderOperation::numberOfInstances |
The number of instances for the render operation - this option is supported in only a part of the render systems.
Definition at line 115 of file OgreRenderOperation.h.
OperationType Ogre::RenderOperation::operationType |
The type of operation to perform.
Definition at line 100 of file OgreRenderOperation.h.
const Renderable* Ogre::RenderOperation::srcRenderable |
Debug pointer back to renderable which created this.
Definition at line 111 of file OgreRenderOperation.h.
bool Ogre::RenderOperation::useGlobalInstancingVertexBufferIsAvailable |
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if available.
Definition at line 119 of file OgreRenderOperation.h.
bool Ogre::RenderOperation::useIndexes |
Specifies whether to use indexes to determine the vertices to use as input.
If false, the vertices are simply read in sequence to define the primitives. If true, indexes are used instead to identify vertices anywhere in the buffer, and allowing vertices to be used more than once. If true, then the indexBuffer, indexStart and numIndexes properties must be valid.
Definition at line 106 of file OgreRenderOperation.h.
VertexData* Ogre::RenderOperation::vertexData |
Vertex source data.
Definition at line 97 of file OgreRenderOperation.h.