Module bevy::render::render_graph
source · Structs
- A
Node
without any inputs, outputs and subgraphs, which does nothing when run. Used (as a label) to bundle multiple dependencies into one inside theRenderGraph
. - The label for the input node of a graph. Used to connect other nodes to it.
- A
Node
which acts as an entry point for aRenderGraph
with custom inputs. It has the same input and output slots and simply copies them over when run. - The internal representation of a
Node
, with all data required by theRenderGraph
. - The render graph configures the modular, parallel and re-usable render logic. It is a retained and stateless (nodes themselves may have their own internal state) structure, which can not be modified while it is executed by the graph runner.
- The context with all graph information required to run a
Node
. This context is created for each node by theRenderGraphRunner
. - A
RenderGraph
Node
that runs the configured subgraph once. This makes it easier to insert sub-graph runs into a graph. - A command that signals the graph runner to run the sub graph corresponding to the
sub_graph
with the specifiedinputs
next. - The internal representation of a slot, which specifies its
SlotType
and name.
Enums
- An edge, which connects two
Nodes
in aRenderGraph
. - A
SlotLabel
is used to reference a slot by either its name or index inside theRenderGraph
. - Describes the render resources created (output) or used (input) by the render
Nodes
.
Traits
- An object safe version of
Eq
. This trait is automatically implemented for any'static
type that implementsEq
. - A render node that can be added to a
RenderGraph
. - Adds common
RenderGraph
operations toApp
. - A strongly-typed class of labels used to identify a
Node
in a render graph. - A strongly-typed class of labels used to identify a [
SubGraph
] in a render graph. - This trait should be used instead of the
Node
trait when making a render node that runs on a view.
Type Aliases
- A shorthand for
Interned<dyn RenderLabel>
. - A shorthand for
Interned<dyn RenderSubGraph>
.
Derive Macros
- Derive macro generating an impl of the trait
RenderLabel
. - Derive macro generating an impl of the trait
RenderSubGraph
.