struct FillRecord { Ptr<PrimitiveFill> pFill; VertexFormat* pFormats[2]; unsigned IndexOffset; unsigned IndexCount; UPInt VertexByteOffset; unsigned VertexCount; unsigned FillMatrixIndex[2]; unsigned MergeFlags; };
Describes a single fill style used by the mesh; this data is generated as a result of tessellation.
Members |
Description |
Ptr<PrimitiveFill> pFill; |
Hardware fill used for rendering. |
VertexFormat* pFormats[2]; |
Vertex formats with [0] representing single and [1] representing instanced vertex formats. |
unsigned IndexOffset; |
Index offset from start of index (IB) buffer. |
unsigned IndexCount; |
Number of indices starting at IndexOffset. |
UPInt VertexByteOffset; |
Offset in bytes, due to different vertex sizes. |
unsigned VertexCount; |
Number of vertices starting at VertexByteOffset. |
unsigned FillMatrixIndex[2]; |
Fill matrix indices. |
unsigned MergeFlags; |
Described by FillMergeFlags. Needs just 2 bits, but matching VertexOutput::Fill::MergeFlags |
Render_Primitive.h