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

pub enum InitError {
    VertexImport(AttributeSlotOption<Format>),
    ConstantBuffer(ConstantBufferSlotOption<()>),
    GlobalConstant(LocationOption<()>),
    ResourceView(ResourceViewSlotOption<()>),
    UnorderedView(UnorderedViewSlotOption<()>),
    Sampler(SamplerSlotOption<()>),
    PixelExport(ColorSlotOption<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 From<InitError> for PipelineStateError
[src]

[src]

Performs the conversion.

impl Clone for InitError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

impl Display for InitError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for InitError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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