[{"data":1,"prerenderedAt":670},["ShallowReactive",2],{"D4ek89dXv2":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":669,"_id":4},"vkCopyMicromapEXT","Copy a micromap on the host","VK_EXT_opacity_micromap","protos",[],{"type":10,"children":11,"toc":667},"root",[12,20,305,366,379,543,661],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To copy or compact a micromap on the host, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,127],{"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","VkResult vkCopyMicromapEXT(\n VkDevice device,\n VkDeferredOperationKHR deferredOperation,\n const VkCopyMicromapInfoEXT* pInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkDeferredOperationKHR ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"deferredOperation",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":78},{"type":13,"tag":38,"props":98,"children":100},{"class":40,"line":99},4,[101,107,112,117,122],{"type":13,"tag":38,"props":102,"children":104},{"style":103},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[105],{"type":18,"value":106}," const",{"type":13,"tag":38,"props":108,"children":109},{"style":45},[110],{"type":18,"value":111}," VkCopyMicromapInfoEXT",{"type":13,"tag":38,"props":113,"children":114},{"style":103},[115],{"type":18,"value":116},"*",{"type":13,"tag":38,"props":118,"children":119},{"style":70},[120],{"type":18,"value":121}," pInfo",{"type":13,"tag":38,"props":123,"children":124},{"style":45},[125],{"type":18,"value":126},");\n",{"type":13,"tag":25,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn copy_micromap_ext(\n device: crate :: vk :: vk::Device,\n deferred_operation: vk::DeferredOperationKHR,\n p_info: *const vk::CopyMicromapInfoEXT,\n) -> vk::Result;\n","Rust","rs",[134],{"type":13,"tag":34,"props":135,"children":136},{"__ignoreMap":31},[137,159,210,239,273],{"type":13,"tag":38,"props":138,"children":139},{"class":40,"line":41},[140,145,150,155],{"type":13,"tag":38,"props":141,"children":142},{"style":103},[143],{"type":18,"value":144},"pub",{"type":13,"tag":38,"props":146,"children":147},{"style":103},[148],{"type":18,"value":149}," fn",{"type":13,"tag":38,"props":151,"children":152},{"style":51},[153],{"type":18,"value":154}," copy_micromap_ext",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":58},{"type":13,"tag":38,"props":160,"children":161},{"class":40,"line":61},[162,167,172,177,182,187,192,197,201,206],{"type":13,"tag":38,"props":163,"children":164},{"style":45},[165],{"type":18,"value":166}," device",{"type":13,"tag":38,"props":168,"children":169},{"style":103},[170],{"type":18,"value":171},":",{"type":13,"tag":38,"props":173,"children":174},{"style":103},[175],{"type":18,"value":176}," crate",{"type":13,"tag":38,"props":178,"children":179},{"style":103},[180],{"type":18,"value":181}," ::",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":186}," vk ",{"type":13,"tag":38,"props":188,"children":189},{"style":103},[190],{"type":18,"value":191},"::",{"type":13,"tag":38,"props":193,"children":194},{"style":70},[195],{"type":18,"value":196}," vk",{"type":13,"tag":38,"props":198,"children":199},{"style":103},[200],{"type":18,"value":191},{"type":13,"tag":38,"props":202,"children":203},{"style":70},[204],{"type":18,"value":205},"Device",{"type":13,"tag":38,"props":207,"children":208},{"style":45},[209],{"type":18,"value":78},{"type":13,"tag":38,"props":211,"children":212},{"class":40,"line":81},[213,218,222,226,230,235],{"type":13,"tag":38,"props":214,"children":215},{"style":45},[216],{"type":18,"value":217}," deferred_operation",{"type":13,"tag":38,"props":219,"children":220},{"style":103},[221],{"type":18,"value":171},{"type":13,"tag":38,"props":223,"children":224},{"style":70},[225],{"type":18,"value":196},{"type":13,"tag":38,"props":227,"children":228},{"style":103},[229],{"type":18,"value":191},{"type":13,"tag":38,"props":231,"children":232},{"style":70},[233],{"type":18,"value":234},"DeferredOperationKHR",{"type":13,"tag":38,"props":236,"children":237},{"style":45},[238],{"type":18,"value":78},{"type":13,"tag":38,"props":240,"children":241},{"class":40,"line":99},[242,247,251,256,260,264,269],{"type":13,"tag":38,"props":243,"children":244},{"style":45},[245],{"type":18,"value":246}," p_info",{"type":13,"tag":38,"props":248,"children":249},{"style":103},[250],{"type":18,"value":171},{"type":13,"tag":38,"props":252,"children":253},{"style":103},[254],{"type":18,"value":255}," *const",{"type":13,"tag":38,"props":257,"children":258},{"style":70},[259],{"type":18,"value":196},{"type":13,"tag":38,"props":261,"children":262},{"style":103},[263],{"type":18,"value":191},{"type":13,"tag":38,"props":265,"children":266},{"style":70},[267],{"type":18,"value":268},"CopyMicromapInfoEXT",{"type":13,"tag":38,"props":270,"children":271},{"style":45},[272],{"type":18,"value":78},{"type":13,"tag":38,"props":274,"children":276},{"class":40,"line":275},5,[277,282,287,291,295,300],{"type":13,"tag":38,"props":278,"children":279},{"style":45},[280],{"type":18,"value":281},") ",{"type":13,"tag":38,"props":283,"children":284},{"style":103},[285],{"type":18,"value":286},"->",{"type":13,"tag":38,"props":288,"children":289},{"style":70},[290],{"type":18,"value":196},{"type":13,"tag":38,"props":292,"children":293},{"style":103},[294],{"type":18,"value":191},{"type":13,"tag":38,"props":296,"children":297},{"style":70},[298],{"type":18,"value":299},"Result",{"type":13,"tag":38,"props":301,"children":302},{"style":45},[303],{"type":18,"value":304},";\n",{"type":13,"tag":306,"props":307,"children":308},"ul",{},[309,320,347],{"type":13,"tag":310,"props":311,"children":312},"li",{},[313,318],{"type":13,"tag":34,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":73},{"type":18,"value":319}," is the device which owns the micromaps.",{"type":13,"tag":310,"props":321,"children":322},{},[323,328,330,337,339,345],{"type":13,"tag":34,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":92},{"type":18,"value":329}," is an optional ",{"type":13,"tag":331,"props":332,"children":334},"a",{"href":333},"/man/VkDeferredOperationKHR",[335],{"type":18,"value":336},"VkDeferredOperationKHR",{"type":18,"value":338}," to\n",{"type":13,"tag":331,"props":340,"children":342},{"href":341},"/chapters/deferred-host-operations#deferred-host-operations-requesting",[343],{"type":18,"value":344},"request deferral",{"type":18,"value":346}," for this\ncommand.",{"type":13,"tag":310,"props":348,"children":349},{},[350,356,358,364],{"type":13,"tag":34,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"pInfo",{"type":18,"value":357}," is a pointer to a ",{"type":13,"tag":331,"props":359,"children":361},{"href":360},"/man/VkCopyMicromapInfoEXT",[362],{"type":18,"value":363},"VkCopyMicromapInfoEXT",{"type":18,"value":365}," structure\ndefining the copy operation.",{"type":13,"tag":14,"props":367,"children":368},{},[369,371,377],{"type":18,"value":370},"This command fulfills the same task as ",{"type":13,"tag":331,"props":372,"children":374},{"href":373},"/man/vkCmdCopyMicromapEXT",[375],{"type":18,"value":376},"vkCmdCopyMicromapEXT",{"type":18,"value":378}," but is\nexecuted by the host.",{"type":13,"tag":380,"props":381,"children":383},"validity-group",{"name":382},"Valid Usage",[384,408,437,462,494,519],{"type":13,"tag":385,"props":386,"children":388},"validity-field",{"name":387},"VUID-vkCopyMicromapEXT-deferredOperation-03678",[389],{"type":13,"tag":14,"props":390,"children":391},{},[392,394,399,401,406],{"type":18,"value":393},"Any previous deferred operation that was associated with\n",{"type":13,"tag":34,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":92},{"type":18,"value":400}," ",{"type":13,"tag":402,"props":403,"children":405},"normative",{"type":404},"must",[],{"type":18,"value":407}," be complete",{"type":13,"tag":385,"props":409,"children":411},{"name":410},"VUID-vkCopyMicromapEXT-buffer-07558",[412],{"type":13,"tag":14,"props":413,"children":414},{},[415,417,423,425,431,432,435],{"type":18,"value":416},"The ",{"type":13,"tag":34,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":422},"buffer",{"type":18,"value":424}," used to create ",{"type":13,"tag":34,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"pInfo→src",{"type":18,"value":400},{"type":13,"tag":402,"props":433,"children":434},{"type":404},[],{"type":18,"value":436}," be bound to\nhost-visible device memory",{"type":13,"tag":385,"props":438,"children":440},{"name":439},"VUID-vkCopyMicromapEXT-buffer-07559",[441],{"type":13,"tag":14,"props":442,"children":443},{},[444,445,450,451,457,458,461],{"type":18,"value":416},{"type":13,"tag":34,"props":446,"children":448},{"className":447},[],[449],{"type":18,"value":422},{"type":18,"value":424},{"type":13,"tag":34,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"pInfo→dst",{"type":18,"value":400},{"type":13,"tag":402,"props":459,"children":460},{"type":404},[],{"type":18,"value":436},{"type":13,"tag":385,"props":463,"children":465},{"name":464},"VUID-vkCopyMicromapEXT-micromapHostCommands-07560",[466],{"type":13,"tag":14,"props":467,"children":468},{},[469,470,487,489,492],{"type":18,"value":416},{"type":13,"tag":331,"props":471,"children":473},{"href":472},"/man/VkPhysicalDeviceOpacityMicromapFeaturesEXT#features-micromapHostCommands",[474,480,481],{"type":13,"tag":34,"props":475,"children":477},{"className":476},[],[478],{"type":18,"value":479},"VkPhysicalDeviceOpacityMicromapFeaturesEXT",{"type":18,"value":191},{"type":13,"tag":34,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"micromapHostCommands",{"type":18,"value":488},"\nfeature ",{"type":13,"tag":402,"props":490,"children":491},{"type":404},[],{"type":18,"value":493}," be enabled",{"type":13,"tag":385,"props":495,"children":497},{"name":496},"VUID-vkCopyMicromapEXT-buffer-07561",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,502,507,508,513,514,517],{"type":18,"value":416},{"type":13,"tag":34,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":422},{"type":18,"value":424},{"type":13,"tag":34,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":430},{"type":18,"value":400},{"type":13,"tag":402,"props":515,"children":516},{"type":404},[],{"type":18,"value":518}," be bound to\nmemory that was not allocated with multiple instances",{"type":13,"tag":385,"props":520,"children":522},{"name":521},"VUID-vkCopyMicromapEXT-buffer-07562",[523],{"type":13,"tag":14,"props":524,"children":525},{},[526,527,532,533,538,539,542],{"type":18,"value":416},{"type":13,"tag":34,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":422},{"type":18,"value":424},{"type":13,"tag":34,"props":534,"children":536},{"className":535},[],[537],{"type":18,"value":456},{"type":18,"value":400},{"type":13,"tag":402,"props":540,"children":541},{"type":404},[],{"type":18,"value":518},{"type":13,"tag":380,"props":544,"children":546},{"name":545},"Valid Usage (Implicit)",[547,573,612,636],{"type":13,"tag":385,"props":548,"children":550},{"name":549},"VUID-vkCopyMicromapEXT-device-parameter",[551],{"type":13,"tag":14,"props":552,"children":553},{},[554,559,560,563,565,571],{"type":13,"tag":34,"props":555,"children":557},{"className":556},[],[558],{"type":18,"value":73},{"type":18,"value":400},{"type":13,"tag":402,"props":561,"children":562},{"type":404},[],{"type":18,"value":564}," be a valid ",{"type":13,"tag":331,"props":566,"children":568},{"href":567},"/man/VkDevice",[569],{"type":18,"value":570},"VkDevice",{"type":18,"value":572}," handle",{"type":13,"tag":385,"props":574,"children":576},{"name":575},"VUID-vkCopyMicromapEXT-deferredOperation-parameter",[577],{"type":13,"tag":14,"props":578,"children":579},{},[580,582,587,589,595,597,602,603,606,607,611],{"type":18,"value":581},"If ",{"type":13,"tag":34,"props":583,"children":585},{"className":584},[],[586],{"type":18,"value":92},{"type":18,"value":588}," is not ",{"type":13,"tag":331,"props":590,"children":592},{"href":591},"/man/VK_NULL_HANDLE",[593],{"type":18,"value":594},"VK_NULL_HANDLE",{"type":18,"value":596},", ",{"type":13,"tag":34,"props":598,"children":600},{"className":599},[],[601],{"type":18,"value":92},{"type":18,"value":400},{"type":13,"tag":402,"props":604,"children":605},{"type":404},[],{"type":18,"value":564},{"type":13,"tag":331,"props":608,"children":609},{"href":333},[610],{"type":18,"value":336},{"type":18,"value":572},{"type":13,"tag":385,"props":613,"children":615},{"name":614},"VUID-vkCopyMicromapEXT-pInfo-parameter",[616],{"type":13,"tag":14,"props":617,"children":618},{},[619,624,625,628,630,634],{"type":13,"tag":34,"props":620,"children":622},{"className":621},[],[623],{"type":18,"value":355},{"type":18,"value":400},{"type":13,"tag":402,"props":626,"children":627},{"type":404},[],{"type":18,"value":629}," be a valid pointer to a valid ",{"type":13,"tag":331,"props":631,"children":632},{"href":360},[633],{"type":18,"value":363},{"type":18,"value":635}," structure",{"type":13,"tag":385,"props":637,"children":639},{"name":638},"VUID-vkCopyMicromapEXT-deferredOperation-parent",[640],{"type":13,"tag":14,"props":641,"children":642},{},[643,644,649,651,654,656],{"type":18,"value":581},{"type":13,"tag":34,"props":645,"children":647},{"className":646},[],[648],{"type":18,"value":92},{"type":18,"value":650}," is a valid handle, it ",{"type":13,"tag":402,"props":652,"children":653},{"type":404},[],{"type":18,"value":655}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":657,"children":659},{"className":658},[],[660],{"type":18,"value":73},{"type":13,"tag":662,"props":663,"children":664},"style",{},[665],{"type":18,"value":666},"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":61,"depth":61,"links":668},[],"markdown",1729612508361]