Struct amethyst_renderer::pass::forward::Clear
[−]
[src]
pub struct Clear;
Handles clearing the screen
Trait Implementations
impl<R> Pass<R> for Clear where
R: Resources,
[src]
R: Resources,
type Arg = Clear
The argument required for the Pass
type Target = ColorBuffer<R>
The render Target
fn apply<C>(
&self,
arg: &Clear,
target: &ColorBuffer<R>,
_: &Pipeline,
_: &Scene<R>,
encoder: &mut Encoder<R, C>
) where
C: CommandBuffer<R>,
&self,
arg: &Clear,
target: &ColorBuffer<R>,
_: &Pipeline,
_: &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