BufferType

sg_buffer_type

Indicates whether a buffer will be bound as vertex-, index- or storage-buffer.

Used in the sg_buffer_desc.type member when creating a buffer.

The default value is SG_BUFFERTYPE_VERTEXBUFFER

Values

ValueMeaning
Default
Vertexbuffer
Indexbuffer
Storagebuffer
Num

Meta