Shader.opIndexAssign

Change a float parameter of the shader.

Parameters

name string

The name of the variable to change in the shader. The corresponding parameter in the shader must be a float (float GLSL type).

x float

Value to assign

Meta