Shader.uniform1f
- Shader.uniform1f(name, value)[source]
Store a uniform float in the shader program at a named location.
- Parameters
- name: str
The name of the location in the shader program.
- value: float
A float value.
Store a uniform float in the shader program at a named location.
The name of the location in the shader program.
A float value.