Shader.opIndexAssign

Change variable length vector parameter of the shader. The length of the set of floats must be between 1 and 4.

Parameters

name string

The name of the variable to change in the shader. The corresponding parameter in the shader must be a 4x1 vector (vec4 GLSL type).

val float[]

The set of floats to assign.

Meta