Interface VulkanSwapChainImageAcquisitionType
- All Known Implementing Classes:
VulkanSwapChainImageAcquisition
@Immutable
public interface VulkanSwapChainImageAcquisitionType
The result of an attempt to acquire an image from the swap chain.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf an image became available, and the swapchain no longer matches the surface properties exactly but can still be used to present to the surface successfully, this method will returntrue.booleantimedOut()
-
Method Details
-
imageIndex
- Returns:
- The index of the acquired image in the swapchain
-
subOptimal
@Parameter boolean subOptimal()If an image became available, and the swapchain no longer matches the surface properties exactly but can still be used to present to the surface successfully, this method will returntrue.- Returns:
trueif the image is now suboptimal
-
timedOut
@Parameter boolean timedOut()- Returns:
trueiff a timeout was specified and no image was available within that time
-