VertexStep

sg_vertex_step

Defines whether the input pointer of a vertex input stream is advanced 'per vertex' or 'per instance'. The default step-func is SG_VERTEXSTEP_PER_VERTEX. SG_VERTEXSTEP_PER_INSTANCE is used with instanced-rendering.

The vertex-step is part of the vertex-layout definition when creating pipeline objects

Values

ValueMeaning
Default
Per_vertex
Per_instance
Num

Meta