Shader.setParameter

Change a float parameter of the shader.

Parameters

name
Type: 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
Type: float

Value to assign

Meta