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]
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.