[{"data":1,"prerenderedAt":435},["ShallowReactive",2],{"zUYCcUNc7D":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":434,"_id":4},"VkSwapchainDisplayNativeHdrCreateInfoAMD","Structure specifying display native HDR parameters of a newly created swapchain object","VK_AMD_display_native_hdr","structs",[],{"type":10,"children":11,"toc":432},"root",[12,45,57,267,320,351,384,426],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkSwapchainCreateInfoKHR",[34],{"type":18,"value":35},"VkSwapchainCreateInfoKHR",{"type":18,"value":37}," includes a\n",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," structure, then that\nstructure includes additional swapchain creation parameters specific to\ndisplay native HDR support.",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The ",{"type":13,"tag":21,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure is defined as:",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,142],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkSwapchainDisplayNativeHdrCreateInfoAMD {\n VkStructureType sType;\n const void* pNext;\n VkBool32 localDimmingEnable;\n} VkSwapchainDisplayNativeHdrCreateInfoAMD;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,133],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[83],{"type":18,"value":84},"typedef",{"type":13,"tag":74,"props":86,"children":87},{"style":81},[88],{"type":18,"value":89}," struct",{"type":13,"tag":74,"props":91,"children":93},{"style":92},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[94],{"type":18,"value":95}," VkSwapchainDisplayNativeHdrCreateInfoAMD {\n",{"type":13,"tag":74,"props":97,"children":99},{"class":76,"line":98},2,[100],{"type":13,"tag":74,"props":101,"children":102},{"style":92},[103],{"type":18,"value":104}," VkStructureType sType;\n",{"type":13,"tag":74,"props":106,"children":108},{"class":76,"line":107},3,[109,114,119],{"type":13,"tag":74,"props":110,"children":111},{"style":81},[112],{"type":18,"value":113}," const",{"type":13,"tag":74,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," void*",{"type":13,"tag":74,"props":120,"children":121},{"style":92},[122],{"type":18,"value":123}," pNext;\n",{"type":13,"tag":74,"props":125,"children":127},{"class":76,"line":126},4,[128],{"type":13,"tag":74,"props":129,"children":130},{"style":92},[131],{"type":18,"value":132}," VkBool32 localDimmingEnable;\n",{"type":13,"tag":74,"props":134,"children":136},{"class":76,"line":135},5,[137],{"type":13,"tag":74,"props":138,"children":139},{"style":92},[140],{"type":18,"value":141},"} VkSwapchainDisplayNativeHdrCreateInfoAMD;\n",{"type":13,"tag":62,"props":143,"children":148},{"className":144,"code":145,"filename":146,"language":147,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SwapchainDisplayNativeHdrCreateInfoAMD {\n s_type: vk::StructureType,\n p_next: *const c_void,\n local_dimming_enable: vk::Bool32,\n}\n","Rust","rs",[149],{"type":13,"tag":21,"props":150,"children":151},{"__ignoreMap":68},[152,175,208,230,259],{"type":13,"tag":74,"props":153,"children":154},{"class":76,"line":77},[155,160,164,170],{"type":13,"tag":74,"props":156,"children":157},{"style":81},[158],{"type":18,"value":159},"pub",{"type":13,"tag":74,"props":161,"children":162},{"style":81},[163],{"type":18,"value":89},{"type":13,"tag":74,"props":165,"children":167},{"style":166},"--shiki-default:#953800;--shiki-dark:#FFA657",[168],{"type":18,"value":169}," SwapchainDisplayNativeHdrCreateInfoAMD",{"type":13,"tag":74,"props":171,"children":172},{"style":92},[173],{"type":18,"value":174}," {\n",{"type":13,"tag":74,"props":176,"children":177},{"class":76,"line":98},[178,183,188,193,198,203],{"type":13,"tag":74,"props":179,"children":180},{"style":92},[181],{"type":18,"value":182}," s_type",{"type":13,"tag":74,"props":184,"children":185},{"style":81},[186],{"type":18,"value":187},":",{"type":13,"tag":74,"props":189,"children":190},{"style":166},[191],{"type":18,"value":192}," vk",{"type":13,"tag":74,"props":194,"children":195},{"style":81},[196],{"type":18,"value":197},"::",{"type":13,"tag":74,"props":199,"children":200},{"style":166},[201],{"type":18,"value":202},"StructureType",{"type":13,"tag":74,"props":204,"children":205},{"style":92},[206],{"type":18,"value":207},",\n",{"type":13,"tag":74,"props":209,"children":210},{"class":76,"line":107},[211,216,220,225],{"type":13,"tag":74,"props":212,"children":213},{"style":92},[214],{"type":18,"value":215}," p_next",{"type":13,"tag":74,"props":217,"children":218},{"style":81},[219],{"type":18,"value":187},{"type":13,"tag":74,"props":221,"children":222},{"style":81},[223],{"type":18,"value":224}," *const",{"type":13,"tag":74,"props":226,"children":227},{"style":92},[228],{"type":18,"value":229}," c_void,\n",{"type":13,"tag":74,"props":231,"children":232},{"class":76,"line":126},[233,238,242,246,250,255],{"type":13,"tag":74,"props":234,"children":235},{"style":92},[236],{"type":18,"value":237}," local_dimming_enable",{"type":13,"tag":74,"props":239,"children":240},{"style":81},[241],{"type":18,"value":187},{"type":13,"tag":74,"props":243,"children":244},{"style":166},[245],{"type":18,"value":192},{"type":13,"tag":74,"props":247,"children":248},{"style":81},[249],{"type":18,"value":197},{"type":13,"tag":74,"props":251,"children":252},{"style":166},[253],{"type":18,"value":254},"Bool32",{"type":13,"tag":74,"props":256,"children":257},{"style":92},[258],{"type":18,"value":207},{"type":13,"tag":74,"props":260,"children":261},{"class":76,"line":135},[262],{"type":13,"tag":74,"props":263,"children":264},{"style":92},[265],{"type":18,"value":266},"}\n",{"type":13,"tag":268,"props":269,"children":270},"ul",{},[271,291,309],{"type":13,"tag":272,"props":273,"children":274},"li",{},[275,281,283,289],{"type":13,"tag":21,"props":276,"children":278},{"className":277},[],[279],{"type":18,"value":280},"sType",{"type":18,"value":282}," is a ",{"type":13,"tag":30,"props":284,"children":286},{"href":285},"/man/VkStructureType",[287],{"type":18,"value":288},"VkStructureType",{"type":18,"value":290}," value identifying this structure.",{"type":13,"tag":272,"props":292,"children":293},{},[294,299,301,307],{"type":13,"tag":21,"props":295,"children":297},{"className":296},[],[298],{"type":18,"value":26},{"type":18,"value":300}," is ",{"type":13,"tag":21,"props":302,"children":304},{"className":303},[],[305],{"type":18,"value":306},"NULL",{"type":18,"value":308}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":272,"props":310,"children":311},{},[312,318],{"type":13,"tag":21,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":317},"localDimmingEnable",{"type":18,"value":319}," specifies whether local dimming is enabled for\nthe swapchain.",{"type":13,"tag":14,"props":321,"children":322},{},[323,324,329,330,334,336,341,343,349],{"type":18,"value":19},{"type":13,"tag":21,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":331,"children":332},{"href":32},[333],{"type":18,"value":35},{"type":18,"value":335}," does not include\nthis structure, the default value for ",{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":317},{"type":18,"value":342}," is\n",{"type":13,"tag":21,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":348},"VK_TRUE",{"type":18,"value":350},", meaning local dimming is initially enabled for the swapchain.",{"type":13,"tag":352,"props":353,"children":355},"validity-group",{"name":354},"Valid Usage (Implicit)",[356],{"type":13,"tag":357,"props":358,"children":360},"validity-field",{"name":359},"VUID-VkSwapchainDisplayNativeHdrCreateInfoAMD-sType-sType",[361],{"type":13,"tag":14,"props":362,"children":363},{},[364,369,371,376,378],{"type":13,"tag":21,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":280},{"type":18,"value":370}," ",{"type":13,"tag":372,"props":373,"children":375},"normative",{"type":374},"must",[],{"type":18,"value":377}," be ",{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD",{"type":13,"tag":352,"props":385,"children":387},{"name":386},"Valid Usage",[388],{"type":13,"tag":357,"props":389,"children":391},{"name":390},"VUID-VkSwapchainDisplayNativeHdrCreateInfoAMD-localDimmingEnable-04449",[392],{"type":13,"tag":14,"props":393,"children":394},{},[395,397,402,404,409,411,417,418,424],{"type":18,"value":396},"It is only valid to set ",{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":317},{"type":18,"value":403}," to ",{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":348},{"type":18,"value":410}," if\n",{"type":13,"tag":30,"props":412,"children":414},{"href":413},"/man/VkDisplayNativeHdrSurfaceCapabilitiesAMD",[415],{"type":18,"value":416},"VkDisplayNativeHdrSurfaceCapabilitiesAMD",{"type":18,"value":197},{"type":13,"tag":21,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"localDimmingSupport",{"type":18,"value":425},"\nis supported",{"type":13,"tag":427,"props":428,"children":429},"style",{},[430],{"type":18,"value":431},"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":68,"searchDepth":98,"depth":98,"links":433},[],"markdown",1725732589859]