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