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