Struct nuklear_backend_gfx::pipe::Init
[−]
pub struct Init<'a> { pub vbuf: VertexBuffer<Vertex>::Init, pub proj: Global<[[f32; 4]; 4]>::Init, pub tex: TextureSampler<[f32; 4]>::Init, pub output: BlendTarget<ColorFormat>::Init, pub scissors: Scissor::Init, }
Fields
vbuf: VertexBuffer<Vertex>::Init
proj: Global<[[f32; 4]; 4]>::Init
tex: TextureSampler<[f32; 4]>::Init
output: BlendTarget<ColorFormat>::Init
scissors: Scissor::Init
Trait Implementations
impl<'a> PipelineInit for Init<'a>
type Meta = Meta
The associated "meta" struct.
fn link_to(&self, desc: &mut Descriptor, info: &ProgramInfo) -> Result<Self::Meta, InitError>
Attempt to map a PSO descriptor to a give shader program, represented by ProgramInfo
. Returns an instance of the "meta" struct upon successful mapping. Read more