C4 Engine
C4 Engine API Documentation

VertexBuffer::GetVertexBufferSize

Defined in:  C4Renderable.h
Returns the size of a vertex buffer.
Prototype

uint32 GetVertexBufferSize(voidconst;

Description
The GetVertexBufferSize function returns the maximum size of the data that can be stored in a vertex buffer. If the VertexBuffer::EstablishVertexBuffer function has previously been called for a vertex buffer, then the return value of the GetVertexBufferSize function is the value that was passed to it as the size parameter. Otherwise, the return value of the GetVertexBufferSize function is zero.
See Also

VertexBuffer::EstablishVertexBuffer

VertexBuffer::GetVertexStride