cf_material_set_texture_fs¶
Category: graphics
GitHub: cute_graphics.h
Sets up a texture, used for inputs to fragment shaders.
Parameters | Description |
---|---|
material | The material. |
name | The name of the texture, for referring to within a fragment shader. |
texture | Data (usually an image) for a shader to access. |
Remarks¶
See CF_Texture and CF_TextureParams for an overview.
Related Pages¶
CF_UniformType
CF_Material
cf_make_material
cf_destroy_material
cf_material_set_render_state
cf_material_set_texture_vs
cf_material_set_uniform_fs
cf_material_set_uniform_vs