PrimitiveType

sg_primitive_type

This is the common subset of 3D primitive types supported across all 3D APIs. This is used in the sg_pipeline_desc.primitive_type member when creating a pipeline object.

The default primitive type is SG_PRIMITIVETYPE_TRIANGLES

Values

ValueMeaning
Default
Points
Lines
Line_strip
Triangles
Triangle_strip
Num

Meta