Skip to content

cf_make_material

Category: graphics
GitHub: cute_graphics.h


Creates a new material.

CF_Material cf_make_material(void);

Remarks

A material holds render state (see CF_RenderState), texture inputs (see CF_Texture), as well as shader inputs called uniforms (see CF_UniformType). For an overview see CF_Material.

CF_UniformType
CF_Material
cf_material_set_uniform_fs
cf_destroy_material
cf_material_set_render_state
cf_material_set_texture_vs
cf_material_set_texture_fs
cf_material_set_uniform_vs