Set shader uniform value.
Arguments
- shader
A shader.
- loc_index
An integer.
- value
A number or numerical vector of length 2, 3, or 4.
See also
Other shader functions:
begin_shader_mode()
,
end_shader_mode()
,
get_shader_location_attrib()
,
get_shader_location()
,
load_shader_from_memory()
,
load_shader()
,
set_shader_value_matrix()
,
set_shader_value_texture()
,
unload_shader()