[−][src]Trait amethyst_rendy::rendy::graph::NodeBuilder
Dynamic node builder that emits DynNode
.
Required methods
fn family(
&self,
factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
&self,
factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> 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(
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, 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, QueueType>]
) -> Option<FamilyId>
[src]
&self,
factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build(
self: Box<PresentBuilder<B>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
_queue: usize,
_aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
[src]
self: Box<PresentBuilder<B>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
_queue: usize,
_aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
impl<B, T> NodeBuilder<B, T> for RenderPassNodeBuilder<B, T> where
B: Backend,
T: 'static + ?Sized,
[src]
B: Backend,
T: 'static + ?Sized,
fn family(
&self,
_factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
[src]
&self,
_factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build(
self: Box<RenderPassNodeBuilder<B, T>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
[src]
self: Box<RenderPassNodeBuilder<B, T>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
impl<B, T, N> NodeBuilder<B, T> for DescBuilder<B, T, N> where
B: Backend,
N: NodeDesc<B, T>,
T: ?Sized,
[src]
B: Backend,
N: NodeDesc<B, T>,
T: ?Sized,
fn family(
&self,
_factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
[src]
&self,
_factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build(
self: Box<DescBuilder<B, T, N>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
[src]
self: Box<DescBuilder<B, T, N>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>