Shader.setParameter

Change a 3-components vector parameter of the shader.

Parameters

name const(char)[]

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

x float

First component of the value to assign

y float

Second component of the value to assign

z float

Third component of the value to assign

Meta