OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
'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... | |
uint32 | 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.
The rendering operation type to perform.
|
inline |
VertexData* Ogre::RenderOperation::vertexData |
Vertex source data.
IndexData* Ogre::RenderOperation::indexData |
Index data - only valid if useIndexes is true.
Referenced by Ogre::ManualObject::index().
const Renderable* Ogre::RenderOperation::srcRenderable |
Debug pointer back to renderable which created this.
uint32 Ogre::RenderOperation::numberOfInstances |
The number of instances for the render operation - this option is supported in only a part of the render systems.
OperationType Ogre::RenderOperation::operationType |
The type of operation to perform.
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.
Referenced by Ogre::ManualObject::index().
bool Ogre::RenderOperation::useGlobalInstancingVertexBufferIsAvailable |
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if available.