[go: up one dir, main page]

PipelineInit

Trait PipelineInit 

Source
pub trait PipelineInit {
    type Meta;

    // Required method
    fn link_to<'s>(
        &self,
        _: &mut Descriptor,
        _: &'s ProgramInfo,
    ) -> Result<Self::Meta, InitError<&'s str>>;
}
Expand description

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

Required Associated Types§

Source

type Meta

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§