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

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

Error that can be triggered when creating a Program.

Variants

CompilationError(StringShaderType)

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

impl Debug for ProgramCreationError[src]

impl Display for ProgramCreationError[src]

impl Error for ProgramCreationError[src]

impl From<ProgramCreationError> for ProgramChooserCreationError[src]

Auto Trait Implementations

impl RefUnwindSafe for ProgramCreationError

impl Send for ProgramCreationError

impl Sync for ProgramCreationError

impl Unpin for ProgramCreationError

impl UnwindSafe for ProgramCreationError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.