cf_mesh_set_index_buffer¶
Category: graphics
GitHub: cute_graphics.h
Sets up an index buffer on the mesh, for indexed style rendering.
Parameters | Description |
---|---|
mesh | The mesh. |
index_buffer_size_in_bytes | The size of the mesh's index buffer. |
index_bit_count | The number of bits to use for indices, must be either 16 or 32. |