Trait gfx::pso::PipelineInit[][src]

pub trait PipelineInit {
    type Meta;
    fn link_to<'s>(
        &self,
        _: &mut Descriptor,
        _: &'s ProgramInfo
    ) -> Result<Self::Meta, InitError<&'s str>>; }

A service trait implemented by the “init” structure of PSO.

Associated Types

type Meta[src]

The associated “meta” struct.

Loading content...

Required methods

Attempt to map a PSO descriptor to a give shader program, represented by ProgramInfo. Returns an instance of the “meta” struct upon successful mapping.

Loading content...

Implementors

Loading content...