Enum wgpu_types::SurfaceStatus [−][src]
#[repr(C)] pub enum SurfaceStatus { Good, Suboptimal, Timeout, Outdated, Lost, }
Expand description
Status of the recieved surface image.
Variants
No issues.
The swap chain is operational, but it does no longer perfectly match the surface. A re-configuration is needed.
Unable to get the next frame, timed out.
The surface under the swap chain has changed.
The surface under the swap chain is lost.