Structures
VkSurfaceCapabilitiesPresentWait2KHR
Structure describing presentation-wait capabilities of a surface
The VkSurfaceCapabilitiesPresentWait2KHR structure is defined as:
typedef struct VkSurfaceCapabilitiesPresentWait2KHR {
VkStructureType sType;
void* pNext;
VkBool32 presentWait2Supported;
} VkSurfaceCapabilitiesPresentWait2KHR;
pub struct SurfaceCapabilitiesPresentWait2KHR {
s_type: vk::StructureType,
p_next: *mut c_void,
present_wait2_supported: vk::Bool32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.presentWait2Supportedis a boolean describing whether the surface is able to support the present-wait extension
This structure can be included in the pNext chain of
VkSurfaceCapabilities2KHR to determine support for present-wait.
If presentWait2Supported is VK_FALSE, it indicates that waiting
for presentation is not possible for this surface.
Applications must not attempt to call vkWaitForPresent2KHR on a
swapchain if presentWait2Supported is VK_FALSE.
Valid Usage (Implicit)
VUID-VkSurfaceCapabilitiesPresentWait2KHR-sType-sType
sType must be VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_WAIT_2_KHR