Struct amethyst_renderer::pipe::Pipeline
[−]
pub struct Pipeline { /* fields omitted */ }
Defines how the rendering pipeline should be configured.
Methods
impl Pipeline
fn build() -> PipelineBuilder
Builds a new renderer pipeline.
fn deferred() -> PipelineBuilder
Builds a default deferred pipeline.
FIXME: Only generates a dummy pipeline for now.
fn forward<V>() -> PipelineBuilder where
V: 'static + VertexFormat + WithField<Position> + WithField<TextureCoord>,
V: 'static + VertexFormat + WithField<Position> + WithField<TextureCoord>,
Builds a default forward pipeline.
FIXME: Only generates a dummy pipeline for now.
fn enabled_stages(&self) -> Stages
Iterates over all enabled stages in the pipeline.
fn targets(&self) -> &HashMap<String, Target>
Returns an immutable reference to all targets and their name strings.
Trait Implementations
impl Clone for Pipeline
fn clone(&self) -> Pipeline
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more