[go: up one dir, main page]

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

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

A service trait implemented by the "init" structure of PSO.

Associated Types

The associated "meta" struct.

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.

Implementors