Enum vulkano::sync::FlushError
source · pub enum FlushError {
AccessError(AccessError),
OomError(OomError),
DeviceLost,
SurfaceLost,
OutOfDate,
FullScreenExclusiveModeLost,
Timeout,
PresentIdLessThanOrEqual,
ResourceAccessError {
error: AccessError,
command_name: Cow<'static, str>,
command_param: Cow<'static, str>,
command_offset: usize,
},
OneTimeSubmitAlreadySubmitted,
ExclusiveAlreadyInUse,
}
Expand description
Error that can happen when creating a graphics pipeline.
Variants
AccessError(AccessError)
Access to a resource has been denied.
OomError(OomError)
Not enough memory.
DeviceLost
The connection to the device has been lost.
SurfaceLost
The surface is no longer accessible and must be recreated.
OutOfDate
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.
FullScreenExclusiveModeLost
The swapchain has lost or doesn’t have full screen exclusivity possibly for implementation-specific reasons outside of the application’s control.
Timeout
The flush operation needed to block, but the timeout has elapsed.
PresentIdLessThanOrEqual
A non-zero present_id must be greater than any non-zero present_id passed previously for the same swapchain.
ResourceAccessError
Access to a resource has been denied.
OneTimeSubmitAlreadySubmitted
The command buffer or one of the secondary command buffers it executes was created with the “one time submit” flag, but has already been submitted it the past.
ExclusiveAlreadyInUse
The command buffer or one of the secondary command buffers it executes is already in use by the GPU and was not created with the “concurrent” flag.
Trait Implementations
sourceimpl Clone for FlushError
impl Clone for FlushError
sourcefn clone(&self) -> FlushError
fn clone(&self) -> FlushError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more