Shader.setUniform

Specify value for vec2 uniform.

Parameters

name
Type: const(char)[]

Name of the uniform variable in GLSL

vector
Type: const(Vec2)

Value of the vec2 vector

Meta