Structures

VkAntiLagPresentationInfoAMD

Structure specifying information about stage

The VkAntiLagPresentationInfoAMD structure is defined as:

typedef struct VkAntiLagPresentationInfoAMD {
    VkStructureType sType;
    void* pNext;
    VkAntiLagStageAMD stage;
    uint64_t frameIndex;
} VkAntiLagPresentationInfoAMD;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • stage is a VkAntiLagStageAMD value specifying the current application stage.
  • frameIndex is set just before the application processes input data (VK_ANTI_LAG_STAGE_INPUT_AMD). The same frameIndex value should be set before the frame with current input data will be presented by vkQueuePresentKHR (VK_ANTI_LAG_STAGE_PRESENT_AMD). This should be done for each frame.

This structure specifies information about the presentation stage for which anti-lag parameters are being set.

Valid Usage (Implicit)

VUID-VkAntiLagPresentationInfoAMD-sType-sType

sType must be VK_STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD