UniformSampler class
Instance of a uniform sampler. Represented by a Texture.
- Inheritance
-
- Object
- Resource<
Texture?> - UniformInstance<
void, Texture> - UniformSampler
Constructors
- UniformSampler.new(UniformSlot slot)
- Instance of a uniform sampler. Represented by a Texture.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- recreateResource ↔ bool
-
getter/setter pairinherited
- resource → Texture?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → UniformSlot
-
The slot this instance belongs too.
finalinherited
- texture ↔ Texture?
-
getter/setter pair
Methods
-
bind(
GraphicsDevice device) → void -
override
-
createResource(
) → Texture -
override
-
makeKey(
int? index, String? field) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
void key, Texture value) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited