Function Prototype

vkSetLocalDimmingAMD

Set Local Dimming

The local dimming HDR setting may also be changed over the life of a swapchain by calling:

void vkSetLocalDimmingAMD(
    VkDevice device,
    VkSwapchainKHR swapChain,
    VkBool32 localDimmingEnable);
  • device is the device associated with swapChain.
  • swapChain handle to enable local dimming.
  • localDimmingEnable specifies whether local dimming is enabled for the swapchain.

Valid Usage (Implicit)

VUID-vkSetLocalDimmingAMD-swapChain-parent

swapChain must have been created, allocated, or retrieved from device