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.