static PrimitiveBatch* Create(Primitive* p, BatchType type, unsigned meshIndex, unsigned meshCount);
Create creates a batch of primitives.
Parameters |
Description |
Primitive* p |
Pointer to Primitive used in the batch. |
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. |
The created PrimitiveBatch.