[−][src]Trait rendy_graph::NodeBuilder
Dynamic node builder that emits DynNode
.
Required methods
fn family(
&self,
factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
&self,
factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
Pick family for this node to be executed onto.
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
Get buffer accessed by the node.
fn images(&self) -> Vec<(ImageId, ImageAccess)>
Get images accessed by the node.
fn dependencies(&self) -> Vec<NodeId>
Indices of nodes this one dependes on.
fn build<'a>(
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
Build node.
Implementors
impl<B, T> NodeBuilder<B, T> for PresentBuilder<B> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
fn family(
&self,
factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
[src]
&self,
factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build<'a>(
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
_queue: usize,
_aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
[src]
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
_queue: usize,
_aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
impl<B, T, N> NodeBuilder<B, T> for DescBuilder<B, T, N> where
B: Backend,
T: ?Sized,
N: NodeDesc<B, T>,
[src]
B: Backend,
T: ?Sized,
N: NodeDesc<B, T>,
fn family(
&self,
_factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
[src]
&self,
_factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build<'a>(
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
[src]
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
impl<B, T: ?Sized> NodeBuilder<B, T> for RenderPassNodeBuilder<B, T> where
B: Backend,
T: 'static,
[src]
B: Backend,
T: 'static,
fn family(
&self,
_factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
[src]
&self,
_factory: &mut Factory<B>,
families: &[Family<B>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build<'a>(
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>
[src]
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T>>, Error>