public class KHRSharedPresentableImage
extends java.lang.Object
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_swapchainVK_KHR_get_physical_device_properties2VK_KHR_get_surface_capabilities2| Modifier and Type | Field and Description |
|---|---|
static int |
VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR
Extends
VkImageLayout. |
static java.lang.String |
VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME
The extension name.
|
static int |
VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION
The extension specification version.
|
static int |
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR
Extends
VkPresentModeKHR. |
static int |
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR
Extends
VkPresentModeKHR. |
static int |
VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
vkGetSwapchainStatusKHR(org.lwjgl.vulkan.VkDevice device,
long swapchain)
Get a swapchain's status.
|
public static final int VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION
public static final java.lang.String VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR
VkStructureType.public static final int VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR
VkPresentModeKHR.
public static final int VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR
VkPresentModeKHR.
public static final int VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR
VkImageLayout.public static int vkGetSwapchainStatusKHR(org.lwjgl.vulkan.VkDevice device,
long swapchain)
In order to query a swapchain's status when rendering to a shared presentable image, call:
VkResult vkGetSwapchainStatusKHR(
VkDevice device,
VkSwapchainKHR swapchain);
device must be a valid VkDevice handleswapchain must be a valid VkSwapchainKHR handledevice, and swapchain must have been created, allocated, or retrieved from the same VkInstanceswapchain must be externally synchronizeddevice - the device associated with swapchain.swapchain - the swapchain to query.Copyright LWJGL. All Rights Reserved. License terms.