Enum gfx::PipelineStateError [] [src]

pub enum PipelineStateError {
    Program(ProgramError),
    DescriptorInit(InitError),
    DeviceCreate(CreationError),
}

Error creating a PipelineState

Variants

Program(ProgramError)

Shader program failed to link.

DescriptorInit(InitError)

Unable to create PSO descriptor due to mismatched formats.

DeviceCreate(CreationError)

Device failed to create the handle give the descriptor.

Trait Implementations

impl Debug for PipelineStateError
[src]

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

Formats the value using the given formatter.

impl PartialEq for PipelineStateError
[src]

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

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

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

This method tests for !=.

impl Clone for PipelineStateError
[src]

fn clone(&self) -> PipelineStateError

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

impl Display for PipelineStateError
[src]

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

Formats the value using the given formatter.

impl Error for PipelineStateError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl From<ProgramError> for PipelineStateError
[src]

fn from(e: ProgramError) -> Self

Performs the conversion.

impl From<InitError> for PipelineStateError
[src]

fn from(e: InitError) -> Self

Performs the conversion.

impl From<CreationError> for PipelineStateError
[src]

fn from(e: CreationError) -> Self

Performs the conversion.