Shader.setUniform

Specify value for bool uniform.

Parameters

name const(char)[]

Name of the uniform variable in GLSL

x bool

Value of the bool scalar

Meta