Enum nannou::ui::backend::glium::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

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ProgramCreationError
[src]

Formats the value using the given formatter. Read more

impl From<ProgramCreationError> for ProgramChooserCreationError
[src]

Performs the conversion.

impl Error for ProgramCreationError
[src]

This method is soft-deprecated. Read more

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

impl Display for ProgramCreationError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations