[][src]Struct bevy_render::render_graph::RenderGraph

pub struct RenderGraph { /* fields omitted */ }

Implementations

impl RenderGraph[src]

pub fn add_node<T>(
    &mut self,
    name: impl Into<Cow<'static, str>>,
    node: T
) -> NodeId where
    T: Node
[src]

pub fn add_system_node<T>(
    &mut self,
    name: impl Into<Cow<'static, str>>,
    node: T
) -> NodeId where
    T: SystemNode + 'static, 
[src]

pub fn get_node_state(
    &self,
    label: impl Into<NodeLabel>
) -> Result<&NodeState, RenderGraphError>
[src]

pub fn get_node_state_mut(
    &mut self,
    label: impl Into<NodeLabel>
) -> Result<&mut NodeState, RenderGraphError>
[src]

pub fn get_node_id(
    &self,
    label: impl Into<NodeLabel>
) -> Result<NodeId, RenderGraphError>
[src]

pub fn get_node<T>(
    &self,
    label: impl Into<NodeLabel>
) -> Result<&T, RenderGraphError> where
    T: Node
[src]

pub fn get_node_mut<T>(
    &mut self,
    label: impl Into<NodeLabel>
) -> Result<&mut T, RenderGraphError> where
    T: Node
[src]

pub fn add_slot_edge(
    &mut self,
    output_node: impl Into<NodeLabel>,
    output_slot: impl Into<SlotLabel>,
    input_node: impl Into<NodeLabel>,
    input_slot: impl Into<SlotLabel>
) -> Result<(), RenderGraphError>
[src]

pub fn add_node_edge(
    &mut self,
    output_node: impl Into<NodeLabel>,
    input_node: impl Into<NodeLabel>
) -> Result<(), RenderGraphError>
[src]

pub fn validate_edge(&mut self, edge: &Edge) -> Result<(), RenderGraphError>[src]

pub fn has_edge(&self, edge: &Edge) -> bool[src]

pub fn take_schedule(&mut self) -> Option<Schedule>[src]

pub fn set_schedule(&mut self, schedule: Schedule)[src]

pub fn iter_nodes(&self) -> impl Iterator<Item = &NodeState>[src]

pub fn iter_nodes_mut(&mut self) -> impl Iterator<Item = &mut NodeState>[src]

pub fn iter_node_inputs(
    &self,
    label: impl Into<NodeLabel>
) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError>
[src]

pub fn iter_node_outputs(
    &self,
    label: impl Into<NodeLabel>
) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError>
[src]

pub fn take_commands(&mut self) -> Commands[src]

Trait Implementations

impl BaseRenderGraphBuilder for RenderGraph[src]

impl Debug for RenderGraph[src]

impl Default for RenderGraph[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T> FromResources for T where
    T: Default
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: 'static + Send + Sync
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,