'New' rendering operation using vertex buffers. More...
#include <OgreRenderOperation.h>
Public Types | |
enum | OperationType { OT_POINT_LIST = 1, OT_LINE_LIST = 2, OT_LINE_STRIP = 3, OT_TRIANGLE_LIST = 4, OT_TRIANGLE_STRIP = 5, OT_TRIANGLE_FAN = 6 } |
The rendering operation type to perform. More... | |
Public Member Functions | |
RenderOperation () | |
Public Attributes | |
VertexData * | vertexData |
Vertex source data. | |
OperationType | operationType |
The type of operation to perform. | |
bool | useIndexes |
Specifies whether to use indexes to determine the vertices to use as input. | |
IndexData * | indexData |
Index data - only valid if useIndexes is true. | |
const Renderable * | srcRenderable |
Debug pointer back to renderable which created this. | |
size_t | numberOfInstances |
The number of instances for the render operation - this option is supported in only a part of the render systems. | |
bool | useGlobalInstancingVertexBufferIsAvailable |
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if available. |
'New' rendering operation using vertex buffers.
Definition at line 44 of file OgreRenderOperation.h.
The rendering operation type to perform.
Definition at line 47 of file OgreRenderOperation.h.
Ogre::RenderOperation::RenderOperation | ( | ) |
Definition at line 87 of file OgreRenderOperation.h.
Index data - only valid if useIndexes is true.
Definition at line 75 of file OgreRenderOperation.h.
The number of instances for the render operation - this option is supported in only a part of the render systems.
Definition at line 81 of file OgreRenderOperation.h.
The type of operation to perform.
Definition at line 66 of file OgreRenderOperation.h.
Debug pointer back to renderable which created this.
Definition at line 77 of file OgreRenderOperation.h.
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if available.
Definition at line 85 of file OgreRenderOperation.h.
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 72 of file OgreRenderOperation.h.
Vertex source data.
Definition at line 63 of file OgreRenderOperation.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:39:08 2012