Structures

VkAntiLagDataAMD

Structure specifying the parameters for vkAntiLagUpdateAMD

The VkAntiLagDataAMD structure is defined as:

typedef struct VkAntiLagDataAMD {
    VkStructureType sType;
    const void* pNext;
    VkAntiLagModeAMD mode;
    uint32_t maxFPS;
    const VkAntiLagPresentationInfoAMD* pPresentationInfo;
} VkAntiLagDataAMD;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • mode is a VkAntiLagModeAMD value specifying the anti-lag status.
  • maxFPS is the framerate limit, in frames per second, used by the application. This limit will be imposed if anti-lag is enabled. If the application tries to render faster, the framerate will be reduced to match this limit. A value of 0 will disable the limit.
  • pPresentationInfo is a pointer to a VkAntiLagPresentationInfoAMD structure containing information about the application stage.

This structure specifies anti-lag parameters.

Valid Usage (Implicit)

VUID-VkAntiLagDataAMD-sType-sType

sType must be VK_STRUCTURE_TYPE_ANTI_LAG_DATA_AMD

VUID-VkAntiLagDataAMD-pPresentationInfo-parameter

If pPresentationInfo is not NULL, pPresentationInfo must be a valid pointer to a valid VkAntiLagPresentationInfoAMD structure