[−][src]Enum rg3d::renderer::error::RendererError
Set of possible renderer errors.
Variants
Compilation of a shader has failed.
Fields of ShaderCompilationFailed
Means that shader link stage failed, exact reason is inside error_message
Fields of ShaderLinkingFailed
Shader source contains invalid characters.
UnableToFindShaderUniform(String)
There is no such shader uniform (could be optimized out).
Texture has invalid data - insufficient size.
Fields of InvalidTextureData
Means that you tried to draw element range from GeometryBuffer that does not have enough elements.
Fields of InvalidElementRange
Means that attribute descriptor tries to define an attribute that does not exists in vertex, or it does not match size. For example you have vertex: pos: float2, normal: float3 But you described second attribute as Float4, then you'll get this error.
Framebuffer is invalid.
OpenGL failed to construct framebuffer.
Context(ContextError)
Internal context error.
Trait Implementations
impl Debug for RendererError
[src]
impl From<ContextError> for RendererError
[src]
fn from(err: ContextError) -> Self
[src]
impl From<NulError> for RendererError
[src]
impl From<RendererError> for EngineError
[src]
fn from(renderer: RendererError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RendererError
impl Send for RendererError
impl Sync for RendererError
impl Unpin for RendererError
impl !UnwindSafe for RendererError
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,
pub 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> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,