Struct amethyst_renderer::pass::deferred::LightingPass
[−]
[src]
pub struct LightingPass<R: Resources> { /* fields omitted */ }
Methods
impl<R: Resources> LightingPass<R>
[src]
fn new<F>(factory: &mut F) -> LightingPass<R> where
F: Factory<R>,
F: Factory<R>,
Trait Implementations
impl<R> Pass<R> for LightingPass<R> where
R: Resources,
[src]
R: Resources,
type Arg = Lighting
The argument required for the Pass
type Target = ColorBuffer<R>
The render Target
fn apply<C>(
&self,
arg: &Lighting,
target: &ColorBuffer<R>,
pipeline: &Pipeline,
scene: &Scene<R>,
encoder: &mut Encoder<R, C>
) where
C: CommandBuffer<R>,
&self,
arg: &Lighting,
target: &ColorBuffer<R>,
pipeline: &Pipeline,
scene: &Scene<R>,
encoder: &mut Encoder<R, C>
) where
C: CommandBuffer<R>,
encode the pass into the encoder using the supplied argument frame and render target Read more