Struct amethyst_renderer::pipe::StageBuilder
[−]
pub struct StageBuilder { /* fields omitted */ }
Constructs a new rendering stage.
Methods
impl StageBuilder
[src]
fn new<T: Into<String>>(target_name: T) -> Self
Creates a new StageBuilder
using the given target.
fn clear_target<R, C, D>(self, color_val: C, depth_val: D) -> Self where
R: Into<[f32; 4]>,
C: Into<Option<R>>,
D: Into<Option<f32>>,
R: Into<[f32; 4]>,
C: Into<Option<R>>,
D: Into<Option<f32>>,
Clears the stage's target.
fn with_model_pass<P: Pass + 'static>(self, pass: P) -> Self
Appends another Pass
to the stage.
fn enabled(self, val: bool) -> Self
Sets whether the Stage
is turned on by default.
Trait Implementations
impl Clone for StageBuilder
[src]
fn clone(&self) -> Self
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