ShaderSpoilerDrawer class

Strategy for drawing particles using a custom shader.

Implemented types

Properties

hasContent bool
Returns true if the drawer has drawable content (e.g., particles).
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
particles List<Particle>
Exposes particle list if applicable (Atlas), otherwise empty.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
override
draw(Canvas canvas, SpoilerContext context) → 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
update(double dt) → void
override

Operators

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

Static Methods

create(String assetPath) Future<ShaderSpoilerDrawer>