sg_index_type
Indicates whether indexed rendering (fetching vertex-indices from an index buffer) is used, and if yes, the index data type (16- or 32-bits).
This is used in the sg_pipeline_desc.index_type member when creating a pipeline object.
The default index type is SG_INDEXTYPE_NONE
See Implementation
sg_index_type
Indicates whether indexed rendering (fetching vertex-indices from an index buffer) is used, and if yes, the index data type (16- or 32-bits).
This is used in the sg_pipeline_desc.index_type member when creating a pipeline object.
The default index type is SG_INDEXTYPE_NONE