[{"data":1,"prerenderedAt":496},["ShallowReactive",2],{"FQPKZykm9T":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":495,"_id":4},"VkHdrVividDynamicMetadataHUAWEI","specify HDR Vivid dynamic metadata","VK_HUAWEI_hdr_vivid","structs",[],{"type":10,"children":11,"toc":493},"root",[12,64,76,333,397,406,487],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,32,34,39,41,46,48,54,56,62],{"type":18,"value":19},"text","When ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkPhysicalDeviceHdrVividFeaturesHUAWEI#features-hdrVivid",[25],{"type":13,"tag":26,"props":27,"children":29},"code",{"className":28},[],[30],{"type":18,"value":31},"hdrVivid",{"type":18,"value":33}," feature is enabled, HDR Vivid\ndynamic metadata ",{"type":13,"tag":35,"props":36,"children":38},"normative",{"type":37},"can",[],{"type":18,"value":40}," be set to control the reproduction of content by\nincluding the ",{"type":13,"tag":26,"props":42,"children":44},{"className":43},[],[45],{"type":18,"value":4},{"type":18,"value":47}," in the ",{"type":13,"tag":26,"props":49,"children":51},{"className":50},[],[52],{"type":18,"value":53},"pNext",{"type":18,"value":55}," chain\nof ",{"type":13,"tag":21,"props":57,"children":59},{"href":58},"/man/VkHdrMetadataEXT",[60],{"type":18,"value":61},"VkHdrMetadataEXT",{"type":18,"value":63},".",{"type":13,"tag":14,"props":65,"children":66},{},[67,69,74],{"type":18,"value":68},"The ",{"type":13,"tag":26,"props":70,"children":72},{"className":71},[],[73],{"type":18,"value":4},{"type":18,"value":75}," structure is defined as:",{"type":13,"tag":77,"props":78,"children":79},"code-group",{},[80,183],{"type":13,"tag":81,"props":82,"children":88},"pre",{"className":83,"code":84,"filename":85,"language":86,"meta":87,"style":87},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkHdrVividDynamicMetadataHUAWEI {\n VkStructureType sType;\n const void* pNext;\n size_t dynamicMetadataSize;\n const void* pDynamicMetadata;\n} VkHdrVividDynamicMetadataHUAWEI;\n","C","c","",[89],{"type":13,"tag":26,"props":90,"children":91},{"__ignoreMap":87},[92,115,124,143,157,174],{"type":13,"tag":93,"props":94,"children":97},"span",{"class":95,"line":96},"line",1,[98,104,109],{"type":13,"tag":93,"props":99,"children":101},{"style":100},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[102],{"type":18,"value":103},"typedef",{"type":13,"tag":93,"props":105,"children":106},{"style":100},[107],{"type":18,"value":108}," struct",{"type":13,"tag":93,"props":110,"children":112},{"style":111},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[113],{"type":18,"value":114}," VkHdrVividDynamicMetadataHUAWEI {\n",{"type":13,"tag":93,"props":116,"children":118},{"class":95,"line":117},2,[119],{"type":13,"tag":93,"props":120,"children":121},{"style":111},[122],{"type":18,"value":123}," VkStructureType sType;\n",{"type":13,"tag":93,"props":125,"children":127},{"class":95,"line":126},3,[128,133,138],{"type":13,"tag":93,"props":129,"children":130},{"style":100},[131],{"type":18,"value":132}," const",{"type":13,"tag":93,"props":134,"children":135},{"style":100},[136],{"type":18,"value":137}," void*",{"type":13,"tag":93,"props":139,"children":140},{"style":111},[141],{"type":18,"value":142}," pNext;\n",{"type":13,"tag":93,"props":144,"children":146},{"class":95,"line":145},4,[147,152],{"type":13,"tag":93,"props":148,"children":149},{"style":100},[150],{"type":18,"value":151}," size_t",{"type":13,"tag":93,"props":153,"children":154},{"style":111},[155],{"type":18,"value":156}," dynamicMetadataSize;\n",{"type":13,"tag":93,"props":158,"children":160},{"class":95,"line":159},5,[161,165,169],{"type":13,"tag":93,"props":162,"children":163},{"style":100},[164],{"type":18,"value":132},{"type":13,"tag":93,"props":166,"children":167},{"style":100},[168],{"type":18,"value":137},{"type":13,"tag":93,"props":170,"children":171},{"style":111},[172],{"type":18,"value":173}," pDynamicMetadata;\n",{"type":13,"tag":93,"props":175,"children":177},{"class":95,"line":176},6,[178],{"type":13,"tag":93,"props":179,"children":180},{"style":111},[181],{"type":18,"value":182},"} VkHdrVividDynamicMetadataHUAWEI;\n",{"type":13,"tag":81,"props":184,"children":189},{"className":185,"code":186,"filename":187,"language":188,"meta":87,"style":87},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct HdrVividDynamicMetadataHUAWEI {\n s_type: vk::StructureType,\n p_next: *const c_void,\n dynamic_metadata_size: usize, // Specified in bytes\n p_dynamic_metadata: *const c_void, // Binary code of size dynamicMetadataSize\n}\n","Rust","rs",[190],{"type":13,"tag":26,"props":191,"children":192},{"__ignoreMap":87},[193,216,249,271,299,325],{"type":13,"tag":93,"props":194,"children":195},{"class":95,"line":96},[196,201,205,211],{"type":13,"tag":93,"props":197,"children":198},{"style":100},[199],{"type":18,"value":200},"pub",{"type":13,"tag":93,"props":202,"children":203},{"style":100},[204],{"type":18,"value":108},{"type":13,"tag":93,"props":206,"children":208},{"style":207},"--shiki-default:#953800;--shiki-dark:#FFA657",[209],{"type":18,"value":210}," HdrVividDynamicMetadataHUAWEI",{"type":13,"tag":93,"props":212,"children":213},{"style":111},[214],{"type":18,"value":215}," {\n",{"type":13,"tag":93,"props":217,"children":218},{"class":95,"line":117},[219,224,229,234,239,244],{"type":13,"tag":93,"props":220,"children":221},{"style":111},[222],{"type":18,"value":223}," s_type",{"type":13,"tag":93,"props":225,"children":226},{"style":100},[227],{"type":18,"value":228},":",{"type":13,"tag":93,"props":230,"children":231},{"style":207},[232],{"type":18,"value":233}," vk",{"type":13,"tag":93,"props":235,"children":236},{"style":100},[237],{"type":18,"value":238},"::",{"type":13,"tag":93,"props":240,"children":241},{"style":207},[242],{"type":18,"value":243},"StructureType",{"type":13,"tag":93,"props":245,"children":246},{"style":111},[247],{"type":18,"value":248},",\n",{"type":13,"tag":93,"props":250,"children":251},{"class":95,"line":126},[252,257,261,266],{"type":13,"tag":93,"props":253,"children":254},{"style":111},[255],{"type":18,"value":256}," p_next",{"type":13,"tag":93,"props":258,"children":259},{"style":100},[260],{"type":18,"value":228},{"type":13,"tag":93,"props":262,"children":263},{"style":100},[264],{"type":18,"value":265}," *const",{"type":13,"tag":93,"props":267,"children":268},{"style":111},[269],{"type":18,"value":270}," c_void,\n",{"type":13,"tag":93,"props":272,"children":273},{"class":95,"line":145},[274,279,283,288,293],{"type":13,"tag":93,"props":275,"children":276},{"style":111},[277],{"type":18,"value":278}," dynamic_metadata_size",{"type":13,"tag":93,"props":280,"children":281},{"style":100},[282],{"type":18,"value":228},{"type":13,"tag":93,"props":284,"children":285},{"style":207},[286],{"type":18,"value":287}," usize",{"type":13,"tag":93,"props":289,"children":290},{"style":111},[291],{"type":18,"value":292},", ",{"type":13,"tag":93,"props":294,"children":296},{"style":295},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[297],{"type":18,"value":298},"// Specified in bytes\n",{"type":13,"tag":93,"props":300,"children":301},{"class":95,"line":159},[302,307,311,315,320],{"type":13,"tag":93,"props":303,"children":304},{"style":111},[305],{"type":18,"value":306}," p_dynamic_metadata",{"type":13,"tag":93,"props":308,"children":309},{"style":100},[310],{"type":18,"value":228},{"type":13,"tag":93,"props":312,"children":313},{"style":100},[314],{"type":18,"value":265},{"type":13,"tag":93,"props":316,"children":317},{"style":111},[318],{"type":18,"value":319}," c_void, ",{"type":13,"tag":93,"props":321,"children":322},{"style":295},[323],{"type":18,"value":324},"// Binary code of size dynamicMetadataSize\n",{"type":13,"tag":93,"props":326,"children":327},{"class":95,"line":176},[328],{"type":13,"tag":93,"props":329,"children":330},{"style":111},[331],{"type":18,"value":332},"}\n",{"type":13,"tag":334,"props":335,"children":336},"ul",{},[337,357,375,386],{"type":13,"tag":338,"props":339,"children":340},"li",{},[341,347,349,355],{"type":13,"tag":26,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"sType",{"type":18,"value":348}," is a ",{"type":13,"tag":21,"props":350,"children":352},{"href":351},"/man/VkStructureType",[353],{"type":18,"value":354},"VkStructureType",{"type":18,"value":356}," value identifying this structure.",{"type":13,"tag":338,"props":358,"children":359},{},[360,365,367,373],{"type":13,"tag":26,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":53},{"type":18,"value":366}," is ",{"type":13,"tag":26,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":372},"NULL",{"type":18,"value":374}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":338,"props":376,"children":377},{},[378,384],{"type":13,"tag":26,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"dynamicMetadataSize",{"type":18,"value":385}," is the size in bytes of the dynamic metadata.",{"type":13,"tag":338,"props":387,"children":388},{},[389,395],{"type":13,"tag":26,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"pDynamicMetadata",{"type":18,"value":396}," is a pointer to the dynamic metadata.",{"type":13,"tag":398,"props":399,"children":400},"note",{},[401],{"type":13,"tag":14,"props":402,"children":403},{},[404],{"type":18,"value":405},"The HDR Vivid metadata is intended to be used as defined in the T/UWA\n005.1-2022 specification.\nThe validity and use of this data is outside the scope of Vulkan.",{"type":13,"tag":407,"props":408,"children":410},"validity-group",{"name":409},"Valid Usage (Implicit)",[411,438,463],{"type":13,"tag":412,"props":413,"children":415},"validity-field",{"name":414},"VUID-VkHdrVividDynamicMetadataHUAWEI-sType-sType",[416],{"type":13,"tag":14,"props":417,"children":418},{},[419,424,426,430,432],{"type":13,"tag":26,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":346},{"type":18,"value":425}," ",{"type":13,"tag":35,"props":427,"children":429},{"type":428},"must",[],{"type":18,"value":431}," be ",{"type":13,"tag":26,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI",{"type":13,"tag":412,"props":439,"children":441},{"name":440},"VUID-VkHdrVividDynamicMetadataHUAWEI-pDynamicMetadata-parameter",[442],{"type":13,"tag":14,"props":443,"children":444},{},[445,450,451,454,456,461],{"type":13,"tag":26,"props":446,"children":448},{"className":447},[],[449],{"type":18,"value":394},{"type":18,"value":425},{"type":13,"tag":35,"props":452,"children":453},{"type":428},[],{"type":18,"value":455}," be a valid pointer to an array of ",{"type":13,"tag":26,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":383},{"type":18,"value":462}," bytes",{"type":13,"tag":412,"props":464,"children":466},{"name":465},"VUID-VkHdrVividDynamicMetadataHUAWEI-dynamicMetadataSize-arraylength",[467],{"type":13,"tag":14,"props":468,"children":469},{},[470,475,476,479,481],{"type":13,"tag":26,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":383},{"type":18,"value":425},{"type":13,"tag":35,"props":477,"children":478},{"type":428},[],{"type":18,"value":480}," be greater than ",{"type":13,"tag":26,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"0",{"type":13,"tag":488,"props":489,"children":490},"style",{},[491],{"type":18,"value":492},"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":87,"searchDepth":117,"depth":117,"links":494},[],"markdown",1744876549645]