InitFillRecords initializes FillRecord(s)/FillMatrixCache based on the VertexOutput generated data, also returning the required cumulative vertexbuffer size and counts.
The rendering fill records are initialized by
- creating PrimitiveFill(s), potentially merged from two FillData(s) for EdgeAA.
- mapping vertex formats to hardware version.
- assigning buffer offsets.
Parameters |
Description |
HAL* hal |
The render HAL for rendering the shape meshes. |
const VertexOutput::Fill* fills |
Pointer to the vertex set rendered with a common fill style. |
unsigned fillCount |
Number of fills for the complex shape. //Total fill count in layer. |
const Matrix2F& vertexMatrix |
_nt_ |
UPInt * vbSize |
The size of the vertex buffer. |
unsigned * vertexCount |
Number of vertices in the vertex buffer. |
unsigned * indexCount |
Indices into the vertex buffer. |
A Boolean value of true if the fill records are initialized and false otherwise.