Trait amethyst_renderer::pass::Pass
[−]
[src]
pub trait Pass<R> where
R: Resources, { type Arg: PassDescription; type Target: Target; fn apply<C>(
&self,
arg: &Self::Arg,
target: &Self::Target,
pipeline: &Pipeline,
scene: &Scene<R>,
encoder: &mut Encoder<R, C>
)
where
C: CommandBuffer<R>; }
A Pass
is an implementation of a Pass
Associated Types
Required Methods
fn apply<C>(
&self,
arg: &Self::Arg,
target: &Self::Target,
pipeline: &Pipeline,
scene: &Scene<R>,
encoder: &mut Encoder<R, C>
) where
C: CommandBuffer<R>,
&self,
arg: &Self::Arg,
target: &Self::Target,
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
Implementors
impl<R> Pass<R> for amethyst_renderer::pass::forward::Clear where
R: Resources,impl<R> Pass<R> for DrawFlat<R> where
R: Resources,impl<R> Pass<R> for DrawShaded<R> where
R: Resources,impl<R> Pass<R> for Wireframe<R> where
R: Resources,impl<R> Pass<R> for amethyst_renderer::pass::deferred::Clear where
R: Resources,impl<R> Pass<R> for DrawPass<R> where
R: Resources,impl<R> Pass<R> for DepthPass<R> where
R: Resources,impl<R> Pass<R> for BlitLayer<R> where
R: Resources,impl<R> Pass<R> for LightingPass<R> where
R: Resources,