VkSwapchainTimingPropertiesEXT
The VkSwapchainTimingPropertiesEXT structure is defined as:
typedef struct VkSwapchainTimingPropertiesEXT {
VkStructureType sType;
void* pNext;
uint64_t refreshDuration;
uint64_t refreshInterval;
} VkSwapchainTimingPropertiesEXT;
pub struct SwapchainTimingPropertiesEXT {
s_type: vk::StructureType,
p_next: *mut c_void,
refresh_duration: u64, // Number of nanoseconds from the start of one refresh cycle to the next
refresh_interval: u64, // Interval in nanoseconds between refresh cycles durations
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.refreshDurationis zero or an indication of the duration of a refresh cycle.refreshIntervalis zero or a duration in nanoseconds indicating the interval between refresh cycle durations.
If refreshDuration is zero, the presentation engine is not able to
determine the duration of the refresh cycle.
Similarly, if refreshInterval is zero, the presentation engine is not
able to determine whether it is operating in VRR mode.
Otherwise, if refreshInterval is the same as refreshDuration,
the presentation engine is operating in FRR mode.
In this case, refreshDuration is the number of nanoseconds from the
start of one refresh cycle to the start of the next refresh cycle.
If refreshInterval is UINT64_MAX, the presentation engine is
operating in VRR mode, and refreshDuration is the minimum number of
nanoseconds from the start of one refresh cycle to the start of the next
refresh cycle.
If refreshDuration and refreshInterval are not zero,
refreshInterval is a factor of refreshDuration.
Valid Usage (Implicit)
VUID-VkSwapchainTimingPropertiesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_SWAPCHAIN_TIMING_PROPERTIES_EXT
VUID-VkSwapchainTimingPropertiesEXT-pNext-pNext
pNext must be NULL