#include <vertexdecl.h>
Collaboration diagram for VertexDeclaration:
Public Member Functions | |
VertexDeclaration (unsigned int uiNumElements) | |
VertexDeclaration (const VertexDeclaration &rkDeclaration) | |
virtual | ~VertexDeclaration () |
VertexElement * | GetElement (unsigned int uiType=VertexElement::UNKNOWNTYPE, unsigned int uiUsage=VertexElement::UNKNOWNUSAGE) |
const VertexElement * | GetElement (unsigned int uiType=VertexElement::UNKNOWNTYPE, unsigned int uiUsage=VertexElement::UNKNOWNUSAGE) const |
unsigned int | GetVertexSize () const |
virtual VertexDeclaration * | Duplicate () const |
VertexDeclaration & | operator= (const VertexDeclaration &rkDeclaration) |
bool | operator== (const VertexDeclaration &rkDeclaration) const |
void | Interpolate (unsigned char *pucFrom, unsigned char *pucTo, unsigned char *pucDest, float fFactor) const |
virtual void | InterpolateArray (unsigned char *pucFrom, unsigned char *pucTo, unsigned char *pucDest, float fFactor, unsigned int uiNumVertices) const |
Public Attributes | |
VertexElement * | m_pkElements |
unsigned int | m_uiNumElements |
|
|
|
|
|
|
|
Get first matching element of specified type
|
|
Get first matching element of specified type
|
|
Get size of a vertex with this format declaration
|
|
Duplicate vertex format declaration object
|
|
|
|
|
|
Interpolate between two vertices of generic type |
|
Interpolate between two vertex buffers of generic type |
|
Vertex declarations |
|
Number of elements |