C Specification
The VkHdrMetadataEXT structure is defined as:
// 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 a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
displayPrimaryRedis a VkXYColorEXT structure specifying the red primary of the display used to optimize the content -
displayPrimaryGreenis a VkXYColorEXT structure specifying the green primary of the display used to optimize the content -
displayPrimaryBlueis a VkXYColorEXT structure specifying the blue primary of the display used to optimize the content -
whitePointis a VkXYColorEXT structure specifying the white-point of the display used to optimize the content -
maxLuminanceis the maximum luminance of the display used to optimize the content in nits -
minLuminanceis the minimum luminance of the display used to optimize the content in nits -
maxContentLightLevelis the value in nits of the desired luminance for the brightest pixels in the displayed image. -
maxFrameAverageLightLevelis the value in nits of the average luminance of the frame which has the brightest average luminance anywhere in the content.
Description
If any of the above values are unknown, they can be set to 0.
|
Note
|
The meta-data provided here is intended to be used as defined in the SMPTE 2086, CTA 861.3 and CIE 15:2004 specifications. The validity and use of this data is outside the scope of Vulkan. |
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.