C Specification
Present Metering evenly paces out the next numFramesPerBatch
vkQueuePresentKHR presents.
This gives smoother pacing between presents in applications with frame
generation integrations.
The VkSetPresentConfigNV structure is defined as:
// Provided by VK_NV_present_metering
typedef struct VkSetPresentConfigNV {
VkStructureType sType;
const void* pNext;
uint32_t numFramesPerBatch;
uint32_t presentConfigFeedback;
} VkSetPresentConfigNV;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
numFramesPerBatchis the number of frames to batch -
presentConfigFeedbackwill return the success or error status
Description
The metering configuration applies to all swapchains in the array in
VkPresentInfoKHR.
The configuration specified by VkSetPresentConfigNV applies to the
next numFramesPerBatch calls to vkQueuePresentKHR and needs to
be updated every numFramesPerBatch presents.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.