CF_Mesh¶
Category: graphics
GitHub: cute_graphics.h
An opaque handle representing a mesh.
Remarks¶
A mesh is a container of triangles, along with optional indices. After a mesh is created the layout of the vertices in memory must be described. We use an array of CF_VertexAttribute to define how the GPU will interpret the vertices we send it.
Related Pages¶
CF_Texture
CF_Canvas
CF_Material
CF_Shader
cf_make_mesh
cf_destroy_mesh
cf_mesh_update_vertex_data
cf_apply_mesh