[−][src]Trait rendy_graph::Node
The node is building block of the framegraph.
Node defines set of resources and operations to perform over them.
Read-only data for operations comes from auxiliary data source T
.
Parameters
B
- backend type.
T
- auxiliary data type.
Associated Types
type Capability: Capability
Capability required by node. Graph will execute this node on command queue that supports this capability level.
Required methods
fn run<'a>(
&'a mut self,
ctx: &GraphContext<B>,
factory: &Factory<B>,
aux: &T,
frames: &'a Frames<B>
) -> Self::Submittables
&'a mut self,
ctx: &GraphContext<B>,
factory: &Factory<B>,
aux: &T,
frames: &'a Frames<B>
) -> Self::Submittables
Record commands required by node. Returned submits are guaranteed to be submitted within specified frame.