[−][src]Trait rendy_graph::render::RenderGroupDesc
Descriptor for render group
Required methods
fn build<'a>(
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>>, CreationError>
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>>, CreationError>
Build render group.
Provided methods
fn builder(self) -> DescBuilder<B, T, Self> where
Self: Sized,
Self: Sized,
Make render group builder.
fn buffers(&self) -> Vec<BufferAccess>
Get buffers used by the group. Empty by default.
fn images(&self) -> Vec<ImageAccess>
Get images used by the group. Empty by default.
fn colors(&self) -> usize
Number of color output images. One by default.
fn depth(&self) -> bool
Is depth image used. True by default.
Implementors
impl<B, T, P> RenderGroupDesc<B, T> for SimpleRenderGroupDesc<P> where
B: Backend,
T: ?Sized,
P: SimpleGraphicsPipelineDesc<B, T>,
[src]
B: Backend,
T: ?Sized,
P: SimpleGraphicsPipelineDesc<B, T>,
fn buffers(&self) -> Vec<BufferAccess>
[src]
fn images(&self) -> Vec<ImageAccess>
[src]
fn colors(&self) -> usize
[src]
fn depth(&self) -> bool
[src]
fn build<'a>(
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>>, CreationError>
[src]
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>>, CreationError>