Enum glium::program::ProgramCreationError [] [src]

pub enum ProgramCreationError {
    CompilationError(String),
    LinkingError(String),
    ShaderTypeNotSupported,
    CompilationNotSupported,
    TransformFeedbackNotSupported,
    PointSizeNotSupported,
}

Error that can be triggered when creating a Program.

Variants

CompilationError

Error while compiling one of the shaders.

LinkingError

Error while linking the program.

ShaderTypeNotSupported

One of the requested shader types is not supported by the backend.

Usually the case for geometry shaders.

CompilationNotSupported

The OpenGL implementation doesn't provide a compiler.

TransformFeedbackNotSupported

You have requested transform feedback varyings, but transform feedback is not supported by the backend.

PointSizeNotSupported

You have requested point size setting from the shader, but it's not supported by the backend.

Trait Implementations

impl Display for ProgramCreationError

fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>

impl Error for ProgramCreationError

fn description(&self) -> &str

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

Derived Implementations

impl Debug for ProgramCreationError

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

impl Clone for ProgramCreationError

fn clone(&self) -> ProgramCreationError

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