Struct amethyst_renderer::pass::forward::DrawShaded
[−]
[src]
pub struct DrawShaded<R: Resources> { /* fields omitted */ }
Handles rendering fragments with shading
Methods
impl<R: Resources> DrawShaded<R>
[src]
fn new<F>(factory: &mut F) -> DrawShaded<R> where
R: Resources,
F: Factory<R>,
R: Resources,
F: Factory<R>,
Trait Implementations
impl<R> Pass<R> for DrawShaded<R> where
R: Resources,
[src]
R: Resources,
type Arg = DrawShaded
The argument required for the Pass
type Target = ColorBuffer<R>
The render Target
fn apply<C>(
&self,
_: &DrawShaded,
target: &ColorBuffer<R>,
_: &Pipeline,
scene: &Scene<R>,
encoder: &mut Encoder<R, C>
) where
C: CommandBuffer<R>,
&self,
_: &DrawShaded,
target: &ColorBuffer<R>,
_: &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