[{"data":1,"prerenderedAt":808},["ShallowReactive",2],{"1W2R79jw0V":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":807,"_id":4},"VkHdrMetadataEXT","Specify HDR metadata","VK_EXT_hdr_metadata","structs",[],{"type":10,"children":11,"toc":805},"root",[12,28,570,724,736,745,799],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,221],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkHdrMetadataEXT {\n // Display primary in chromaticity coordinates;\n VkStructureType sType;\n const void* pNext;\n // From SMPTE 2086;\n VkXYColorEXT displayPrimaryRed;\n VkXYColorEXT displayPrimaryGreen;\n VkXYColorEXT displayPrimaryBlue;\n VkXYColorEXT whitePoint;\n float maxLuminance;\n float minLuminance;\n // From CTA 861.3;\n float maxContentLightLevel;\n float maxFrameAverageLightLevel;\n} VkHdrMetadataEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,77,86,105,114,123,132,141,150,164,177,186,199,212],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkHdrMetadataEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":74},{"style":73},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[75],{"type":18,"value":76}," // Display primary in chromaticity coordinates;\n",{"type":13,"tag":45,"props":78,"children":80},{"class":47,"line":79},3,[81],{"type":13,"tag":45,"props":82,"children":83},{"style":63},[84],{"type":18,"value":85}," VkStructureType sType;\n",{"type":13,"tag":45,"props":87,"children":89},{"class":47,"line":88},4,[90,95,100],{"type":13,"tag":45,"props":91,"children":92},{"style":52},[93],{"type":18,"value":94}," const",{"type":13,"tag":45,"props":96,"children":97},{"style":52},[98],{"type":18,"value":99}," void*",{"type":13,"tag":45,"props":101,"children":102},{"style":63},[103],{"type":18,"value":104}," pNext;\n",{"type":13,"tag":45,"props":106,"children":108},{"class":47,"line":107},5,[109],{"type":13,"tag":45,"props":110,"children":111},{"style":73},[112],{"type":18,"value":113}," // From SMPTE 2086;\n",{"type":13,"tag":45,"props":115,"children":117},{"class":47,"line":116},6,[118],{"type":13,"tag":45,"props":119,"children":120},{"style":63},[121],{"type":18,"value":122}," VkXYColorEXT displayPrimaryRed;\n",{"type":13,"tag":45,"props":124,"children":126},{"class":47,"line":125},7,[127],{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," VkXYColorEXT displayPrimaryGreen;\n",{"type":13,"tag":45,"props":133,"children":135},{"class":47,"line":134},8,[136],{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," VkXYColorEXT displayPrimaryBlue;\n",{"type":13,"tag":45,"props":142,"children":144},{"class":47,"line":143},9,[145],{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149}," VkXYColorEXT whitePoint;\n",{"type":13,"tag":45,"props":151,"children":153},{"class":47,"line":152},10,[154,159],{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158}," float",{"type":13,"tag":45,"props":160,"children":161},{"style":63},[162],{"type":18,"value":163}," maxLuminance;\n",{"type":13,"tag":45,"props":165,"children":167},{"class":47,"line":166},11,[168,172],{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":158},{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," minLuminance;\n",{"type":13,"tag":45,"props":178,"children":180},{"class":47,"line":179},12,[181],{"type":13,"tag":45,"props":182,"children":183},{"style":73},[184],{"type":18,"value":185}," // From CTA 861.3;\n",{"type":13,"tag":45,"props":187,"children":189},{"class":47,"line":188},13,[190,194],{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":158},{"type":13,"tag":45,"props":195,"children":196},{"style":63},[197],{"type":18,"value":198}," maxContentLightLevel;\n",{"type":13,"tag":45,"props":200,"children":202},{"class":47,"line":201},14,[203,207],{"type":13,"tag":45,"props":204,"children":205},{"style":52},[206],{"type":18,"value":158},{"type":13,"tag":45,"props":208,"children":209},{"style":63},[210],{"type":18,"value":211}," maxFrameAverageLightLevel;\n",{"type":13,"tag":45,"props":213,"children":215},{"class":47,"line":214},15,[216],{"type":13,"tag":45,"props":217,"children":218},{"style":63},[219],{"type":18,"value":220},"} VkHdrMetadataEXT;\n",{"type":13,"tag":33,"props":222,"children":227},{"className":223,"code":224,"filename":225,"language":226,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct HdrMetadataEXT {\n /// Display primary in chromaticity coordinates\n s_type: vk::StructureType,\n p_next: *const c_void,\n /// From SMPTE 2086\n display_primary_red: vk::XYColorEXT, // Display primary's Red\n display_primary_green: vk::XYColorEXT, // Display primary's Green\n display_primary_blue: vk::XYColorEXT, // Display primary's Blue\n white_point: vk::XYColorEXT, // Display primary's Blue\n max_luminance: f32, // Display maximum luminance\n min_luminance: f32, // Display minimum luminance\n /// From CTA 861.3\n max_content_light_level: f32, // Content maximum luminance\n max_frame_average_light_level: f32,\n}\n","Rust","rs",[228],{"type":13,"tag":21,"props":229,"children":230},{"__ignoreMap":39},[231,254,262,295,317,325,360,393,426,458,484,509,517,542,562],{"type":13,"tag":45,"props":232,"children":233},{"class":47,"line":48},[234,239,243,249],{"type":13,"tag":45,"props":235,"children":236},{"style":52},[237],{"type":18,"value":238},"pub",{"type":13,"tag":45,"props":240,"children":241},{"style":52},[242],{"type":18,"value":60},{"type":13,"tag":45,"props":244,"children":246},{"style":245},"--shiki-default:#953800;--shiki-dark:#FFA657",[247],{"type":18,"value":248}," HdrMetadataEXT",{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":253}," {\n",{"type":13,"tag":45,"props":255,"children":256},{"class":47,"line":69},[257],{"type":13,"tag":45,"props":258,"children":259},{"style":73},[260],{"type":18,"value":261}," /// Display primary in chromaticity coordinates\n",{"type":13,"tag":45,"props":263,"children":264},{"class":47,"line":79},[265,270,275,280,285,290],{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":269}," s_type",{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":274},":",{"type":13,"tag":45,"props":276,"children":277},{"style":245},[278],{"type":18,"value":279}," vk",{"type":13,"tag":45,"props":281,"children":282},{"style":52},[283],{"type":18,"value":284},"::",{"type":13,"tag":45,"props":286,"children":287},{"style":245},[288],{"type":18,"value":289},"StructureType",{"type":13,"tag":45,"props":291,"children":292},{"style":63},[293],{"type":18,"value":294},",\n",{"type":13,"tag":45,"props":296,"children":297},{"class":47,"line":88},[298,303,307,312],{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302}," p_next",{"type":13,"tag":45,"props":304,"children":305},{"style":52},[306],{"type":18,"value":274},{"type":13,"tag":45,"props":308,"children":309},{"style":52},[310],{"type":18,"value":311}," *const",{"type":13,"tag":45,"props":313,"children":314},{"style":63},[315],{"type":18,"value":316}," c_void,\n",{"type":13,"tag":45,"props":318,"children":319},{"class":47,"line":107},[320],{"type":13,"tag":45,"props":321,"children":322},{"style":73},[323],{"type":18,"value":324}," /// From SMPTE 2086\n",{"type":13,"tag":45,"props":326,"children":327},{"class":47,"line":116},[328,333,337,341,345,350,355],{"type":13,"tag":45,"props":329,"children":330},{"style":63},[331],{"type":18,"value":332}," display_primary_red",{"type":13,"tag":45,"props":334,"children":335},{"style":52},[336],{"type":18,"value":274},{"type":13,"tag":45,"props":338,"children":339},{"style":245},[340],{"type":18,"value":279},{"type":13,"tag":45,"props":342,"children":343},{"style":52},[344],{"type":18,"value":284},{"type":13,"tag":45,"props":346,"children":347},{"style":245},[348],{"type":18,"value":349},"XYColorEXT",{"type":13,"tag":45,"props":351,"children":352},{"style":63},[353],{"type":18,"value":354},", ",{"type":13,"tag":45,"props":356,"children":357},{"style":73},[358],{"type":18,"value":359},"// Display primary's Red\n",{"type":13,"tag":45,"props":361,"children":362},{"class":47,"line":125},[363,368,372,376,380,384,388],{"type":13,"tag":45,"props":364,"children":365},{"style":63},[366],{"type":18,"value":367}," display_primary_green",{"type":13,"tag":45,"props":369,"children":370},{"style":52},[371],{"type":18,"value":274},{"type":13,"tag":45,"props":373,"children":374},{"style":245},[375],{"type":18,"value":279},{"type":13,"tag":45,"props":377,"children":378},{"style":52},[379],{"type":18,"value":284},{"type":13,"tag":45,"props":381,"children":382},{"style":245},[383],{"type":18,"value":349},{"type":13,"tag":45,"props":385,"children":386},{"style":63},[387],{"type":18,"value":354},{"type":13,"tag":45,"props":389,"children":390},{"style":73},[391],{"type":18,"value":392},"// Display primary's Green\n",{"type":13,"tag":45,"props":394,"children":395},{"class":47,"line":134},[396,401,405,409,413,417,421],{"type":13,"tag":45,"props":397,"children":398},{"style":63},[399],{"type":18,"value":400}," display_primary_blue",{"type":13,"tag":45,"props":402,"children":403},{"style":52},[404],{"type":18,"value":274},{"type":13,"tag":45,"props":406,"children":407},{"style":245},[408],{"type":18,"value":279},{"type":13,"tag":45,"props":410,"children":411},{"style":52},[412],{"type":18,"value":284},{"type":13,"tag":45,"props":414,"children":415},{"style":245},[416],{"type":18,"value":349},{"type":13,"tag":45,"props":418,"children":419},{"style":63},[420],{"type":18,"value":354},{"type":13,"tag":45,"props":422,"children":423},{"style":73},[424],{"type":18,"value":425},"// Display primary's Blue\n",{"type":13,"tag":45,"props":427,"children":428},{"class":47,"line":143},[429,434,438,442,446,450,454],{"type":13,"tag":45,"props":430,"children":431},{"style":63},[432],{"type":18,"value":433}," white_point",{"type":13,"tag":45,"props":435,"children":436},{"style":52},[437],{"type":18,"value":274},{"type":13,"tag":45,"props":439,"children":440},{"style":245},[441],{"type":18,"value":279},{"type":13,"tag":45,"props":443,"children":444},{"style":52},[445],{"type":18,"value":284},{"type":13,"tag":45,"props":447,"children":448},{"style":245},[449],{"type":18,"value":349},{"type":13,"tag":45,"props":451,"children":452},{"style":63},[453],{"type":18,"value":354},{"type":13,"tag":45,"props":455,"children":456},{"style":73},[457],{"type":18,"value":425},{"type":13,"tag":45,"props":459,"children":460},{"class":47,"line":152},[461,466,470,475,479],{"type":13,"tag":45,"props":462,"children":463},{"style":63},[464],{"type":18,"value":465}," max_luminance",{"type":13,"tag":45,"props":467,"children":468},{"style":52},[469],{"type":18,"value":274},{"type":13,"tag":45,"props":471,"children":472},{"style":245},[473],{"type":18,"value":474}," f32",{"type":13,"tag":45,"props":476,"children":477},{"style":63},[478],{"type":18,"value":354},{"type":13,"tag":45,"props":480,"children":481},{"style":73},[482],{"type":18,"value":483},"// Display maximum luminance\n",{"type":13,"tag":45,"props":485,"children":486},{"class":47,"line":166},[487,492,496,500,504],{"type":13,"tag":45,"props":488,"children":489},{"style":63},[490],{"type":18,"value":491}," min_luminance",{"type":13,"tag":45,"props":493,"children":494},{"style":52},[495],{"type":18,"value":274},{"type":13,"tag":45,"props":497,"children":498},{"style":245},[499],{"type":18,"value":474},{"type":13,"tag":45,"props":501,"children":502},{"style":63},[503],{"type":18,"value":354},{"type":13,"tag":45,"props":505,"children":506},{"style":73},[507],{"type":18,"value":508},"// Display minimum luminance\n",{"type":13,"tag":45,"props":510,"children":511},{"class":47,"line":179},[512],{"type":13,"tag":45,"props":513,"children":514},{"style":73},[515],{"type":18,"value":516}," /// From CTA 861.3\n",{"type":13,"tag":45,"props":518,"children":519},{"class":47,"line":188},[520,525,529,533,537],{"type":13,"tag":45,"props":521,"children":522},{"style":63},[523],{"type":18,"value":524}," max_content_light_level",{"type":13,"tag":45,"props":526,"children":527},{"style":52},[528],{"type":18,"value":274},{"type":13,"tag":45,"props":530,"children":531},{"style":245},[532],{"type":18,"value":474},{"type":13,"tag":45,"props":534,"children":535},{"style":63},[536],{"type":18,"value":354},{"type":13,"tag":45,"props":538,"children":539},{"style":73},[540],{"type":18,"value":541},"// Content maximum luminance\n",{"type":13,"tag":45,"props":543,"children":544},{"class":47,"line":201},[545,550,554,558],{"type":13,"tag":45,"props":546,"children":547},{"style":63},[548],{"type":18,"value":549}," max_frame_average_light_level",{"type":13,"tag":45,"props":551,"children":552},{"style":52},[553],{"type":18,"value":274},{"type":13,"tag":45,"props":555,"children":556},{"style":245},[557],{"type":18,"value":474},{"type":13,"tag":45,"props":559,"children":560},{"style":63},[561],{"type":18,"value":294},{"type":13,"tag":45,"props":563,"children":564},{"class":47,"line":214},[565],{"type":13,"tag":45,"props":566,"children":567},{"style":63},[568],{"type":18,"value":569},"}\n",{"type":13,"tag":571,"props":572,"children":573},"ul",{},[574,595,614,632,648,664,680,691,702,713],{"type":13,"tag":575,"props":576,"children":577},"li",{},[578,584,586,593],{"type":13,"tag":21,"props":579,"children":581},{"className":580},[],[582],{"type":18,"value":583},"sType",{"type":18,"value":585}," is a ",{"type":13,"tag":587,"props":588,"children":590},"a",{"href":589},"/man/VkStructureType",[591],{"type":18,"value":592},"VkStructureType",{"type":18,"value":594}," value identifying this structure.",{"type":13,"tag":575,"props":596,"children":597},{},[598,604,606,612],{"type":13,"tag":21,"props":599,"children":601},{"className":600},[],[602],{"type":18,"value":603},"pNext",{"type":18,"value":605}," is ",{"type":13,"tag":21,"props":607,"children":609},{"className":608},[],[610],{"type":18,"value":611},"NULL",{"type":18,"value":613}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":575,"props":615,"children":616},{},[617,623,624,630],{"type":13,"tag":21,"props":618,"children":620},{"className":619},[],[621],{"type":18,"value":622},"displayPrimaryRed",{"type":18,"value":585},{"type":13,"tag":587,"props":625,"children":627},{"href":626},"/man/VkXYColorEXT",[628],{"type":18,"value":629},"VkXYColorEXT",{"type":18,"value":631}," structure specifying the\nred primary of the display used to optimize the content",{"type":13,"tag":575,"props":633,"children":634},{},[635,641,642,646],{"type":13,"tag":21,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":640},"displayPrimaryGreen",{"type":18,"value":585},{"type":13,"tag":587,"props":643,"children":644},{"href":626},[645],{"type":18,"value":629},{"type":18,"value":647}," structure specifying\nthe green primary of the display used to optimize the content",{"type":13,"tag":575,"props":649,"children":650},{},[651,657,658,662],{"type":13,"tag":21,"props":652,"children":654},{"className":653},[],[655],{"type":18,"value":656},"displayPrimaryBlue",{"type":18,"value":585},{"type":13,"tag":587,"props":659,"children":660},{"href":626},[661],{"type":18,"value":629},{"type":18,"value":663}," structure specifying\nthe blue primary of the display used to optimize the content",{"type":13,"tag":575,"props":665,"children":666},{},[667,673,674,678],{"type":13,"tag":21,"props":668,"children":670},{"className":669},[],[671],{"type":18,"value":672},"whitePoint",{"type":18,"value":585},{"type":13,"tag":587,"props":675,"children":676},{"href":626},[677],{"type":18,"value":629},{"type":18,"value":679}," structure specifying the\nwhite-point of the display used to optimize the content",{"type":13,"tag":575,"props":681,"children":682},{},[683,689],{"type":13,"tag":21,"props":684,"children":686},{"className":685},[],[687],{"type":18,"value":688},"maxLuminance",{"type":18,"value":690}," is the maximum luminance of the display used to\noptimize the content in nits",{"type":13,"tag":575,"props":692,"children":693},{},[694,700],{"type":13,"tag":21,"props":695,"children":697},{"className":696},[],[698],{"type":18,"value":699},"minLuminance",{"type":18,"value":701}," is the minimum luminance of the display used to\noptimize the content in nits",{"type":13,"tag":575,"props":703,"children":704},{},[705,711],{"type":13,"tag":21,"props":706,"children":708},{"className":707},[],[709],{"type":18,"value":710},"maxContentLightLevel",{"type":18,"value":712}," is the value in nits of the desired luminance\nfor the brightest pixels in the displayed image.",{"type":13,"tag":575,"props":714,"children":715},{},[716,722],{"type":13,"tag":21,"props":717,"children":719},{"className":718},[],[720],{"type":18,"value":721},"maxFrameAverageLightLevel",{"type":18,"value":723}," is the value in nits of the average\nluminance of the frame which has the brightest average luminance\nanywhere in the content.",{"type":13,"tag":14,"props":725,"children":726},{},[727,729,734],{"type":18,"value":728},"If any of the above values are unknown, they ",{"type":13,"tag":730,"props":731,"children":733},"normative",{"type":732},"can",[],{"type":18,"value":735}," be set to 0.",{"type":13,"tag":737,"props":738,"children":739},"note",{},[740],{"type":13,"tag":14,"props":741,"children":742},{},[743],{"type":18,"value":744},"The meta-data provided here is intended to be used as defined in the SMPTE\n2086, CTA 861.3 and CIE 15:2004 specifications.\nThe validity and use of this data is outside the scope of Vulkan.",{"type":13,"tag":746,"props":747,"children":749},"validity-group",{"name":748},"Valid Usage (Implicit)",[750,777],{"type":13,"tag":751,"props":752,"children":754},"validity-field",{"name":753},"VUID-VkHdrMetadataEXT-sType-sType",[755],{"type":13,"tag":14,"props":756,"children":757},{},[758,763,765,769,771],{"type":13,"tag":21,"props":759,"children":761},{"className":760},[],[762],{"type":18,"value":583},{"type":18,"value":764}," ",{"type":13,"tag":730,"props":766,"children":768},{"type":767},"must",[],{"type":18,"value":770}," be ",{"type":13,"tag":21,"props":772,"children":774},{"className":773},[],[775],{"type":18,"value":776},"VK_STRUCTURE_TYPE_HDR_METADATA_EXT",{"type":13,"tag":751,"props":778,"children":780},{"name":779},"VUID-VkHdrMetadataEXT-pNext-pNext",[781],{"type":13,"tag":14,"props":782,"children":783},{},[784,789,790,793,794],{"type":13,"tag":21,"props":785,"children":787},{"className":786},[],[788],{"type":18,"value":603},{"type":18,"value":764},{"type":13,"tag":730,"props":791,"children":792},{"type":767},[],{"type":18,"value":770},{"type":13,"tag":21,"props":795,"children":797},{"className":796},[],[798],{"type":18,"value":611},{"type":13,"tag":800,"props":801,"children":802},"style",{},[803],{"type":18,"value":804},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":39,"searchDepth":69,"depth":69,"links":806},[],"markdown",1729612450646]