[−][src]Enum golem::GolemError
The library's error conditions
Variants
ShaderCompilationError(String)
The OpenGL Shader compilation failed, with the given error message
This may be during vertex-time, fragment-time, or link-time
ContextError(String)
Some general error bubbling up from the GL context
NoSuchUniform(String)
An attempt was made to bind to an illegal uniform
An operation was performed on a shader that wasn't bound
Shader operations include setting uniforms and drawing
A texture filter requiring mipmaps was used when mipmaps were unavailable
Mipmaps are only available for minification, and only for power-of-two sized textures (2x2, 4x4, etc.)
A wrap option was set for a Texture that isn't available
Texture repeats are currently only supported for power-of-2 sized textures (2x2, 4x4, etc.)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GolemError
impl Send for GolemError
impl Sync for GolemError
impl Unpin for GolemError
impl UnwindSafe for GolemError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,