namespace Brutal.VulkanApi { /// /// VkHdrMetadataEXT - Specify HDR metadata /// /// /// /// 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; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkHdrMetadataEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.HdrMetadataEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// DisplayPrimaryRed is a VkXYColorEXT structure specifying the red primary of the display used to optimize the content /// [FieldOffset(16)] public VkXYColorEXT DisplayPrimaryRed; /// /// DisplayPrimaryGreen is a VkXYColorEXT structure specifying the green primary of the display used to optimize the content /// [FieldOffset(24)] public VkXYColorEXT DisplayPrimaryGreen; /// /// DisplayPrimaryBlue is a VkXYColorEXT structure specifying the blue primary of the display used to optimize the content /// [FieldOffset(32)] public VkXYColorEXT DisplayPrimaryBlue; /// /// WhitePoint is a VkXYColorEXT structure specifying the white-point of the display used to optimize the content /// [FieldOffset(40)] public VkXYColorEXT WhitePoint; /// /// MaxLuminance is the maximum luminance of the display used to optimize the content in nits /// [FieldOffset(48)] public float MaxLuminance; /// /// MinLuminance is the minimum luminance of the display used to optimize the content in nits /// [FieldOffset(52)] public float MinLuminance; /// /// MaxContentLightLevel is the value in nits of the desired luminance for the brightest pixels in the displayed image. /// [FieldOffset(56)] public float MaxContentLightLevel; /// /// MaxFrameAverageLightLevel is the value in nits of the average luminance of the frame which has the brightest average luminance anywhere in the content. /// [FieldOffset(60)] public float MaxFrameAverageLightLevel; } }