Structures
VkSetPresentConfigNV
Structure specifying present metering configuration
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:
typedef struct VkSetPresentConfigNV {
VkStructureType sType;
const void* pNext;
uint32_t numFramesPerBatch;
uint32_t presentConfigFeedback;
} VkSetPresentConfigNV;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.numFramesPerBatchis the number of frames to batchpresentConfigFeedbackwill return the success or error status
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.
Valid Usage
VUID-VkSetPresentConfigNV-numFramesPerBatch-10581
numFramesPerBatch must not be larger than 8
Valid Usage (Implicit)
VUID-VkSetPresentConfigNV-sType-sType
sType must be VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV