Set up a custom "uniform" that can be accessed within glsl shadercode.
Constructor
inlinenew(name:String, value:Float)
Creates a new UniformFloat instance.
Parameters:
name | identifier to be used within shadercode |
|---|---|
value | start value |