Shader.uniform3f

Shader.uniform3f(name, value)[source]

Store a uniform list of 3 floats in the shader program at a named location.

Parameters
name: str

The name of the location in the shader program.

value: (float, float, float) | list[float]

An iterable of 3 floats.