Shader.setUniform

Specify value for float uniform.

Parameters

name const(char)[]

Name of the uniform variable in GLSL

x float

Value of the float scalar

Meta