C Specification

The VkAntiLagDataAMD structure is defined as:

// Provided by VK_AMD_anti_lag
typedef struct VkAntiLagDataAMD {
    VkStructureType                        sType;
    const void*                            pNext;
    VkAntiLagModeAMD                       mode;
    uint32_t                               maxFPS;
    const VkAntiLagPresentationInfoAMD*    pPresentationInfo;
} VkAntiLagDataAMD;

Members

  • 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.

Description

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-mode-parameter
    mode must be a valid VkAntiLagModeAMD value

  • VUID-VkAntiLagDataAMD-pPresentationInfo-parameter
    If pPresentationInfo is not NULL, pPresentationInfo must be a valid pointer to a valid VkAntiLagPresentationInfoAMD structure

See Also

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.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0