ImageAcquisition.State

An Image Acquisition can have one of the 4 following states.

Values

ValueMeaning
ok0x00000000

The image could be acquired in optimal condition

suboptimal0x01000000

An image could be acquired but its use is suboptimal. This is an indication that the swapchain should be re-generated when practicable. This can happen e.g. if the window is being resized but the presentation engine is able to scale the image to the surface.

outOfDate0x02000000

The swapchain could is out of date and MUST be re-generated. This can happen for example during resize of the window behind the swapchain's surface, or if the window properties have changed in some way.

notReady0x03000000

Swapchain.acquireNextImage timed-out, or was called with null timeout and no image was ready.

mask0xff000000

Value used to mask out the index from the state.

Meta