UniformInstance<K, T> class abstract

An instance of a UniformSlot that can cache the resource that will be bound to a Shader.

Inheritance
Implementers

Constructors

UniformInstance.new(UniformSlot slot)
An instance of a UniformSlot that can cache the resource that will be bound to a Shader.

Properties

hashCode int
The hash code for this object.
no setterinherited
recreateResource bool
getter/setter pairinherited
resource → T?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot UniformSlot
The slot this instance belongs too.
final

Methods

bind(GraphicsDevice device) → void
createResource() → T?
inherited
makeKey(int? index, String? field) → K
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(K key, T value) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited