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