Shader.setUniform

Specify value for int uniform.

Parameters

name
Type: const(char)[]

Name of the uniform variable in GLSL

x
Type: int

Value of the int scalar

Meta