[−][src]Trait gfx::pso::PipelineInit
A service trait implemented by the "init" structure of PSO.
Associated Types
type Meta
The associated "meta" struct.
Required methods
fn link_to<'s>(
&self,
_: &mut Descriptor,
_: &'s ProgramInfo
) -> Result<Self::Meta, InitError<&'s str>>
&self,
_: &mut Descriptor,
_: &'s ProgramInfo
) -> Result<Self::Meta, InitError<&'s str>>
Attempt to map a PSO descriptor to a give shader program,
represented by ProgramInfo
. Returns an instance of the
"meta" struct upon successful mapping.