PrimitiveBatch::Create

PrimitiveBatch::Create
static PrimitiveBatch* Create(Primitive* p, BatchType type, unsigned meshIndex, unsigned meshCount);
Description

Create creates a batch of primitives.

Parameters
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. 
Return Value

The created PrimitiveBatch.