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

VertexImport(AttributeSlotOption<Format>)

Vertex attribute mismatch.

ConstantBuffer(ConstantBufferSlotOption<()>)

Constant buffer mismatch.

GlobalConstant(LocationOption<()>)

Global constant mismatch.

ResourceView(ResourceViewSlotOption<()>)

Shader resource view mismatch.

UnorderedView(UnorderedViewSlotOption<()>)

Unordered access view mismatch.

Sampler(SamplerSlotOption<()>)

Sampler mismatch.

PixelExport(ColorSlotOption<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