Enum nannou::ui::backend::glium::glium::ProgramCreationError [] [src]

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

Error that can be triggered when creating a Program.

Variants

Error while compiling one of the shaders.

Error while linking the program.

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

Usually the case for geometry shaders.

The OpenGL implementation doesn't provide a compiler.

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

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

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

Trait Implementations

impl Clone for ProgramCreationError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ProgramCreationError
[src]

[src]

Formats the value using the given formatter.

impl Error for ProgramCreationError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for ProgramCreationError
[src]

[src]

Formats the value using the given formatter. Read more