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

pub enum InitError<S> {
    VertexImport(S, Option<Format>),
    ConstantBuffer(S, Option<ElementError<S>>),
    GlobalConstant(S, Option<()>),
    ResourceView(S, Option<()>),
    UnorderedView(S, Option<()>),
    Sampler(S, Option<()>),
    PixelExport(S, Option<Format>),
}

Failure to initilize the link between the shader and the data.

Variants

Vertex attribute mismatch.

Constant buffer mismatch.

Global constant mismatch.

Shader resource view mismatch.

Unordered access view mismatch.

Sampler mismatch.

Pixel target mismatch.

Trait Implementations

impl<S: Clone> Clone for InitError<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: PartialEq> PartialEq for InitError<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<S: Debug> Debug for InitError<S>
[src]

Formats the value using the given formatter.

impl<'a> From<InitError<&'a str>> for InitError<String>
[src]

Performs the conversion.

impl<S: Debug + Display> Display for InitError<S>
[src]

Formats the value using the given formatter.

impl<S: Debug + Display> Error for InitError<S>
[src]

A short description of the error. Read more

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