Structures
VkPresentTimingSurfaceCapabilitiesEXT
Structure describing present timing capabilities of a surface
The VkPresentTimingSurfaceCapabilitiesEXT structure is defined as:
typedef struct VkPresentTimingSurfaceCapabilitiesEXT {
VkStructureType sType;
void* pNext;
VkBool32 presentTimingSupported;
VkBool32 presentAtAbsoluteTimeSupported;
VkBool32 presentAtRelativeTimeSupported;
VkPresentStageFlagsEXT presentStageQueries;
} VkPresentTimingSurfaceCapabilitiesEXT;
pub struct PresentTimingSurfaceCapabilitiesEXT {
s_type: vk::StructureType,
p_next: *mut c_void,
present_timing_supported: vk::Bool32, // presentation timings of the surface can be queried using vkGetPastPresentationTimingEXT
present_at_absolute_time_supported: vk::Bool32, // surface can be presented using absolute times
present_at_relative_time_supported: vk::Bool32, // surface can be presented using relative times
present_stage_queries: vk::PresentStageFlagsEXT, // present stages that can be queried
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.presentTimingSupportedindicates whether querying presentation timestamps is supported for a swapchain created from VkPhysicalDeviceSurfaceInfo2KHR::surface.presentAtAbsoluteTimeSupportedindicates whether a swapchain created from VkPhysicalDeviceSurfaceInfo2KHR::surfacesupports presenting images with absolute times.presentAtRelativeTimeSupportedindicates whether a swapchain created from VkPhysicalDeviceSurfaceInfo2KHR::surfacesupports presenting images with relative times.presentStageQueriesis a bitmask of VkPresentStageFlagBitsEXT indicating which present stages a swapchain created from VkPhysicalDeviceSurfaceInfo2KHR::surfaceis able to provide timing information for.
Valid Usage (Implicit)
VUID-VkPresentTimingSurfaceCapabilitiesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_PRESENT_TIMING_SURFACE_CAPABILITIES_EXT