[−][src]Struct bevy_render::render_graph::RenderGraph
Implementations
impl RenderGraph
[src]
pub fn add_node<T>(
&mut self,
name: impl Into<Cow<'static, str>>,
node: T
) -> NodeId where
T: Node,
[src]
&mut self,
name: impl Into<Cow<'static, str>>,
node: T
) -> NodeId where
T: Node,
pub fn add_system_node<T>(
&mut self,
name: impl Into<Cow<'static, str>>,
node: T
) -> NodeId where
T: SystemNode + 'static,
[src]
&mut self,
name: impl Into<Cow<'static, str>>,
node: T
) -> NodeId where
T: SystemNode + 'static,
pub fn get_node_state(
&self,
label: impl Into<NodeLabel>
) -> Result<&NodeState, RenderGraphError>
[src]
&self,
label: impl Into<NodeLabel>
) -> Result<&NodeState, RenderGraphError>
pub fn get_node_state_mut(
&mut self,
label: impl Into<NodeLabel>
) -> Result<&mut NodeState, RenderGraphError>
[src]
&mut self,
label: impl Into<NodeLabel>
) -> Result<&mut NodeState, RenderGraphError>
pub fn get_node_id(
&self,
label: impl Into<NodeLabel>
) -> Result<NodeId, RenderGraphError>
[src]
&self,
label: impl Into<NodeLabel>
) -> Result<NodeId, RenderGraphError>
pub fn get_node<T>(
&self,
label: impl Into<NodeLabel>
) -> Result<&T, RenderGraphError> where
T: Node,
[src]
&self,
label: impl Into<NodeLabel>
) -> Result<&T, RenderGraphError> where
T: Node,
pub fn get_node_mut<T>(
&mut self,
label: impl Into<NodeLabel>
) -> Result<&mut T, RenderGraphError> where
T: Node,
[src]
&mut self,
label: impl Into<NodeLabel>
) -> Result<&mut T, RenderGraphError> where
T: Node,
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]
&mut self,
output_node: impl Into<NodeLabel>,
output_slot: impl Into<SlotLabel>,
input_node: impl Into<NodeLabel>,
input_slot: impl Into<SlotLabel>
) -> Result<(), RenderGraphError>
pub fn add_node_edge(
&mut self,
output_node: impl Into<NodeLabel>,
input_node: impl Into<NodeLabel>
) -> Result<(), RenderGraphError>
[src]
&mut self,
output_node: impl Into<NodeLabel>,
input_node: impl Into<NodeLabel>
) -> Result<(), RenderGraphError>
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]
&self,
label: impl Into<NodeLabel>
) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError>
pub fn iter_node_outputs(
&self,
label: impl Into<NodeLabel>
) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError>
[src]
&self,
label: impl Into<NodeLabel>
) -> Result<impl Iterator<Item = (&Edge, &NodeState)>, RenderGraphError>
pub fn take_commands(&mut self) -> Commands
[src]
Trait Implementations
impl BaseRenderGraphBuilder for RenderGraph
[src]
fn add_base_graph(
&mut self,
config: &BaseRenderGraphConfig,
msaa: &Msaa
) -> &mut Self
[src]
&mut self,
config: &BaseRenderGraphConfig,
msaa: &Msaa
) -> &mut Self
impl Debug for RenderGraph
[src]
impl Default for RenderGraph
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RenderGraph
impl Send for RenderGraph
impl Sync for RenderGraph
impl Unpin for RenderGraph
impl !UnwindSafe for RenderGraph
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T> FromResources for T where
T: Default,
[src]
T: Default,
fn from_resources(_resources: &Resources) -> T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: 'static + Send + Sync,
[src]
T: 'static + Send + Sync,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,