FakeShaderLibrary class final
A bundle that has every stage anybody asks for, except the ones it is told to withhold.
Withholding matters: ParticleContributor draws nothing when its stages are
missing, and that path had never been exercised.
- Implemented types
Constructors
-
FakeShaderLibrary({Set<
String> missing = const <String>{}, Map<String, StageBindings> ? stageBindings})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
missing
→ Set<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stageBindings
→ Map<
String, StageBindings> ? -
Handed to every stage as
ShaderHandle.kept, the way a real backend hands the compiled bundle's table —gfx-92n.final
Methods
-
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 name) → ShaderHandle? -
The stage called
name, or null if the bundle has none.override