[][src]Trait amethyst_rendy::rendy::graph::render::RenderGroup

pub trait RenderGroup<B, T>: Send + Sync + Debug where
    B: Backend,
    T: ?Sized
{ fn prepare(
        &mut self,
        factory: &Factory<B>,
        queue: QueueId,
        index: usize,
        subpass: Subpass<B>,
        aux: &T
    ) -> PrepareResult;
fn draw_inline(
        &mut self,
        encoder: RenderPassEncoder<B>,
        index: usize,
        subpass: Subpass<B>,
        aux: &T
    );
fn dispose(self: Box<Self>, factory: &mut Factory<B>, aux: &T); }

One or more graphics pipelines to be called in subpass.

Required methods

fn prepare(
    &mut self,
    factory: &Factory<B>,
    queue: QueueId,
    index: usize,
    subpass: Subpass<B>,
    aux: &T
) -> PrepareResult

Prepare resources and data for rendering.

fn draw_inline(
    &mut self,
    encoder: RenderPassEncoder<B>,
    index: usize,
    subpass: Subpass<B>,
    aux: &T
)

Record commands.

fn dispose(self: Box<Self>, factory: &mut Factory<B>, aux: &T)

Free all resources and destroy group instance.

Loading content...

Implementors

impl<B, T, P> RenderGroup<B, T> for SimpleRenderGroup<B, P> where
    B: Backend,
    P: SimpleGraphicsPipeline<B, T>,
    T: ?Sized
[src]

impl<B: Backend> RenderGroup<B, World> for DrawDebugLines<B>[src]

impl<B: Backend> RenderGroup<B, World> for DrawFlat2D<B>[src]

impl<B: Backend> RenderGroup<B, World> for DrawFlat2DTransparent<B>[src]

impl<B: Backend> RenderGroup<B, World> for DrawSkybox<B>[src]

impl<B: Backend, T: Base3DPassDef> RenderGroup<B, World> for DrawBase3D<B, T>[src]

impl<B: Backend, T: Base3DPassDef> RenderGroup<B, World> for DrawBase3DTransparent<B, T>[src]

Loading content...