Struct ImageAcquisition
Result of Image acquisition from a Swapchain.
struct ImageAcquisition
;
Properties
Name | Type | Description |
hasIndex [get]
|
bool | Whether an image could be acquired
|
index [get]
|
uint | Get the index of the acquired image
|
notReady [get]
|
bool | Whether the acquisition is in not-ready state
|
ok [get]
|
bool | Whether the acquisition is in OK state
|
outOfDate [get]
|
bool | Whether the acquisition is in out-of-date state
|
state [get]
|
ImageAcquisition.State | Get the state of the acquisition
|
suboptimal [get]
|
bool | Whether the acquisition is in suboptimal state
|
swapchainNeedsRebuild [get]
|
bool | Whether the Swapchain should be reconstructed
|
Methods
Name | Description |
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
Name | Description |
State
|
An Image Acquisition can have one of the 4 following states.
|
See Also
Swapchain.acquireNextImage