Enum gfx_core::shade::CreateShaderError [] [src]

pub enum CreateShaderError {
    ModelNotSupported,
    StageNotSupported(Stage),
    CompilationFailed(String),
}

An error type for creating shaders.

Variants

The device does not support the requested shader model.

The device does not support the shader stage.

The shader failed to compile.

Trait Implementations

impl Clone for CreateShaderError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CreateShaderError
[src]

Formats the value using the given formatter.

impl PartialEq for CreateShaderError
[src]

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

This method tests for !=.

impl Display for CreateShaderError
[src]

Formats the value using the given formatter. Read more

impl Error for CreateShaderError
[src]

A short description of the error. Read more

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