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.