UniformValue class

Instance of a uniform value. Represented by a ByteBuffer.

The [] operator can be used to set the raw data of a field. If the data is different from the last set it will recalculated the resource.

Inheritance

Constructors

UniformValue(UniformSlot slot)
Instance of a uniform value. Represented by a ByteBuffer.

Properties

hashCode int
The hash code for this object.
no setterinherited
resource ByteBuffer?
The resource data.
getter/setter pairinherited-setteroverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot UniformSlot
The slot this instance belongs too.
finalinherited

Methods

bind(GraphicsDevice device) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) List<double>?
operator []=(String key, List<double> data) → void