VertexOutput

VertexOutput
Scaleform::Render::VertexOutput
Declaration
class VertexOutput;
Description

VertexOutput is a vertex-generation interface used to supply mesh vertices from MeshProvider/Tessellator to rendering caches. VertexOutput object is passed to MeshProvider::GetData, which populates it by calling BeginOutput, SetVertices, SetIndices calls. 

In case of EdgeAA and complex shapes, VertexOutput can receive multiple vertex sets having different fill styles. The type and amount of such data is described by VertexOutput::Fill array passed to BeginOutput; this information allows the cache system to pre-allocate the required memory.

Methods
Method 
Description 
Specifies the number and types of vertex fill sets that needs to be allocated. 
Ends the vertex fill allocation. 
Provides the vertex data (mesh indices) for vertex fills, and is called after BeginOutput
Provides the vertex data (mesh vertices) for vertex fills, and is called after BeginOutput
Structures
Structure 
Description 
Fill 
Describes a single vertex set within VertexOutput, that will be rendered with a common fill style. 
File

Render_Primitive.h