#include <OgreVertexIndexData.h>
Public Types | |
typedef std::vector< HardwareAnimationData > | HardwareAnimationDataList |
Public Member Functions | |
VertexData () | |
~VertexData () | |
VertexData * | clone (bool copyData=true) const |
Clones this vertex data, potentially including replicating any vertex buffers. | |
void | prepareForShadowVolume (void) |
Modifies the vertex data to be suitable for use for rendering shadow geometry. | |
void | reorganiseBuffers (VertexDeclaration *newDeclaration, const BufferUsageList &bufferUsage) |
Reorganises the data in the vertex buffers according to the new vertex declaration passed in. | |
void | reorganiseBuffers (VertexDeclaration *newDeclaration) |
Reorganises the data in the vertex buffers according to the new vertex declaration passed in. | |
void | convertPackedColour (VertexElementType srcType, VertexElementType destType) |
Convert all packed colour values (VET_COLOUR_*) in buffers used to another type. | |
void | allocateHardwareAnimationElements (ushort count) |
Allocate elements to serve a holder of morph / pose target data for hardware morphing / pose blending. | |
Public Attributes | |
VertexDeclaration * | vertexDeclaration |
Declaration of the vertex to be used in this operation. | |
VertexBufferBinding * | vertexBufferBinding |
The vertex buffer bindings to be used. | |
size_t | vertexStart |
The base vertex index to start from. | |
size_t | vertexCount |
The number of vertices used in this operation. | |
HardwareAnimationDataList | hwAnimationDataList |
VertexElements used for hardware morph / pose animation. | |
size_t | hwAnimDataItemsUsed |
Number of hardware animation data items used. | |
HardwareVertexBufferSharedPtr | hardwareShadowVolWBuffer |
Additional shadow volume vertex buffer storage. | |
Private Member Functions | |
VertexData (const VertexData &rhs) | |
Protected copy constructor, to prevent misuse. | |
VertexData & | operator= (const VertexData &rhs) |
Protected operator=, to prevent misuse. |
Definition at line 39 of file OgreVertexIndexData.h.
|
Definition at line 70 of file OgreVertexIndexData.h. |
|
Protected copy constructor, to prevent misuse.
|
|
|
|
|
|
Allocate elements to serve a holder of morph / pose target data for hardware morphing / pose blending.
|
|
Clones this vertex data, potentially including replicating any vertex buffers.
|
|
Convert all packed colour values (VET_COLOUR_*) in buffers used to another type.
|
|
Protected operator=, to prevent misuse.
|
|
Modifies the vertex data to be suitable for use for rendering shadow geometry.
|
|
Reorganises the data in the vertex buffers according to the new vertex declaration passed in. Note that new vertex buffers are created and written to, so if the buffers being referenced by this vertex data object are also used by others, then the original buffers will not be damaged by this operation. Once this operation has completed, the new declaration passed in will overwrite the current one. This version of the method derives the buffer usages from the existing buffers, by using the 'most flexible' usage from the equivalent sources.
|
|
Reorganises the data in the vertex buffers according to the new vertex declaration passed in. Note that new vertex buffers are created and written to, so if the buffers being referenced by this vertex data object are also used by others, then the original buffers will not be damaged by this operation. Once this operation has completed, the new declaration passed in will overwrite the current one.
|
|
Additional shadow volume vertex buffer storage.
Definition at line 115 of file OgreVertexIndexData.h. |
|
VertexElements used for hardware morph / pose animation.
Definition at line 72 of file OgreVertexIndexData.h. |
|
Number of hardware animation data items used.
Definition at line 74 of file OgreVertexIndexData.h. |
|
The vertex buffer bindings to be used.
Definition at line 57 of file OgreVertexIndexData.h. |
|
The number of vertices used in this operation.
Definition at line 61 of file OgreVertexIndexData.h. |
|
Declaration of the vertex to be used in this operation.
Definition at line 53 of file OgreVertexIndexData.h. |
|
The base vertex index to start from.
Definition at line 59 of file OgreVertexIndexData.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:46:00 2006