Struct amethyst_renderer::pass::Lighting
[−]
[src]
pub struct Lighting { pub camera: String, pub gbuffer: String, pub scene: String, }
Do a lighting pass
Fields
camera: String
The Camera to use
gbuffer: String
The gbuffer to source the data
scene: String
the scene to get the lights from
Methods
impl Lighting
[src]
fn new<A, B, C>(camera: A, gbuffer: B, scene: C) -> Box<PassDescription> where
String: From<A> + From<B> + From<C>,
String: From<A> + From<B> + From<C>,
Box the Lighting Pass
Trait Implementations
impl Clone for Lighting
[src]
fn clone(&self) -> Lighting
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