cf_apply_shader¶
Category: graphics
GitHub: cute_graphics.h
Uses a specific shader + material combo for rendering.
Remarks¶
The CF_Shader defines how to render a mesh's geometry, set by cf_apply_mesh. The CF_Mesh holds input geometry to the vertex shader. A CF_Material defines uniform and texture inputs to the shader.
Related Pages¶
CF_Mesh
cf_create_mesh
cf_draw_elements