Initializes a new uniform object that holds a floating-point number.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The name used to identify the uniform variable; you use this name inside your shader to read the uniform variable’s value.
The initial floating-point value for the uniform variable.
An initialized uniform object whose type is set to