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

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

An error type for creating shaders.

Variants

ModelNotSupported

The device does not support the requested shader model.

StageNotSupported

The device does not support the shader stage.

CompilationFailed

The shader failed to compile.

Trait Implementations

Derived Implementations

impl Debug for CreateShaderError

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

impl PartialEq for CreateShaderError

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

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

impl Clone for CreateShaderError

fn clone(&self) -> CreateShaderError

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