Module bevy::render::render_graph
source · Structs§
- A
Nodewithout 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
Nodewhich acts as an entry point for aRenderGraphwith 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 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
RenderGraphNodethat 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_graphwith the specifiedinputsnext. - The internal representation of a slot, which specifies its
SlotTypeand name.
Enums§
- An edge, which connects two
Nodesin aRenderGraph. - A
SlotLabelis 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'statictype that implementsEq. - A render node that can be added to a
RenderGraph. - A strongly-typed class of labels used to identify a
Nodein 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
Nodetrait 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.