Trait amethyst_renderer::pipe::PolyPipeline [−][src]
pub trait PolyPipeline: for<'a> PipelineData<'a> { fn apply<'a, 'b: 'a>(
&'a mut self,
encoder: &mut Encoder,
factory: Factory,
data: Self::Data
); fn new_targets(&mut self, new_targets: HashMap<String, Target>); fn targets(&self) -> &HashMap<String, Target>; }
Trait used for the pipeline.
Required Methods
fn apply<'a, 'b: 'a>(
&'a mut self,
encoder: &mut Encoder,
factory: Factory,
data: Self::Data
)
&'a mut self,
encoder: &mut Encoder,
factory: Factory,
data: Self::Data
)
Retuns ParallelIterator
which apply data to all stages
fn new_targets(&mut self, new_targets: HashMap<String, Target>)
Resizes the pipeline targets
fn targets(&self) -> &HashMap<String, Target>
Returns an immutable reference to all targets and their name strings.
Implementors
impl<L> PolyPipeline for Pipeline<L> where
L: PolyStages,