VkAntiLagPresentationInfoAMD(3)

# VkAntiLagPresentationInfoAMD(3) Manual Page

## Name

VkAntiLagPresentationInfoAMD - Structure specifying information about stage

Loading… please wait.

## C Specification

The `VkAntiLagPresentationInfoAMD` structure is defined as:

    // Provided by VK_AMD_anti_lag
    typedef struct VkAntiLagPresentationInfoAMD {
        VkStructureType      sType;
        void*                pNext;
        VkAntiLagStageAMD    stage;
        uint64_t             frameIndex;
    } VkAntiLagPresentationInfoAMD;

## Members

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

## Description

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`

- VUID-VkAntiLagPresentationInfoAMD-stage-parameter
  `stage` must be a valid VkAntiLagStageAMD value

## See Also

VK_AMD_anti_lag, VkAntiLagDataAMD, VkAntiLagStageAMD, VkStructureType

## 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

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0