VkPresentModeKHR | NVK Search
  1. No Results
Categories
VkPresentModeKHR presentation mode supported for a surface Stub
VkPresentModeKHR = {
  VK_PRESENT_MODE_IMMEDIATE_KHR: 0,
  VK_PRESENT_MODE_MAILBOX_KHR: 1,
  VK_PRESENT_MODE_FIFO_KHR: 2,
  VK_PRESENT_MODE_FIFO_RELAXED_KHR: 3,
  VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR: 1000111000,
  VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR: 1000111001
};
Properties VkPresentModeKHR.VK_PRESENT_MODE_IMMEDIATE_KHR specifies that the presentation engine does not wait for a vertical blanking period to update the current image, meaning this mode may result in visible tearing. No internal queuing of presentation requests is needed, as the requests are applied immediately. VkPresentModeKHR.VK_PRESENT_MODE_MAILBOX_KHR specifies that the presentation engine waits for the next vertical blanking period to update the current image. Tearing cannot be observed. An internal single-entry queue is used to hold pending presentation requests. If the queue is full when a new presentation request is received, the new request replaces the existing entry, and any images associated with the prior entry become available for re-use by the application. One request is removed from the queue and processed during each vertical blanking period in which the queue is non-empty. VkPresentModeKHR.VK_PRESENT_MODE_FIFO_KHR specifies that the presentation engine waits for the next vertical blanking period to update the current image. Tearing cannot be observed. An internal queue is used to hold pending presentation requests. New requests are appended to the end of the queue, and one request is removed from the beginning of the queue and processed during each vertical blanking period in which the queue is non-empty. This is the only value of presentMode that is required to be supported. VkPresentModeKHR.VK_PRESENT_MODE_FIFO_RELAXED_KHR specifies that the presentation engine generally waits for the next vertical blanking period to update the current image. If a vertical blanking period has already passed since the last update of the current image then the presentation engine does not wait for another vertical blanking period for the update, meaning this mode may result in visible tearing in this case. This mode is useful for reducing visual stutter with an application that will mostly present a new image before the next vertical blanking period, but may occasionally be late, and present a new image just after the next vertical blanking period. An internal queue is used to hold pending presentation requests. New requests are appended to the end of the queue, and one request is removed from the beginning of the queue and processed during or after each vertical blanking period in which the queue is non-empty. VkPresentModeKHR.VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR VkPresentModeKHR.VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR