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.
ShaderTypeNotSupportedOne of the requested shader types is not supported by the backend.
Usually the case for geometry shaders.
CompilationNotSupportedThe OpenGL implementation doesn't provide a compiler.
TransformFeedbackNotSupportedYou have requested transform feedback varyings, but transform feedback is not supported by the backend.
PointSizeNotSupportedYou have requested point size setting from the shader, but it's not supported by the backend.
BinaryHeaderErrorThe 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.