picogl.backend.modern.core.uniform.location_value
Functions
|
set_uniform_value |
Module Contents
- picogl.backend.modern.core.uniform.location_value.set_uniform_location_value(location: int, uniform_value: float | int | pyglm.glm.vec2 | pyglm.glm.vec3 | pyglm.glm.vec4 | pyglm.glm.mat4 | numpy.ndarray)[source]
set_uniform_value
- Parameters:
location (uniform) – int
uniform_value – Value to set (supports float, int, vec2, vec3, vec4, mat4, or np.ndarray)
Set a uniform variable in a shader program