C Specification
// Provided by VK_EXT_hdr_metadata
typedef struct VkHdrMetadataEXT {
VkStructureType sType;
const void* pNext;
VkXYColorEXT displayPrimaryRed;
VkXYColorEXT displayPrimaryGreen;
VkXYColorEXT displayPrimaryBlue;
VkXYColorEXT whitePoint;
float maxLuminance;
float minLuminance;
float maxContentLightLevel;
float maxFrameAverageLightLevel;
} VkHdrMetadataEXT;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
displayPrimaryRedis the reference monitor’s red primary in chromaticity coordinates -
displayPrimaryGreenis the reference monitor’s green primary in chromaticity coordinates -
displayPrimaryBlueis the reference monitor’s blue primary in chromaticity coordinates -
whitePointis the reference monitor’s white-point in chromaticity coordinates -
maxLuminanceis the maximum luminance of the reference monitor in nits -
minLuminanceis the minimum luminance of the reference monitor in nits -
maxContentLightLevelis content’s maximum luminance in nits -
maxFrameAverageLightLevelis the maximum frame average light level in nits
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.