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

Variables

value:Float

The value that can be changed at runtime

read onlyname:String

The identifier to be used within shadercode