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