C Specification
The VkSurfaceCapabilitiesPresentId2KHR
structure is defined as:
// Provided by VK_KHR_present_id2
typedef struct VkSurfaceCapabilitiesPresentId2KHR {
VkStructureType sType;
void* pNext;
VkBool32 presentId2Supported;
} VkSurfaceCapabilitiesPresentId2KHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
presentId2Supported
is a boolean describing whether the surface is able to support the present-ID extension
Description
This structure can be included in the pNext
chain of
VkSurfaceCapabilities2KHR to determine support for present-wait.
If presentId2Supported
is VK_FALSE
, it indicates that attaching
an ID to presentation requests is not possible for this surface.
Applications must not attempt to include VkPresentId2KHR in the
pNext
chain of a VkPresentInfoKHR if presentId2Supported
is VK_FALSE
.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.