C Specification
To provide Hdr metadata to an implementation, call:
// Provided by VK_EXT_hdr_metadata
void vkSetHdrMetadataEXT(
VkDevice device,
uint32_t swapchainCount,
const VkSwapchainKHR* pSwapchains,
const VkHdrMetadataEXT* pMetadata);
Parameters
-
device
is the logical device where the swapchain(s) were created. -
swapchainCount
is the number of swapchains included inpSwapchains
. -
pSwapchains
is a pointer to an array ofswapchainCount
VkSwapchainKHR handles. -
pMetadata
is a pointer to an array ofswapchainCount
VkHdrMetadataEXT structures.
Description
The metadata will be applied to the specified VkSwapchainKHR objects
at the next vkQueuePresentKHR
call using that VkSwapchainKHR
object.
The metadata will persist until a subsequent vkSetHdrMetadataEXT
changes it.
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.