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