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
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 Clone for ProgramCreationError
[src]
impl Clone for ProgramCreationError
fn clone(&self) -> ProgramCreationError
[src]
fn clone(&self) -> ProgramCreationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ProgramCreationError
[src]
impl Debug for ProgramCreationError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<ProgramCreationError> for ProgramChooserCreationError
[src]
impl From<ProgramCreationError> for ProgramChooserCreationError
fn from(err: ProgramCreationError) -> ProgramChooserCreationError
[src]
fn from(err: ProgramCreationError) -> ProgramChooserCreationError
Performs the conversion.
impl Error for ProgramCreationError
[src]
impl Error for ProgramCreationError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for ProgramCreationError
[src]
impl Display for ProgramCreationError
Auto Trait Implementations
impl Send for ProgramCreationError
impl Send for ProgramCreationError
impl Sync for ProgramCreationError
impl Sync for ProgramCreationError