Shader.setParameter

Change a 2-components vector 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 2x1 vector (vec2 GLSL type).

vector
Type: Vector2f

Vector to assign

Meta