Enum vulkano::command_buffer::submit::SubmitPresentError [−][src]
#[repr(u32)] pub enum SubmitPresentError { OomError(OomError), DeviceLost, SurfaceLost, FullscreenExclusiveLost, OutOfDate, }
Expand description
Error that can happen when submitting the present prototype.
Variants
OomError(OomError)
Not enough memory.
The connection to the device has been lost.
The surface is no longer accessible and must be recreated.
The swapchain has lost or doesn’t have fullscreen exclusivity possibly for implementation-specific reasons outside of the application’s control.
The surface has changed in a way that makes the swapchain unusable. You must query the surface’s new properties and recreate a new swapchain if you want to continue drawing.
Trait Implementations
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 SubmitPresentError
impl Send for SubmitPresentError
impl Sync for SubmitPresentError
impl Unpin for SubmitPresentError
impl UnwindSafe for SubmitPresentError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.