Enum gfx::pso::InitError [] [src]

pub enum InitError {
    VertexImport(AttributeSlot, Option<Format>),
    ConstantBuffer(ConstantBufferSlot, Option<()>),
    GlobalConstant(LocationOption<()>),
    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(LocationOption<()>)

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 Debug for InitError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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 !=.

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 Display for InitError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for InitError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more