[][src]Trait amethyst_rendy::rendy::graph::DynNode

pub trait DynNode<B, T>: Send + Sync + Debug where
    B: Backend,
    T: ?Sized
{ unsafe fn run(
        &mut self,
        ctx: &GraphContext<B>,
        factory: &Factory<B>,
        queue: &mut Queue<B>,
        aux: &T,
        frames: &Frames<B>,
        waits: &[(&'a <B as Backend>::Semaphore, PipelineStage)],
        signals: &[&'a <B as Backend>::Semaphore],
        fence: Option<&mut Fence<B>>
    );
unsafe fn dispose(self: Box<Self>, factory: &mut Factory<B>, aux: &T); }

Trait-object safe Node.

Required methods

unsafe fn run(
    &mut self,
    ctx: &GraphContext<B>,
    factory: &Factory<B>,
    queue: &mut Queue<B>,
    aux: &T,
    frames: &Frames<B>,
    waits: &[(&'a <B as Backend>::Semaphore, PipelineStage)],
    signals: &[&'a <B as Backend>::Semaphore],
    fence: Option<&mut Fence<B>>
)

Record commands required by node. Recorded buffers go into submits.

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

Dispose of the node.

Safety

Must be called after waiting for device idle.

Loading content...

Implementations on Foreign Types

impl<B, T, N> DynNode<B, T> for (N,) where
    B: Backend,
    N: Node<B, T>,
    T: ?Sized
[src]

Loading content...

Implementors

impl<B, T> DynNode<B, T> for PresentNode<B> where
    B: Backend,
    T: ?Sized
[src]

Loading content...