#[repr(C)]pub enum SurfaceStatus {
Good = 0,
Suboptimal = 1,
Timeout = 2,
Outdated = 3,
Lost = 4,
Unknown = 5,
}Expand description
Status of the received surface image.
Variants§
Good = 0
No issues.
Suboptimal = 1
The swap chain is operational, but it does no longer perfectly match the surface. A re-configuration is needed.
Timeout = 2
Unable to get the next frame, timed out.
Outdated = 3
The surface under the swap chain has changed.
Lost = 4
The surface under the swap chain is lost.
Unknown = 5
The surface status is not known since Surface::get_current_texture previously failed.