Enum luminance::framebuffer::FramebufferError [−][src]
#[non_exhaustive] pub enum FramebufferError { CannotCreate, TextureError(TextureError), Incomplete(IncompleteReason), UnsupportedAttachment, }
Expand description
Framebuffer error.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cannot create the framebuffer on the GPU.
TextureError(TextureError)
Texture error.
This happen while creating / associating the color / depth slots.
Incomplete(IncompleteReason)
Incomplete error.
This happens when finalizing the construction of the framebuffer.
Cannot attach something to a framebuffer.
Implementations
Cannot create the framebuffer on the GPU.
Texture error.
Incomplete error.
Cannot attach something to a framebuffer.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FramebufferError
impl Send for FramebufferError
impl Sync for FramebufferError
impl Unpin for FramebufferError
impl UnwindSafe for FramebufferError
Blanket Implementations
Mutably borrows from an owned value. Read more