Shader.setParameter

Change a matrix 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 4x4 matrix (mat4 GLSL type)

transform
Type: Transform

Transform to assign

Meta