Struct amethyst_renderer::pass::DepthPass
[−]
[src]
pub struct DepthPass { pub camera: String, pub scene: String, }
Render only the depth layer leaving all other Gbuffer layers unchanged
Fields
camera: String
The Camera to use
scene: String
The scene to use
Methods
impl DepthPass
[src]
fn new<A, B>(camera: A, scene: B) -> Box<PassDescription> where
String: From<A> + From<B>,
String: From<A> + From<B>,
Create a Boxed DepthPass
Trait Implementations
impl Clone for DepthPass
[src]
fn clone(&self) -> DepthPass
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