[][src]Trait rendy::graph::render::RenderGroupDesc

pub trait RenderGroupDesc<B, T>: Debug where
    B: Backend,
    T: ?Sized
{ fn build(
        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>; fn builder(self) -> DescBuilder<B, T, Self> { ... }
fn buffers(&self) -> Vec<BufferAccess> { ... }
fn images(&self) -> Vec<ImageAccess> { ... }
fn colors(&self) -> usize { ... }
fn depth(&self) -> bool { ... } }

Descriptor for render group

Required methods

fn build(
    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.

Loading content...

Provided methods

fn builder(self) -> DescBuilder<B, T, Self>

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.

Loading content...

Implementors

impl<B, T, P> RenderGroupDesc<B, T> for SimpleRenderGroupDesc<P> where
    B: Backend,
    P: SimpleGraphicsPipelineDesc<B, T>,
    T: ?Sized
[src]

Loading content...