Shader.uniform1f
- Shader.uniform1f(name, value)[source]
Store a uniform float in the shader program at a named location.
- Parameters:
- namestr
The name of the location in the shader program.
- valuefloat
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.