Shader.setParameter

Change a float 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 float (float GLSL type).

x float

Value to assign

Meta