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