RenderWare::VertexDescriptionBase struct

Derived classes

template<uint16_t nVertexElements = (uint16_t)1>
struct VertexDescription
A vertex declaration defines the vertex buffer layout and programs the tessellation engine.
template<uint16_t nVertexElements = (uint16_t)1>
struct VertexDescription
A vertex declaration defines the vertex buffer layout and programs the tessellation engine.

Public static variables

static const uint32_t TYPE

Constructors, destructors, conversion operators

VertexDescriptionBase()

Public functions

void CreateDeclaration(IDirect3DDevice9* pDevice)
Creates the IDirect3DVertexDeclaration9 object required by Direct3D 9 using the elements in this description.
void LoadDeclaration()
Loads this IDirect3DVertexDeclaration9 into DirectX.
void ReleaseDirectX()
Releases the DirectX object.
void SetElement(int index, const VertexElement& element)

Public variables

VertexDescriptionBase* pNextParent
VertexDescriptionBase* pNextSibling
IDirect3DVertexDeclaration9* pDXVertexDeclaration
The IDirect3DVertexDeclaration9 that operates behind this structure.
uint16_t elementsCount
The amount of elements contained in this description.
char lockFlags
uint8_t stride
The size in bytes of each vertex.
int elementsUsed
int elementsHash
VertexElement elements
An array of all the VertexElement objects of this description.