Skip to content

cf_apply_mesh

Category: graphics
GitHub: cute_graphics.h


Uses a specific mesh for rendering.

void cf_apply_mesh(CF_Mesh mesh);

Remarks

The mesh contains vertex data, defining the geometry to be rendered. The mesh vertices are sent to the GPU as inputs to the vertex shader. See CF_Mesh for an overview.

CF_Mesh
cf_create_mesh
cf_apply_shader
cf_draw_elements