Enum gfx::pso::InitError
[−]
[src]
pub enum InitError { VertexImport(AttributeSlot, Option<Format>), ConstantBuffer(ConstantBufferSlot, Option<()>), GlobalConstant(Location, Option<()>), ResourceView(ResourceViewSlot, Option<()>), UnorderedView(UnorderedViewSlot, Option<()>), Sampler(SamplerSlot, Option<()>), PixelExport(ColorSlot, Option<Format>), }
Failure to initilize the link between the shader and the data.
Variants
VertexImport(AttributeSlot, Option<Format>)
Vertex attribute mismatch.
ConstantBuffer(ConstantBufferSlot, Option<()>)
Constant buffer mismatch.
GlobalConstant(Location, Option<()>)
Global constant mismatch.
ResourceView(ResourceViewSlot, Option<()>)
Shader resource view mismatch.
UnorderedView(UnorderedViewSlot, Option<()>)
Unordered access view mismatch.
Sampler(SamplerSlot, Option<()>)
Sampler mismatch.
PixelExport(ColorSlot, Option<Format>)
Pixel target mismatch.
Trait Implementations
impl Clone for InitError
[src]
fn clone(&self) -> InitError
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 PartialEq for InitError
[src]
fn eq(&self, __arg_0: &InitError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InitError) -> bool
This method tests for !=
.