Module render_graph

Source

Structs§

Edges
A collection of input and output Edges for a Node.
EmptyNode
A Node without any inputs, outputs and subgraphs, which does nothing when run. Used (as a label) to bundle multiple dependencies into one inside the RenderGraph.
GraphInput
The label for the input node of a graph. Used to connect other nodes to it.
GraphInputNode
A Node which acts as an entry point for a RenderGraph with custom inputs. It has the same input and output slots and simply copies them over when run.
NodeState
The internal representation of a Node, with all data required by the RenderGraph.
RenderGraph
The render graph configures the modular and re-usable render logic.
RenderGraphContext
The context with all graph information required to run a Node. This context is created for each node by the render graph runner.
RunGraphOnViewNode
A RenderGraph Node that runs the configured subgraph once. This makes it easier to insert sub-graph runs into a graph.
RunSubGraph
A command that signals the graph runner to run the sub graph corresponding to the sub_graph with the specified inputs next.
SlotInfo
The internal representation of a slot, which specifies its SlotType and name.
SlotInfos
A collection of input or output SlotInfos for a NodeState.
ViewNodeRunner
This Node can be used to run any ViewNode. It will take care of updating the view query in update() and running the query in run().

Enums§

Edge
An edge, which connects two Nodes in a RenderGraph.
EdgeExistence
InputSlotError
NodeRunError
OutputSlotError
RenderGraphError
RunSubGraphError
SlotLabel
A SlotLabel is used to reference a slot by either its name or index inside the RenderGraph.
SlotType
Describes the render resources created (output) or used (input) by the render Nodes.
SlotValue
A value passed between render Nodes. Corresponds to the SlotType specified in the RenderGraph.

Traits§

DynEq
An object safe version of Eq. This trait is automatically implemented for any 'static type that implements Eq.
IntoRenderNodeArray
Node
A render node that can be added to a RenderGraph.
RenderGraphApp
Adds common RenderGraph operations to SubApp (and App).
RenderLabel
A strongly-typed class of labels used to identify a Node in a render graph.
RenderSubGraph
A strongly-typed class of labels used to identify a [SubGraph] in a render graph.
ViewNode
This trait should be used instead of the Node trait when making a render node that runs on a view.

Type Aliases§

InternedRenderLabel
A shorthand for Interned<dyn RenderLabel>.
InternedRenderSubGraph
A shorthand for Interned<dyn RenderSubGraph>.

Derive Macros§

RenderLabel
Derive macro generating an impl of the trait RenderLabel.
RenderSubGraph
Derive macro generating an impl of the trait RenderSubGraph.