cf_draw_set_uniform¶
Category: draw
GitHub: cute_draw.h
Pushes a uniform and binds it by name.
Parameters | Description |
---|---|
name | The name of the uniform in the shader. |
data | A pointer to the data to send to the shader. |
type | The CF_UniformType of data to send. |
array_length | The number of elements of CF_UniformType to send. |
Related Pages¶
cf_draw_set_texture
cf_draw_set_uniform_color
cf_draw_set_uniform_int
cf_draw_set_uniform_float
cf_draw_set_uniform_v2