OGRE
1.10.12
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... | |
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... | |
bool | renderToVertexBuffer |
Specifies whether rendering to the vertex buffer. 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.
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.
IndexData* Ogre::RenderOperation::indexData |
Index data - only valid if useIndexes is true.
const Renderable* Ogre::RenderOperation::srcRenderable |
Debug pointer back to renderable which created this.
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.
bool Ogre::RenderOperation::renderToVertexBuffer |
Specifies whether rendering to the vertex buffer.
bool Ogre::RenderOperation::useGlobalInstancingVertexBufferIsAvailable |
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if available.