VertexOutput::BeginOutput

VertexOutput::BeginOutput
virtual bool BeginOutput(const Fill* fills, unsigned fillCount, const Matrix2F& vertexMatrix = Matrix2F::Identity) = 0;
Description

BeginOutput specifies the number and types of vertex fill sets that needs to be allocated. This method is called before SetVertices/SetIndices.

Parameters
Parameters 
Description 
const Fill* fills 
Pointer to the Fill array which must remain alive until EndOutput is called. 
unsigned fillCount 
The number of independent fills, each having a number of triangles. For simple Mesh, this should be 1. 
const Matrix2F& vertexMatrix = Matrix2F::Identity 
vertexMatrix is applied to vertex coordinates; all of the vertices will be multiplied by this matrix before the full transformation is applied. This matrix is most typically used to scale the 16-bit integer coordinate space to the intended shape coordinates. 
Return Value

A Boolean value of true if vertex fill allocation is successful and false otherwise.