Mount Fuji Engine  0.8b
MF_API MFVertexBuffer* MFVertex_CreateVertexBuffer ( const MFVertexDeclaration pVertexFormat,
int  numVerts,
MFVertexBufferType  type,
void *  pVertexBufferMemory = NULL,
const char *  pName = NULL 
)

Creates a new vertex buffer.

Parameters
pVertexFormatPointer to a vertex declaration that describes the buffer format.
numVertsNumber of vertices to allocate.
typeThe vertex buffer type.
pVertexBufferMemory(Optional) Pointer to existing vertex data for the buffer.
pName(Optional) Name for the vertex buffer.
Returns
The created vertrex buffer.
See Also
MFVertex_ReleaseVertexBuffer()