Shader.setUniform

Specify value for float uniform.

Parameters

name
Type: const(char)[]

Name of the uniform variable in GLSL

x
Type: float

Value of the float scalar

Meta