#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| DIOGREVertexDeclaration * | GetVertexDeclaration () |
| Declaration of the vertex to be used in this operation. | |
| DIOGREVertexBufferBinding * | GetVertexBufferBinding () |
| The vertex buffer bindings to be used. | |
| unsigned long | GetVertexStart () |
| The base vertex index to start from. | |
| unsigned long | GetVertexCount () |
| The number of vertices used in this operation. | |
| void | PrepareForShadowVolume (void) |
| Modifies the vertex data to be suitable for use for rendering shadow geometry. | |
| DIOGREHardwareVertexBuffer * | GetHardwareShadowVolWBuffer () |
| Additional shadow volume vertex buffer storage. | |
| void | ReorganiseBuffers (DIOGREVertexDeclaration *newDeclaration) |
| Reorganises the data in the vertex buffers according to the new vertex declaration passed in. | |
| DIOGREVertexDeclaration* DigitalSpaces::DIOGREVertexData::GetVertexDeclaration | ( | ) |
Declaration of the vertex to be used in this operation.
| DIOGREVertexBufferBinding* DigitalSpaces::DIOGREVertexData::GetVertexBufferBinding | ( | ) |
The vertex buffer bindings to be used.
| unsigned long DigitalSpaces::DIOGREVertexData::GetVertexStart | ( | ) |
The base vertex index to start from.
| unsigned long DigitalSpaces::DIOGREVertexData::GetVertexCount | ( | ) |
The number of vertices used in this operation.
| void DigitalSpaces::DIOGREVertexData::PrepareForShadowVolume | ( | void | ) |
Modifies the vertex data to be suitable for use for rendering shadow geometry.
| DIOGREHardwareVertexBuffer* DigitalSpaces::DIOGREVertexData::GetHardwareShadowVolWBuffer | ( | ) |
Additional shadow volume vertex buffer storage.
| void DigitalSpaces::DIOGREVertexData::ReorganiseBuffers | ( | DIOGREVertexDeclaration * | newDeclaration | ) |
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.
| newDeclaration | The vertex declaration which will be used for the reorganised buffer state. Note that the new delcaration must not include any elements which do not already exist in the current declaration; you can drop elements by excluding them from the declaration if you wish, however. | |
| bufferUsages | Vector of usage flags which indicate the usage options for each new vertex buffer created. The indexes of the entries must correspond to the buffer binding values referenced in the declaration. 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. | |
| newDeclaration | The vertex declaration which will be used for the reorganised buffer state. Note that the new delcaration must not include any elements which do not already exist in the current declaration; you can drop elements by excluding them from the declaration if you wish, however. |
1.5.6