C4 Engine
C4 Engine API Documentation

VertexBuffer::GetVertexStride

Defined in:  C4Renderable.h
Returns the vertex stride for a vertex buffer.
Prototype

uint32 GetVertexStride(voidconst;

Description
The GetVertexStride function returns the vertex stride that was previously specified by the VertexBuffer::EstablishVertexBuffer function. If the EstablishVertexBuffer function has not been called yet for a vertex buffer, then the return value of the GetVertexStride function is undefined.
See Also

VertexBuffer::EstablishVertexBuffer

VertexBuffer::GetVertexBufferSize