Trait gfx_phase::AbstractPhase [] [src]

pub trait AbstractPhase<R: Resources, M, V: ToDepth> {
    fn enqueue(
        &mut self,
        _: &Mesh<R>,
        _: &Slice<R>,
        _: &M,
        _: &V
    ) -> Result<bool, Error>; fn flush<S: Stream<R>>(&mut self, stream: &mut S) -> Result<(), FlushError>; }

An abstract rendering phase.

Required Methods

Add an entity to the queue.

Flush the queue into a given stream.

Implementors