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>{}})
Properties
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