[−][src]Trait amethyst_rendy::rendy::graph::render::RenderGroupBuilder
Builder fror render group.
Required methods
fn colors(&self) -> usize
Number of color output images.
fn depth(&self) -> bool
Is depth image used.
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
Get buffers used by the group
fn images(&self) -> Vec<(ImageId, ImageAccess)>
Get images used by the group
fn dependencies(&self) -> Vec<NodeId>
Get nodes this group depends on.
fn build(
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
queue: QueueId,
aux: &T,
framebuffer_width: u32,
framebuffer_height: u32,
subpass: Subpass<B>,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn RenderGroup<B, T> + 'static>, Error>
self: Box<Self>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
queue: QueueId,
aux: &T,
framebuffer_width: u32,
framebuffer_height: u32,
subpass: Subpass<B>,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn RenderGroup<B, T> + 'static>, Error>
Build render group instance.
Provided methods
fn into_subpass(self) -> SubpassBuilder<B, T> where
Self: 'static,
Self: 'static,
Make subpass from render group.
Implementors
impl<B, T, D> RenderGroupBuilder<B, T> for DescBuilder<B, T, D> where
B: Backend,
D: RenderGroupDesc<B, T>,
T: ?Sized,
[src]
B: Backend,
D: RenderGroupDesc<B, T>,
T: ?Sized,
fn colors(&self) -> usize
[src]
fn depth(&self) -> bool
[src]
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, D>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
queue: QueueId,
aux: &T,
framebuffer_width: u32,
framebuffer_height: u32,
subpass: Subpass<B>,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn RenderGroup<B, T> + 'static>, Error>
[src]
self: Box<DescBuilder<B, T, D>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
queue: QueueId,
aux: &T,
framebuffer_width: u32,
framebuffer_height: u32,
subpass: Subpass<B>,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn RenderGroup<B, T> + 'static>, Error>