Struct amethyst_renderer::pipe::Init [−][src]
pub struct Init<'d> { pub const_bufs: Vec<<RawConstantBuffer as DataLink<'d>>::Init>, pub globals: Vec<<RawGlobal as DataLink<'d>>::Init>, pub out_colors: Vec<<RenderTarget<(R8_G8_B8_A8, Unorm)> as DataLink<'d>>::Init>, pub out_blends: Vec<<BlendTarget<(R8_G8_B8_A8, Unorm)> as DataLink<'d>>::Init>, pub out_depth: Option<<DepthStencilTarget<DepthStencil> as DataLink<'d>>::Init>, pub samplers: Vec<<Sampler as DataLink<'d>>::Init>, pub textures: Vec<<RawShaderResource as DataLink<'d>>::Init>, pub vertex_bufs: Vec<<RawVertexBuffer as DataLink<'d>>::Init>, }
FIXME: Cannot Deserialize
for some reason.
Fields
const_bufs: Vec<<RawConstantBuffer as DataLink<'d>>::Init>
globals: Vec<<RawGlobal as DataLink<'d>>::Init>
out_colors: Vec<<RenderTarget<(R8_G8_B8_A8, Unorm)> as DataLink<'d>>::Init>
out_blends: Vec<<BlendTarget<(R8_G8_B8_A8, Unorm)> as DataLink<'d>>::Init>
out_depth: Option<<DepthStencilTarget<DepthStencil> as DataLink<'d>>::Init>
samplers: Vec<<Sampler as DataLink<'d>>::Init>
textures: Vec<<RawShaderResource as DataLink<'d>>::Init>
vertex_bufs: Vec<<RawVertexBuffer as DataLink<'d>>::Init>
Trait Implementations
impl<'d> Clone for Init<'d>
[src]
impl<'d> Clone for Init<'d>
fn clone(&self) -> Init<'d>
[src]
fn clone(&self) -> Init<'d>
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<'d> Debug for Init<'d>
[src]
impl<'d> Debug for Init<'d>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'d> Default for Init<'d>
[src]
impl<'d> Default for Init<'d>
impl<'d> Eq for Init<'d>
[src]
impl<'d> Eq for Init<'d>
impl<'d> Hash for Init<'d>
[src]
impl<'d> Hash for Init<'d>
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<'d> PartialEq for Init<'d>
[src]
impl<'d> PartialEq for Init<'d>
fn eq(&self, other: &Init<'d>) -> bool
[src]
fn eq(&self, other: &Init<'d>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Init<'d>) -> bool
[src]
fn ne(&self, other: &Init<'d>) -> bool
This method tests for !=
.
impl<'d> PipelineInit for Init<'d>
[src]
impl<'d> PipelineInit for Init<'d>
type Meta = Meta
The associated "meta" struct.
fn link_to<'r>(
&self,
desc: &mut Descriptor,
info: &'r ProgramInfo
) -> Result<Meta, InitError<&'r str>>
[src]
fn link_to<'r>(
&self,
desc: &mut Descriptor,
info: &'r ProgramInfo
) -> Result<Meta, InitError<&'r 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