Struct nuklear_backend_gfx::pipe::Init
[−]
pub struct Init<'a> { pub vbuf: <VertexBuffer<Vertex> as DataLink<'a>>::Init, pub tex: <TextureSampler<[f32; 4]> as DataLink<'a>>::Init, pub output: <BlendTarget<ColorFormat> as DataLink<'a>>::Init, pub locals: <ConstantBuffer<Locals> as DataLink<'a>>::Init, pub scissors: <Scissor as DataLink<'a>>::Init, }
Fields
vbuf: <VertexBuffer<Vertex> as DataLink<'a>>::Init
tex: <TextureSampler<[f32; 4]> as DataLink<'a>>::Init
output: <BlendTarget<ColorFormat> as DataLink<'a>>::Init
locals: <ConstantBuffer<Locals> as DataLink<'a>>::Init
scissors: <Scissor as DataLink<'a>>::Init
Trait Implementations
impl<'a> Clone for Init<'a>
fn clone(&self) -> Init<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for Init<'a>
impl<'a> PartialEq for Init<'a>
fn eq(&self, __arg_0: &Init<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Init<'a>) -> bool
This method tests for !=
.
impl<'a> PipelineInit for Init<'a>
type Meta = Meta
The associated "meta" struct.
fn link_to<'s>(
&self,
desc: &mut Descriptor,
info: &'s ProgramInfo
) -> Result<Self::Meta, InitError<&'s str>>
&self,
desc: &mut Descriptor,
info: &'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. Read more