Struct amethyst_renderer::Stage
[−]
[src]
pub struct Stage<L> { /* fields omitted */ }
A stage in the rendering pipeline.
Methods
impl Stage<List<()>>
[src]
fn with_target<N: Into<String>>(target_name: N) -> StageBuilder<Queue<()>>
[src]
Builds a new PolyStage
which outputs to the Target
with the given name.
fn with_backbuffer() -> StageBuilder<Queue<()>>
[src]
Builds a new PolyStage
which outputs straight into the backbuffer.
impl<L> Stage<L>
[src]
fn enable(&mut self)
[src]
Enables the PolyStage
so it will execute on every frame.
fn disable(&mut self)
[src]
Disables the PolyStage
, preventing it from being executed on every frame.
fn is_enabled(&self) -> bool
[src]
Returns whether this PolyStage
is enabled.
Trait Implementations
impl<L: Clone> Clone for Stage<L>
[src]
fn clone(&self) -> Stage<L>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<L: Debug> Debug for Stage<L>
[src]
impl<L> PolyStage for Stage<L> where
L: Passes + Length,
[src]
L: Passes + Length,