[][src]Trait rendy_graph::DynNode

pub trait DynNode<B: Backend, T: ?Sized>: Debug + Sync + Send {
    unsafe fn run<'a>(
        &mut self,
        ctx: &GraphContext<B>,
        factory: &Factory<B>,
        queue: &mut Queue<B>,
        aux: &T,
        frames: &Frames<B>,
        waits: &[(&'a B::Semaphore, PipelineStage)],
        signals: &[&'a B::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<'a>(
    &mut self,
    ctx: &GraphContext<B>,
    factory: &Factory<B>,
    queue: &mut Queue<B>,
    aux: &T,
    frames: &Frames<B>,
    waits: &[(&'a B::Semaphore, PipelineStage)],
    signals: &[&'a B::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,
    T: ?Sized,
    N: Node<B, T>, 
[src]

Loading content...

Implementors

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

Loading content...