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