[{"data":1,"prerenderedAt":609},["ShallowReactive",2],{"NwTvTswC6l":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":13,"type":15,"xrefs":16,"body":17,"_type":608,"_id":4},"vkCmdCopyMicromapEXT","Copy a micromap","VK_EXT_opacity_micromap",[8,9],"primary","secondary","outside",[12],"compute",[14],"action","protos",[],{"type":18,"children":19,"toc":606},"root",[20,28,224,259,288,328,363,421,554,600],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25],{"type":26,"value":27},"text","To copy a micromap call:",{"type":21,"tag":29,"props":30,"children":31},"code-group",{},[32,118],{"type":21,"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","void vkCmdCopyMicromapEXT(\n VkCommandBuffer commandBuffer,\n const VkCopyMicromapInfoEXT* pInfo);\n","C","c","",[41],{"type":21,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,69,89],{"type":21,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,63],{"type":21,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":26,"value":56},"void",{"type":21,"tag":46,"props":58,"children":60},{"style":59},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[61],{"type":26,"value":62}," vkCmdCopyMicromapEXT",{"type":21,"tag":46,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":26,"value":68},"(\n",{"type":21,"tag":46,"props":70,"children":72},{"class":48,"line":71},2,[73,78,84],{"type":21,"tag":46,"props":74,"children":75},{"style":65},[76],{"type":26,"value":77}," VkCommandBuffer ",{"type":21,"tag":46,"props":79,"children":81},{"style":80},"--shiki-default:#953800;--shiki-dark:#FFA657",[82],{"type":26,"value":83},"commandBuffer",{"type":21,"tag":46,"props":85,"children":86},{"style":65},[87],{"type":26,"value":88},",\n",{"type":21,"tag":46,"props":90,"children":92},{"class":48,"line":91},3,[93,98,103,108,113],{"type":21,"tag":46,"props":94,"children":95},{"style":53},[96],{"type":26,"value":97}," const",{"type":21,"tag":46,"props":99,"children":100},{"style":65},[101],{"type":26,"value":102}," VkCopyMicromapInfoEXT",{"type":21,"tag":46,"props":104,"children":105},{"style":53},[106],{"type":26,"value":107},"*",{"type":21,"tag":46,"props":109,"children":110},{"style":80},[111],{"type":26,"value":112}," pInfo",{"type":21,"tag":46,"props":114,"children":115},{"style":65},[116],{"type":26,"value":117},");\n",{"type":21,"tag":33,"props":119,"children":124},{"className":120,"code":121,"filename":122,"language":123,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_copy_micromap_ext(\n command_buffer: vk::CommandBuffer,\n p_info: *const vk::CopyMicromapInfoEXT,\n);\n","Rust","rs",[125],{"type":21,"tag":42,"props":126,"children":127},{"__ignoreMap":39},[128,150,182,216],{"type":21,"tag":46,"props":129,"children":130},{"class":48,"line":49},[131,136,141,146],{"type":21,"tag":46,"props":132,"children":133},{"style":53},[134],{"type":26,"value":135},"pub",{"type":21,"tag":46,"props":137,"children":138},{"style":53},[139],{"type":26,"value":140}," fn",{"type":21,"tag":46,"props":142,"children":143},{"style":59},[144],{"type":26,"value":145}," cmd_copy_micromap_ext",{"type":21,"tag":46,"props":147,"children":148},{"style":65},[149],{"type":26,"value":68},{"type":21,"tag":46,"props":151,"children":152},{"class":48,"line":71},[153,158,163,168,173,178],{"type":21,"tag":46,"props":154,"children":155},{"style":65},[156],{"type":26,"value":157}," command_buffer",{"type":21,"tag":46,"props":159,"children":160},{"style":53},[161],{"type":26,"value":162},":",{"type":21,"tag":46,"props":164,"children":165},{"style":80},[166],{"type":26,"value":167}," vk",{"type":21,"tag":46,"props":169,"children":170},{"style":53},[171],{"type":26,"value":172},"::",{"type":21,"tag":46,"props":174,"children":175},{"style":80},[176],{"type":26,"value":177},"CommandBuffer",{"type":21,"tag":46,"props":179,"children":180},{"style":65},[181],{"type":26,"value":88},{"type":21,"tag":46,"props":183,"children":184},{"class":48,"line":91},[185,190,194,199,203,207,212],{"type":21,"tag":46,"props":186,"children":187},{"style":65},[188],{"type":26,"value":189}," p_info",{"type":21,"tag":46,"props":191,"children":192},{"style":53},[193],{"type":26,"value":162},{"type":21,"tag":46,"props":195,"children":196},{"style":53},[197],{"type":26,"value":198}," *const",{"type":21,"tag":46,"props":200,"children":201},{"style":80},[202],{"type":26,"value":167},{"type":21,"tag":46,"props":204,"children":205},{"style":53},[206],{"type":26,"value":172},{"type":21,"tag":46,"props":208,"children":209},{"style":80},[210],{"type":26,"value":211},"CopyMicromapInfoEXT",{"type":21,"tag":46,"props":213,"children":214},{"style":65},[215],{"type":26,"value":88},{"type":21,"tag":46,"props":217,"children":219},{"class":48,"line":218},4,[220],{"type":21,"tag":46,"props":221,"children":222},{"style":65},[223],{"type":26,"value":117},{"type":21,"tag":225,"props":226,"children":227},"ul",{},[228,239],{"type":21,"tag":229,"props":230,"children":231},"li",{},[232,237],{"type":21,"tag":42,"props":233,"children":235},{"className":234},[],[236],{"type":26,"value":83},{"type":26,"value":238}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":229,"props":240,"children":241},{},[242,248,250,257],{"type":21,"tag":42,"props":243,"children":245},{"className":244},[],[246],{"type":26,"value":247},"pInfo",{"type":26,"value":249}," is a pointer to a ",{"type":21,"tag":251,"props":252,"children":254},"a",{"href":253},"/man/VkCopyMicromapInfoEXT",[255],{"type":26,"value":256},"VkCopyMicromapInfoEXT",{"type":26,"value":258}," structure\ndefining the copy operation.",{"type":21,"tag":22,"props":260,"children":261},{},[262,264,270,272,278,280,286],{"type":26,"value":263},"This command copies the ",{"type":21,"tag":42,"props":265,"children":267},{"className":266},[],[268],{"type":26,"value":269},"pInfo→src",{"type":26,"value":271}," micromap to the ",{"type":21,"tag":42,"props":273,"children":275},{"className":274},[],[276],{"type":26,"value":277},"pInfo→dst",{"type":26,"value":279},"\nmicromap in the manner specified by ",{"type":21,"tag":42,"props":281,"children":283},{"className":282},[],[284],{"type":26,"value":285},"pInfo→mode",{"type":26,"value":287},".",{"type":21,"tag":22,"props":289,"children":290},{},[291,293,298,300,305,307,312,314,320,322],{"type":26,"value":292},"Accesses to ",{"type":21,"tag":42,"props":294,"children":296},{"className":295},[],[297],{"type":26,"value":269},{"type":26,"value":299}," and ",{"type":21,"tag":42,"props":301,"children":303},{"className":302},[],[304],{"type":26,"value":277},{"type":26,"value":306}," ",{"type":21,"tag":308,"props":309,"children":311},"normative",{"type":310},"must",[],{"type":26,"value":313}," be\n",{"type":21,"tag":251,"props":315,"children":317},{"href":316},"/chapters/synchronization#synchronization-dependencies",[318],{"type":26,"value":319},"synchronized",{"type":26,"value":321}," with the\n",{"type":21,"tag":42,"props":323,"children":325},{"className":324},[],[326],{"type":26,"value":327},"VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT",{"type":21,"tag":22,"props":329,"children":330},{},[331,337,339,345,347,353,355,361],{"type":21,"tag":251,"props":332,"children":334},{"href":333},"/chapters/synchronization#synchronization-pipeline-stages",[335],{"type":26,"value":336},"pipeline stage",{"type":26,"value":338}," and an\n",{"type":21,"tag":251,"props":340,"children":342},{"href":341},"/chapters/synchronization#synchronization-access-types",[343],{"type":26,"value":344},"access type",{"type":26,"value":346}," of\n",{"type":21,"tag":42,"props":348,"children":350},{"className":349},[],[351],{"type":26,"value":352},"VK_ACCESS_2_MICROMAP_READ_BIT_EXT",{"type":26,"value":354}," or\n",{"type":21,"tag":42,"props":356,"children":358},{"className":357},[],[359],{"type":26,"value":360},"VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT",{"type":26,"value":362}," as appropriate.",{"type":21,"tag":364,"props":365,"children":367},"validity-group",{"name":366},"Valid Usage",[368,397],{"type":21,"tag":369,"props":370,"children":372},"validity-field",{"name":371},"VUID-vkCmdCopyMicromapEXT-buffer-07529",[373],{"type":21,"tag":22,"props":374,"children":375},{},[376,378,384,386,391,392,395],{"type":26,"value":377},"The ",{"type":21,"tag":42,"props":379,"children":381},{"className":380},[],[382],{"type":26,"value":383},"buffer",{"type":26,"value":385}," used to create ",{"type":21,"tag":42,"props":387,"children":389},{"className":388},[],[390],{"type":26,"value":269},{"type":26,"value":306},{"type":21,"tag":308,"props":393,"children":394},{"type":310},[],{"type":26,"value":396}," be bound to\ndevice memory",{"type":21,"tag":369,"props":398,"children":400},{"name":399},"VUID-vkCmdCopyMicromapEXT-buffer-07530",[401],{"type":21,"tag":22,"props":402,"children":403},{},[404,405,410,411,416,417,420],{"type":26,"value":377},{"type":21,"tag":42,"props":406,"children":408},{"className":407},[],[409],{"type":26,"value":383},{"type":26,"value":385},{"type":21,"tag":42,"props":412,"children":414},{"className":413},[],[415],{"type":26,"value":277},{"type":26,"value":306},{"type":21,"tag":308,"props":418,"children":419},{"type":310},[],{"type":26,"value":396},{"type":21,"tag":364,"props":422,"children":424},{"name":423},"Valid Usage (Implicit)",[425,451,475,499,527,541],{"type":21,"tag":369,"props":426,"children":428},{"name":427},"VUID-vkCmdCopyMicromapEXT-commandBuffer-parameter",[429],{"type":21,"tag":22,"props":430,"children":431},{},[432,437,438,441,443,449],{"type":21,"tag":42,"props":433,"children":435},{"className":434},[],[436],{"type":26,"value":83},{"type":26,"value":306},{"type":21,"tag":308,"props":439,"children":440},{"type":310},[],{"type":26,"value":442}," be a valid ",{"type":21,"tag":251,"props":444,"children":446},{"href":445},"/man/VkCommandBuffer",[447],{"type":26,"value":448},"VkCommandBuffer",{"type":26,"value":450}," handle",{"type":21,"tag":369,"props":452,"children":454},{"name":453},"VUID-vkCmdCopyMicromapEXT-pInfo-parameter",[455],{"type":21,"tag":22,"props":456,"children":457},{},[458,463,464,467,469,473],{"type":21,"tag":42,"props":459,"children":461},{"className":460},[],[462],{"type":26,"value":247},{"type":26,"value":306},{"type":21,"tag":308,"props":465,"children":466},{"type":310},[],{"type":26,"value":468}," be a valid pointer to a valid ",{"type":21,"tag":251,"props":470,"children":471},{"href":253},[472],{"type":26,"value":256},{"type":26,"value":474}," structure",{"type":21,"tag":369,"props":476,"children":478},{"name":477},"VUID-vkCmdCopyMicromapEXT-commandBuffer-recording",[479],{"type":21,"tag":22,"props":480,"children":481},{},[482,487,488,491,493],{"type":21,"tag":42,"props":483,"children":485},{"className":484},[],[486],{"type":26,"value":83},{"type":26,"value":306},{"type":21,"tag":308,"props":489,"children":490},{"type":310},[],{"type":26,"value":492}," be in the ",{"type":21,"tag":251,"props":494,"children":496},{"href":495},"/chapters/commandbuffers#commandbuffers-lifecycle",[497],{"type":26,"value":498},"recording state",{"type":21,"tag":369,"props":500,"children":502},{"name":501},"VUID-vkCmdCopyMicromapEXT-commandBuffer-cmdpool",[503],{"type":21,"tag":22,"props":504,"children":505},{},[506,507,513,515,520,522,525],{"type":26,"value":377},{"type":21,"tag":42,"props":508,"children":510},{"className":509},[],[511],{"type":26,"value":512},"VkCommandPool",{"type":26,"value":514}," that ",{"type":21,"tag":42,"props":516,"children":518},{"className":517},[],[519],{"type":26,"value":83},{"type":26,"value":521}," was allocated from ",{"type":21,"tag":308,"props":523,"children":524},{"type":310},[],{"type":26,"value":526}," support compute operations",{"type":21,"tag":369,"props":528,"children":530},{"name":529},"VUID-vkCmdCopyMicromapEXT-renderpass",[531],{"type":21,"tag":22,"props":532,"children":533},{},[534,536,539],{"type":26,"value":535},"This command ",{"type":21,"tag":308,"props":537,"children":538},{"type":310},[],{"type":26,"value":540}," only be called outside of a render pass instance",{"type":21,"tag":369,"props":542,"children":544},{"name":543},"VUID-vkCmdCopyMicromapEXT-videocoding",[545],{"type":21,"tag":22,"props":546,"children":547},{},[548,549,552],{"type":26,"value":535},{"type":21,"tag":308,"props":550,"children":551},{"type":310},[],{"type":26,"value":553}," only be called outside of a video coding scope",{"type":21,"tag":555,"props":556,"children":558},"validity-box",{"name":557},"Host Synchronization",[559],{"type":21,"tag":225,"props":560,"children":561},{},[562,578],{"type":21,"tag":229,"props":563,"children":564},{},[565,567,572,573,576],{"type":26,"value":566},"Host access to ",{"type":21,"tag":42,"props":568,"children":570},{"className":569},[],[571],{"type":26,"value":83},{"type":26,"value":306},{"type":21,"tag":308,"props":574,"children":575},{"type":310},[],{"type":26,"value":577}," be externally synchronized",{"type":21,"tag":229,"props":579,"children":580},{},[581,583,588,589,594,595,598],{"type":26,"value":582},"Host access to the ",{"type":21,"tag":42,"props":584,"children":586},{"className":585},[],[587],{"type":26,"value":512},{"type":26,"value":514},{"type":21,"tag":42,"props":590,"children":592},{"className":591},[],[593],{"type":26,"value":83},{"type":26,"value":521},{"type":21,"tag":308,"props":596,"children":597},{"type":310},[],{"type":26,"value":599}," be externally synchronized\n::",{"type":21,"tag":601,"props":602,"children":603},"style",{},[604],{"type":26,"value":605},"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":71,"depth":71,"links":607},[],"markdown",1725732599255]