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 From<InitError> for PipelineStateError[src]
impl Clone for InitError[src]
fn clone(&self) -> InitError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for InitError[src]
fn eq(&self, __arg_0: &InitError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &InitError) -> bool[src]
This method tests for !=.
impl Debug for InitError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for InitError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more