cf_draw_set_texture¶
Category: draw
GitHub: cute_draw.h
Pushes a texture onto a texture slot by name.
Parameters | Description |
---|---|
name | The name of the uniform this texture will bind to. |
texture | The texture to bind. |
Remarks¶
This is useful for custom shaders. See cf_draw_push_shader.
Related Pages¶
cf_draw_set_uniform_color
cf_draw_set_uniform
cf_draw_set_uniform_int
cf_draw_set_uniform_float
cf_draw_set_uniform_v2