Shader.setUniform

Specify value for int uniform.

Parameters

name const(char)[]

Name of the uniform variable in GLSL

x int

Value of the int scalar

Meta