Structures
VkSurfaceCapabilitiesPresentId2KHR
Structure describing presentation-ID capabilities of a surface
The VkSurfaceCapabilitiesPresentId2KHR structure is defined as:
typedef struct VkSurfaceCapabilitiesPresentId2KHR {
VkStructureType sType;
void* pNext;
VkBool32 presentId2Supported;
} VkSurfaceCapabilitiesPresentId2KHR;
pub struct SurfaceCapabilitiesPresentId2KHR {
s_type: vk::StructureType,
p_next: *mut c_void,
present_id2_supported: vk::Bool32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.presentId2Supportedis a boolean describing whether the surface is able to support the present-ID extension
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.
Valid Usage (Implicit)
VUID-VkSurfaceCapabilitiesPresentId2KHR-sType-sType
sType must be VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_ID_2_KHR