Enum
VkPresentTimingInfoFlagBitsEXT
Bitmask specifying present timing info flags
Bits which can be set in VkPresentTimingInfoEXT::flags,
specifying options for how to interpret timing information:
typedef enum VkPresentTimingInfoFlagBitsEXT {
VK_PRESENT_TIMING_INFO_PRESENT_AT_RELATIVE_TIME_BIT_EXT = 0x00000001,
VK_PRESENT_TIMING_INFO_PRESENT_AT_NEAREST_REFRESH_CYCLE_BIT_EXT = 0x00000002,
} VkPresentTimingInfoFlagBitsEXT;
pub struct PresentTimingInfoFlagBitsEXT(u32);
impl PresentTimingInfoFlagBitsEXT {
pub const PRESENT_AT_RELATIVE_TIME: Self = 0x00000001;
pub const PRESENT_AT_NEAREST_REFRESH_CYCLE: Self = 0x00000002;
}
VK_PRESENT_TIMING_INFO_PRESENT_AT_RELATIVE_TIME_BIT_EXTspecifies thatVkPresentTimingInfoEXT::targetTimeis to be interpreted as a relative time from the previous presentation’sVK_PRESENT_STAGE_IMAGE_FIRST_PIXEL_VISIBLE_BIT_EXTstage. If theswapchainhas never been used to present an image, the providedtargetTimeis ignored.VK_PRESENT_TIMING_INFO_PRESENT_AT_NEAREST_REFRESH_CYCLE_BIT_EXTspecifies that the application would prefer the image to be presented earlier than the time specified inVkPresentTimingInfoEXT::targetTimeif that time falls within the first half of a refresh cycle. In that case, the presentation engine may choose to display the image at the start of that refresh cycle.
Parent
VK_EXT_present_timingType
Enum