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

pub enum InitError<S> {
    VertexImport(S, Option<Format>),
    ConstantBuffer(S, Option<ElementError<S>>),
    GlobalConstant(S, Option<CompatibilityError>),
    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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

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

[src]

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

[src]

This method tests for !=.

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

[src]

Performs the conversion.

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

[src]

Formats the value using the given formatter. Read more

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

[src]

A short description of the error. Read more

[src]

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