Struct amethyst_renderer::Pipeline [−][src]
pub struct Pipeline<L> { /* fields omitted */ }
Defines how the rendering pipeline should be configured.
Methods
impl Pipeline<List<()>>
[src]
impl Pipeline<List<()>>
pub fn build() -> PipelineBuilder<Queue<()>>
[src]
pub fn build() -> PipelineBuilder<Queue<()>>
Builds a new renderer pipeline.
impl<L> Pipeline<L>
[src]
impl<L> Pipeline<L>
pub fn targets(&self) -> &HashMap<String, Target>
[src]
pub fn targets(&self) -> &HashMap<String, Target>
Returns an immutable reference to all targets and their name strings.
Trait Implementations
impl<L: Clone> Clone for Pipeline<L>
[src]
impl<L: Clone> Clone for Pipeline<L>
fn clone(&self) -> Pipeline<L>
[src]
fn clone(&self) -> Pipeline<L>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<L: Debug> Debug for Pipeline<L>
[src]
impl<L: Debug> Debug for Pipeline<L>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, L> PipelineData<'a> for Pipeline<L> where
L: PolyStages,
[src]
impl<'a, L> PipelineData<'a> for Pipeline<L> where
L: PolyStages,
type Data = <L as StagesData<'a>>::Data
The data itself
impl<L> PolyPipeline for Pipeline<L> where
L: PolyStages,
[src]
impl<L> PolyPipeline for Pipeline<L> where
L: PolyStages,
fn apply<'a, 'b: 'a>(
&'a mut self,
encoders: &mut Encoder,
factory: Factory,
data: <L as StagesData<'b>>::Data
)
[src]
fn apply<'a, 'b: 'a>(
&'a mut self,
encoders: &mut Encoder,
factory: Factory,
data: <L as StagesData<'b>>::Data
)
Retuns ParallelIterator
which apply data to all stages
fn new_targets(&mut self, new_targets: HashMap<String, Target>)
[src]
fn new_targets(&mut self, new_targets: HashMap<String, Target>)
Resizes the pipeline targets
fn targets(&self) -> &HashMap<String, Target>
[src]
fn targets(&self) -> &HashMap<String, Target>
Returns an immutable reference to all targets and their name strings.