RenderStepRegistry class abstract base

Render steps, anchored to the engine's passes. Filled by the renderer.

The slot, not the whole of it. A render step is a switch over the renderer's settings and a node is a pass in its frame graph, and neither type can be named in the contract, which stands on the foundation alone. So the renderer in flutter3d_core fills this slot with RendererSteps, which adds addStep and addNode(node, at: anchor), and a plugin that draws asks for that type: host.registry<RendererSteps>(). What this interface carries is what holds without the renderer's types: the places a node may go, anchors.

An engine gets one by handing its renderer's registry to the plugin host among its registries: EngineLoop(registries: [renderer.renderSteps]).

Inheritance

Constructors

RenderStepRegistry()
For the renderer's registry, which extends this.
const

Properties

anchors → List<RenderAnchor>
Where a plugin's node may go, in the order the frame meets them — RenderAnchor.values for this engine.
no setter
companions → Iterable<PluginRegistry>
The registries that come with this one, found by PluginHost.registry as if each had been handed to the host itself.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
nodeNames → List<String>
The name of every node placed through this registry and its plugins' views, at every anchor, in the order the frame meets them; the engine's own passes are not among them. What the conformance suite reads to know whether a plugin draws. Empty unless the renderer says.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

forPlugin(PluginScope scope) → PluginRegistry
This registry as scope's plugin sees it: everything registered through the result is tracked by scope, ranked by it, and checked against its manifest. Must return the same type the registry is looked up by.
inherited
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