VK_KHR_swapchain to enable creation of a shared presentable image. This allows the application to use the image while the presention engine is accessing it, in order to reduce the latency between rendering and presentation.
VK_KHR_shared_presentable_imageVK_KHR_swapchain and VK_KHR_get_surface_capabilities2 and VK_KHR_get_physical_device_properties2 or Version 1.1| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR
Extends |
| public static final String | VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR
Extends |
| public static final int | VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | vkGetSwapchainStatusKHR(VkDevice
the device associated with device, long swapchain.the swapchain to query. swapchain)Get a swapchain’s status. |
| VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR | back to summary |
|---|---|
| public static final int VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR Extends | |
| VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME The extension name. | |
| VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION The extension specification version. | |
| VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR | back to summary |
|---|---|
| public static final int VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR Extends Enum values: | |
| VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR | back to summary |
|---|---|
| public static final int VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR Extends | |
| KHRSharedPresentableImage | back to summary |
|---|---|
| protected KHRSharedPresentableImage() | |
| vkGetSwapchainStatusKHR | back to summary |
|---|---|
| public static int vkGetSwapchainStatusKHR(VkDevice device, long swapchain) Get a swapchain’s status. C SpecificationIn order to query a swapchain’s status when rendering to a shared presentable image, call:
Valid Usage (Implicit)
Host Synchronization
Return Codes
| |