Function Prototype

vkAntiLagUpdateAMD

Provide information to reduce latency

To lower latency, call:

void vkAntiLagUpdateAMD(
    VkDevice device,
    const VkAntiLagDataAMD* pData);
  • device is the logical device
  • pData is a pointer to a VkAntiLagDataAMD structure containing latency reduction parameters.

This command should be executed immediately before the application processes user input. If pData is not NULL and VkAntiLagDataAMD::presentationInfo is not NULL, this command should be executed again before vkQueuePresentKHR, with pPresentationInfo set to matching values.

Valid Usage

Valid Usage (Implicit)

VUID-vkAntiLagUpdateAMD-pData-parameter

pData must be a valid pointer to a valid VkAntiLagDataAMD structure