DataRenderStep class final

A render step a data plugin adds: a full-screen stage per backend at an anchor. See RuntimeRenderStep, which it becomes.

Constructors

DataRenderStep({required String name, required String anchor, required Map<String, String> shaders, bool present = false, List<String> needs = const <String>[], List<String> after = const <String>[], List<String> before = const <String>[]})
A step named name at anchor, drawn by shaders; by default over the scene's light, with no needs and no ordering.
const

Properties

after → List<String>
Other nodes at anchor it goes after, by name.
final
anchor → String
The anchor the step is placed at, by name: one of the engine's (after bloom), or one another plugin added to the renderer (RendererSteps.addAnchor). A name, not a RenderAnchor, because a plugin's anchor is the renderer's, and the document is read before there is one; it is resolved with RendererSteps.anchorNamed when the plugin is installed.
final
before → List<String>
Other nodes at anchor it goes before, by name.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name without the plugin's prefix.
final
needs → List<String>
Built-in steps it cannot run without, by name: bloom. Empty by default.
final
present → bool
Whether the step draws over the finished picture, after tone mapping, rather than over the scene's light before it. False by default.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shaders → Map<String, String>
The stage's source file, by backend.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The entry as written in the document's renderSteps list; present and the empty lists are left out.
toString() → String
A string representation of this object.
inherited

Operators

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