[{"data":1,"prerenderedAt":740},["ShallowReactive",2],{"bUTn0C2OIU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":739,"_id":4},"VkCopyAccelerationStructureInfoKHR","Parameters for copying an acceleration structure","VK_KHR_acceleration_structure","structs",[],{"type":10,"children":11,"toc":737},"root",[12,28,313,397,577,731],{"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 as:",{"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 VkCopyAccelerationStructureInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkAccelerationStructureKHR src;\n VkAccelerationStructureKHR dst;\n VkCopyAccelerationStructureModeKHR mode;\n} VkCopyAccelerationStructureInfoKHR;\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}," VkCopyAccelerationStructureInfoKHR {\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}," VkAccelerationStructureKHR 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},"} VkCopyAccelerationStructureInfoKHR;\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 CopyAccelerationStructureInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n src: vk::AccelerationStructureKHR,\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,276,305],{"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}," CopyAccelerationStructureInfoKHR",{"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},"AccelerationStructureKHR",{"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,272],{"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":243},{"type":13,"tag":45,"props":273,"children":274},{"style":63},[275],{"type":18,"value":196},{"type":13,"tag":45,"props":277,"children":278},{"class":47,"line":115},[279,284,288,292,296,301],{"type":13,"tag":45,"props":280,"children":281},{"style":63},[282],{"type":18,"value":283}," mode",{"type":13,"tag":45,"props":285,"children":286},{"style":52},[287],{"type":18,"value":176},{"type":13,"tag":45,"props":289,"children":290},{"style":155},[291],{"type":18,"value":181},{"type":13,"tag":45,"props":293,"children":294},{"style":52},[295],{"type":18,"value":186},{"type":13,"tag":45,"props":297,"children":298},{"style":155},[299],{"type":18,"value":300},"CopyAccelerationStructureModeKHR",{"type":13,"tag":45,"props":302,"children":303},{"style":63},[304],{"type":18,"value":196},{"type":13,"tag":45,"props":306,"children":307},{"class":47,"line":124},[308],{"type":13,"tag":45,"props":309,"children":310},{"style":63},[311],{"type":18,"value":312},"}\n",{"type":13,"tag":314,"props":315,"children":316},"ul",{},[317,338,357,368,379],{"type":13,"tag":318,"props":319,"children":320},"li",{},[321,327,329,336],{"type":13,"tag":21,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"sType",{"type":18,"value":328}," is a ",{"type":13,"tag":330,"props":331,"children":333},"a",{"href":332},"/man/VkStructureType",[334],{"type":18,"value":335},"VkStructureType",{"type":18,"value":337}," value identifying this structure.",{"type":13,"tag":318,"props":339,"children":340},{},[341,347,349,355],{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"pNext",{"type":18,"value":348}," is ",{"type":13,"tag":21,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":354},"NULL",{"type":18,"value":356}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":318,"props":358,"children":359},{},[360,366],{"type":13,"tag":21,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":365},"src",{"type":18,"value":367}," is the source acceleration structure for the copy.",{"type":13,"tag":318,"props":369,"children":370},{},[371,377],{"type":13,"tag":21,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":376},"dst",{"type":18,"value":378}," is the target acceleration structure for the copy.",{"type":13,"tag":318,"props":380,"children":381},{},[382,388,389,395],{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":387},"mode",{"type":18,"value":328},{"type":13,"tag":330,"props":390,"children":392},{"href":391},"/man/VkCopyAccelerationStructureModeKHR",[393],{"type":18,"value":394},"VkCopyAccelerationStructureModeKHR",{"type":18,"value":396}," value\nspecifying additional operations to perform during the copy.",{"type":13,"tag":398,"props":399,"children":401},"validity-group",{"name":400},"Valid Usage",[402,438,458,498,525,549],{"type":13,"tag":403,"props":404,"children":406},"validity-field",{"name":405},"VUID-VkCopyAccelerationStructureInfoKHR-mode-03410",[407],{"type":13,"tag":14,"props":408,"children":409},{},[410,415,417,422,424,430,432],{"type":13,"tag":21,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":387},{"type":18,"value":416}," ",{"type":13,"tag":418,"props":419,"children":421},"normative",{"type":420},"must",[],{"type":18,"value":423}," be\n",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR",{"type":18,"value":431}," or\n",{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR",{"type":13,"tag":403,"props":439,"children":441},{"name":440},"VUID-VkCopyAccelerationStructureInfoKHR-src-04963",[442],{"type":13,"tag":14,"props":443,"children":444},{},[445,447,452,453,456],{"type":18,"value":446},"The source acceleration structure ",{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":365},{"type":18,"value":416},{"type":13,"tag":418,"props":454,"children":455},{"type":420},[],{"type":18,"value":457}," have been constructed\nprior to the execution of this command",{"type":13,"tag":403,"props":459,"children":461},{"name":460},"VUID-VkCopyAccelerationStructureInfoKHR-src-03411",[462],{"type":13,"tag":14,"props":463,"children":464},{},[465,467,472,473,478,479,484,485,488,490,496],{"type":18,"value":466},"If ",{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":387},{"type":18,"value":348},{"type":13,"tag":21,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":429},{"type":18,"value":196},{"type":13,"tag":21,"props":480,"children":482},{"className":481},[],[483],{"type":18,"value":365},{"type":18,"value":416},{"type":13,"tag":418,"props":486,"children":487},{"type":420},[],{"type":18,"value":489}," have been constructed with\n",{"type":13,"tag":21,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":495},"VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR",{"type":18,"value":497}," in the\nbuild",{"type":13,"tag":403,"props":499,"children":501},{"name":500},"VUID-VkCopyAccelerationStructureInfoKHR-buffer-03718",[502],{"type":13,"tag":14,"props":503,"children":504},{},[505,506,512,514,519,520,523],{"type":18,"value":19},{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":511},"buffer",{"type":18,"value":513}," used to create ",{"type":13,"tag":21,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":365},{"type":18,"value":416},{"type":13,"tag":418,"props":521,"children":522},{"type":420},[],{"type":18,"value":524}," be bound to device\nmemory",{"type":13,"tag":403,"props":526,"children":528},{"name":527},"VUID-VkCopyAccelerationStructureInfoKHR-buffer-03719",[529],{"type":13,"tag":14,"props":530,"children":531},{},[532,533,538,539,544,545,548],{"type":18,"value":19},{"type":13,"tag":21,"props":534,"children":536},{"className":535},[],[537],{"type":18,"value":511},{"type":18,"value":513},{"type":13,"tag":21,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":376},{"type":18,"value":416},{"type":13,"tag":418,"props":546,"children":547},{"type":420},[],{"type":18,"value":524},{"type":13,"tag":403,"props":550,"children":552},{"name":551},"VUID-VkCopyAccelerationStructureInfoKHR-dst-07791",[553],{"type":13,"tag":14,"props":554,"children":555},{},[556,558,563,565,568,570,575],{"type":18,"value":557},"The range of memory backing ",{"type":13,"tag":21,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":376},{"type":18,"value":564}," that is accessed by this command\n",{"type":13,"tag":418,"props":566,"children":567},{"type":420},[],{"type":18,"value":569}," not overlap the memory backing ",{"type":13,"tag":21,"props":571,"children":573},{"className":572},[],[574],{"type":18,"value":365},{"type":18,"value":576}," that is accessed by this\ncommand",{"type":13,"tag":398,"props":578,"children":580},{"name":579},"Valid Usage (Implicit)",[581,605,627,653,675,698],{"type":13,"tag":403,"props":582,"children":584},{"name":583},"VUID-VkCopyAccelerationStructureInfoKHR-sType-sType",[585],{"type":13,"tag":14,"props":586,"children":587},{},[588,593,594,597,599],{"type":13,"tag":21,"props":589,"children":591},{"className":590},[],[592],{"type":18,"value":326},{"type":18,"value":416},{"type":13,"tag":418,"props":595,"children":596},{"type":420},[],{"type":18,"value":598}," be ",{"type":13,"tag":21,"props":600,"children":602},{"className":601},[],[603],{"type":18,"value":604},"VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR",{"type":13,"tag":403,"props":606,"children":608},{"name":607},"VUID-VkCopyAccelerationStructureInfoKHR-pNext-pNext",[609],{"type":13,"tag":14,"props":610,"children":611},{},[612,617,618,621,622],{"type":13,"tag":21,"props":613,"children":615},{"className":614},[],[616],{"type":18,"value":346},{"type":18,"value":416},{"type":13,"tag":418,"props":619,"children":620},{"type":420},[],{"type":18,"value":598},{"type":13,"tag":21,"props":623,"children":625},{"className":624},[],[626],{"type":18,"value":354},{"type":13,"tag":403,"props":628,"children":630},{"name":629},"VUID-VkCopyAccelerationStructureInfoKHR-src-parameter",[631],{"type":13,"tag":14,"props":632,"children":633},{},[634,639,640,643,645,651],{"type":13,"tag":21,"props":635,"children":637},{"className":636},[],[638],{"type":18,"value":365},{"type":18,"value":416},{"type":13,"tag":418,"props":641,"children":642},{"type":420},[],{"type":18,"value":644}," be a valid ",{"type":13,"tag":330,"props":646,"children":648},{"href":647},"/man/VkAccelerationStructureKHR",[649],{"type":18,"value":650},"VkAccelerationStructureKHR",{"type":18,"value":652}," handle",{"type":13,"tag":403,"props":654,"children":656},{"name":655},"VUID-VkCopyAccelerationStructureInfoKHR-dst-parameter",[657],{"type":13,"tag":14,"props":658,"children":659},{},[660,665,666,669,670,674],{"type":13,"tag":21,"props":661,"children":663},{"className":662},[],[664],{"type":18,"value":376},{"type":18,"value":416},{"type":13,"tag":418,"props":667,"children":668},{"type":420},[],{"type":18,"value":644},{"type":13,"tag":330,"props":671,"children":672},{"href":647},[673],{"type":18,"value":650},{"type":18,"value":652},{"type":13,"tag":403,"props":676,"children":678},{"name":677},"VUID-VkCopyAccelerationStructureInfoKHR-mode-parameter",[679],{"type":13,"tag":14,"props":680,"children":681},{},[682,687,688,691,692,696],{"type":13,"tag":21,"props":683,"children":685},{"className":684},[],[686],{"type":18,"value":387},{"type":18,"value":416},{"type":13,"tag":418,"props":689,"children":690},{"type":420},[],{"type":18,"value":644},{"type":13,"tag":330,"props":693,"children":694},{"href":391},[695],{"type":18,"value":394},{"type":18,"value":697}," value",{"type":13,"tag":403,"props":699,"children":701},{"name":700},"VUID-VkCopyAccelerationStructureInfoKHR-commonparent",[702],{"type":13,"tag":14,"props":703,"children":704},{},[705,707,712,714,719,720,723,725],{"type":18,"value":706},"Both of ",{"type":13,"tag":21,"props":708,"children":710},{"className":709},[],[711],{"type":18,"value":376},{"type":18,"value":713},", and ",{"type":13,"tag":21,"props":715,"children":717},{"className":716},[],[718],{"type":18,"value":365},{"type":18,"value":416},{"type":13,"tag":418,"props":721,"children":722},{"type":420},[],{"type":18,"value":724}," have been created, allocated, or retrieved from the same ",{"type":13,"tag":330,"props":726,"children":728},{"href":727},"/man/VkDevice",[729],{"type":18,"value":730},"VkDevice",{"type":13,"tag":732,"props":733,"children":734},"style",{},[735],{"type":18,"value":736},"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":738},[],"markdown",1729612438399]