C4 Engine
C4 Engine API Documentation

VertexBuffer::VertexBufferActive

Defined in:  C4Renderable.h
Returns a boolean value indicating whether a vertex buffer is active.
Prototype

bool VertexBufferActive(voidconst;

Description
The VertexBufferActive function returns true if resources have been allocated for a vertex buffer through a previous call to the VertexBuffer::EstablishVertexBuffer function. If the EstablishVertexBuffer function has not been called, or the most recent call specified zero for the size parameter, then the VertexBufferActive function returns false.
See Also

VertexBuffer::EstablishVertexBuffer