Shader.setUniform

Specify value for bool uniform.

Parameters

name
Type: const(char)[]

Name of the uniform variable in GLSL

x
Type: bool

Value of the bool scalar

Meta