pub enum GBufferError {
NotCreated,
AlreadyCreated,
AttachmentNotFound(GBufferSemantic),
InvalidDimensions(u32, u32),
ValidationFailed(Vec<String>),
TextureAllocationFailed(String),
FramebufferIncomplete(String),
}Expand description
Errors that can occur during G-Buffer operations.
Variants§
NotCreated
AlreadyCreated
AttachmentNotFound(GBufferSemantic)
InvalidDimensions(u32, u32)
ValidationFailed(Vec<String>)
TextureAllocationFailed(String)
FramebufferIncomplete(String)
Trait Implementations§
Source§impl Clone for GBufferError
impl Clone for GBufferError
Source§fn clone(&self) -> GBufferError
fn clone(&self) -> GBufferError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GBufferError
impl Debug for GBufferError
Source§impl Display for GBufferError
impl Display for GBufferError
Source§impl Error for GBufferError
impl Error for GBufferError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for GBufferError
impl RefUnwindSafe for GBufferError
impl Send for GBufferError
impl Sync for GBufferError
impl Unpin for GBufferError
impl UnsafeUnpin for GBufferError
impl UnwindSafe for GBufferError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more