Struct ImageAcquisition

Result of Image acquisition from a Swapchain.

struct ImageAcquisition ;

Properties

NameTypeDescription
hasIndex[get] boolWhether an image could be acquired
index[get] uintGet the index of the acquired image
notReady[get] boolWhether the acquisition is in not-ready state
ok[get] boolWhether the acquisition is in OK state
outOfDate[get] boolWhether the acquisition is in out-of-date state
state[get] ImageAcquisition.StateGet the state of the acquisition
suboptimal[get] boolWhether the acquisition is in suboptimal state
swapchainNeedsRebuild[get] boolWhether the Swapchain should be reconstructed

Methods

NameDescription
makeNotReady () Make an ImageAcquisition in notReady state.
makeOk (index) Make an ImageAcquisition in OK state with the given image index.
makeOutOfDate () Make an ImageAcquisition in out-of-date state.
makeSuboptimal (index) Make an ImageAcquisition in Suboptimal state with the given image index.

Enums

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

See Also

Swapchain.acquireNextImage