Struct imgui_gfx_renderer::pipe::Init [−]
pub struct Init<'a> { pub vertex_buffer: <VertexBuffer<ImDrawVert> as DataLink<'a>>::Init, pub matrix: <Global<[[f32; 4]; 4]> as DataLink<'a>>::Init, pub tex: <TextureSampler<[f32; 4]> as DataLink<'a>>::Init, pub out: <BlendTarget<Rgba8> as DataLink<'a>>::Init, pub scissor: <Scissor as DataLink<'a>>::Init, }
Fields
vertex_buffer: <VertexBuffer<ImDrawVert> as DataLink<'a>>::Init
matrix: <Global<[[f32; 4]; 4]> as DataLink<'a>>::Init
tex: <TextureSampler<[f32; 4]> as DataLink<'a>>::Init
out: <BlendTarget<Rgba8> as DataLink<'a>>::Init
scissor: <Scissor as DataLink<'a>>::Init
Trait Implementations
impl<'a> Clone for Init<'a>
impl<'a> Clone for Init<'a>
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for Init<'a>
impl<'a> Debug for Init<'a>
impl<'a> PartialEq for Init<'a>
impl<'a> PartialEq for Init<'a>
fn eq(&self, other: &Init<'a>) -> bool
fn eq(&self, other: &Init<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Init<'a>) -> bool
fn ne(&self, other: &Init<'a>) -> bool
This method tests for !=
.
impl<'a> PipelineInit for Init<'a>
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>>
fn link_to<'s>(
&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