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
fn enqueue(
&mut self,
_: &Mesh<R>,
_: &Slice<R>,
_: &M,
_: &V
) -> Result<bool, Error>
&mut self,
_: &Mesh<R>,
_: &Slice<R>,
_: &M,
_: &V
) -> Result<bool, Error>
Add an entity to the queue.
fn flush<S: Stream<R>>(&mut self, stream: &mut S) -> Result<(), FlushError>
Flush the queue into a given stream.