Init is called by Create instead of constructor for initializing the primitive and the mesh index/count.
Parameters |
Description |
Primitive* p |
Pointer to Primitive which is to be initialized. |
BatchType type |
The type of batch rendering. |
unsigned meshIndex |
The index of the mesh in the buffer. |
unsigned meshCount |
The number of meshes in the buffer. |