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

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

Error that can be triggered when creating a Program.

Variants

CompilationError(String)
[]

Error while compiling one of the shaders.

LinkingError(String)
[]

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.

BinaryHeaderError
[]

The glium-specific binary header was not found or is corrupt.

Trait Implementations

impl Debug for ProgramCreationError
[src]

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

Formats the value using the given formatter.

impl Clone for ProgramCreationError
[src]

fn clone(&self) -> ProgramCreationError[]

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 ProgramCreationError
[src]

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

Formats the value using the given formatter.

impl Error for ProgramCreationError
[src]

fn description(&self) -> &str[]

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0
[]

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