Enum gfx::shade::core::CreateShaderError []

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 Debug for CreateShaderError

Formats the value using the given formatter.

impl PartialEq<CreateShaderError> for CreateShaderError

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

Formats the value using the given formatter.

impl Error for CreateShaderError

A short description of the error. Read more

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

impl Clone for CreateShaderError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more