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

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

Vertex attribute mismatch.

ConstantBuffer

Constant buffer mismatch.

GlobalConstant

Global constant mismatch.

ResourceView

Shader resource view mismatch.

UnorderedView

Unordered access view mismatch.

Sampler

Sampler mismatch.

PixelExport

Pixel target mismatch.

Trait Implementations

Derived Implementations

impl Debug for InitError

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

impl PartialEq for InitError

fn eq(&self, __arg_0: &InitError) -> bool

fn ne(&self, __arg_0: &InitError) -> bool

impl Clone for InitError

fn clone(&self) -> InitError

1.0.0fn clone_from(&mut self, source: &Self)