[{"data":1,"prerenderedAt":1500},["ShallowReactive",2],{"ID6WULyj6N":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1499,"_id":4},"vkGetAccelerationStructureBuildSizesKHR","Retrieve the required size for an acceleration structure","VK_KHR_acceleration_structure","protos",[],{"type":10,"children":11,"toc":1497},"root",[12,20,385,475,565,592,1115,1134,1166,1347,1491],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To get the build sizes for an acceleration structure, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,172],{"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","void vkGetAccelerationStructureBuildSizesKHR(\n VkDevice device,\n VkAccelerationStructureBuildTypeKHR buildType,\n const VkAccelerationStructureBuildGeometryInfoKHR* pBuildInfo,\n const uint32_t* pMaxPrimitiveCounts,\n VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99,127,149],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetAccelerationStructureBuildSizesKHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkAccelerationStructureBuildTypeKHR ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"buildType",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118,123],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":107}," const",{"type":13,"tag":38,"props":109,"children":110},{"style":57},[111],{"type":18,"value":112}," VkAccelerationStructureBuildGeometryInfoKHR",{"type":13,"tag":38,"props":114,"children":115},{"style":45},[116],{"type":18,"value":117},"*",{"type":13,"tag":38,"props":119,"children":120},{"style":72},[121],{"type":18,"value":122}," pBuildInfo",{"type":13,"tag":38,"props":124,"children":125},{"style":57},[126],{"type":18,"value":80},{"type":13,"tag":38,"props":128,"children":130},{"class":40,"line":129},5,[131,135,140,145],{"type":13,"tag":38,"props":132,"children":133},{"style":45},[134],{"type":18,"value":107},{"type":13,"tag":38,"props":136,"children":137},{"style":45},[138],{"type":18,"value":139}," uint32_t*",{"type":13,"tag":38,"props":141,"children":142},{"style":72},[143],{"type":18,"value":144}," pMaxPrimitiveCounts",{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":80},{"type":13,"tag":38,"props":150,"children":152},{"class":40,"line":151},6,[153,158,162,167],{"type":13,"tag":38,"props":154,"children":155},{"style":57},[156],{"type":18,"value":157}," VkAccelerationStructureBuildSizesInfoKHR",{"type":13,"tag":38,"props":159,"children":160},{"style":45},[161],{"type":18,"value":117},{"type":13,"tag":38,"props":163,"children":164},{"style":72},[165],{"type":18,"value":166}," pSizeInfo",{"type":13,"tag":38,"props":168,"children":169},{"style":57},[170],{"type":18,"value":171},");\n",{"type":13,"tag":25,"props":173,"children":178},{"className":174,"code":175,"filename":176,"language":177,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_acceleration_structure_build_sizes_khr(\n device: crate :: vk :: vk::Device,\n build_type: vk::AccelerationStructureBuildTypeKHR,\n p_build_info: *const vk::AccelerationStructureBuildGeometryInfoKHR,\n p_max_primitive_counts: *const u32,\n p_size_info: *mut vk::AccelerationStructureBuildSizesInfoKHR,\n);\n","Rust","rs",[179],{"type":13,"tag":34,"props":180,"children":181},{"__ignoreMap":31},[182,204,255,284,318,343,377],{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":41},[185,190,195,200],{"type":13,"tag":38,"props":186,"children":187},{"style":45},[188],{"type":18,"value":189},"pub",{"type":13,"tag":38,"props":191,"children":192},{"style":45},[193],{"type":18,"value":194}," fn",{"type":13,"tag":38,"props":196,"children":197},{"style":51},[198],{"type":18,"value":199}," get_acceleration_structure_build_sizes_khr",{"type":13,"tag":38,"props":201,"children":202},{"style":57},[203],{"type":18,"value":60},{"type":13,"tag":38,"props":205,"children":206},{"class":40,"line":63},[207,212,217,222,227,232,237,242,246,251],{"type":13,"tag":38,"props":208,"children":209},{"style":57},[210],{"type":18,"value":211}," device",{"type":13,"tag":38,"props":213,"children":214},{"style":45},[215],{"type":18,"value":216},":",{"type":13,"tag":38,"props":218,"children":219},{"style":45},[220],{"type":18,"value":221}," crate",{"type":13,"tag":38,"props":223,"children":224},{"style":45},[225],{"type":18,"value":226}," ::",{"type":13,"tag":38,"props":228,"children":229},{"style":57},[230],{"type":18,"value":231}," vk ",{"type":13,"tag":38,"props":233,"children":234},{"style":45},[235],{"type":18,"value":236},"::",{"type":13,"tag":38,"props":238,"children":239},{"style":72},[240],{"type":18,"value":241}," vk",{"type":13,"tag":38,"props":243,"children":244},{"style":45},[245],{"type":18,"value":236},{"type":13,"tag":38,"props":247,"children":248},{"style":72},[249],{"type":18,"value":250},"Device",{"type":13,"tag":38,"props":252,"children":253},{"style":57},[254],{"type":18,"value":80},{"type":13,"tag":38,"props":256,"children":257},{"class":40,"line":83},[258,263,267,271,275,280],{"type":13,"tag":38,"props":259,"children":260},{"style":57},[261],{"type":18,"value":262}," build_type",{"type":13,"tag":38,"props":264,"children":265},{"style":45},[266],{"type":18,"value":216},{"type":13,"tag":38,"props":268,"children":269},{"style":72},[270],{"type":18,"value":241},{"type":13,"tag":38,"props":272,"children":273},{"style":45},[274],{"type":18,"value":236},{"type":13,"tag":38,"props":276,"children":277},{"style":72},[278],{"type":18,"value":279},"AccelerationStructureBuildTypeKHR",{"type":13,"tag":38,"props":281,"children":282},{"style":57},[283],{"type":18,"value":80},{"type":13,"tag":38,"props":285,"children":286},{"class":40,"line":101},[287,292,296,301,305,309,314],{"type":13,"tag":38,"props":288,"children":289},{"style":57},[290],{"type":18,"value":291}," p_build_info",{"type":13,"tag":38,"props":293,"children":294},{"style":45},[295],{"type":18,"value":216},{"type":13,"tag":38,"props":297,"children":298},{"style":45},[299],{"type":18,"value":300}," *const",{"type":13,"tag":38,"props":302,"children":303},{"style":72},[304],{"type":18,"value":241},{"type":13,"tag":38,"props":306,"children":307},{"style":45},[308],{"type":18,"value":236},{"type":13,"tag":38,"props":310,"children":311},{"style":72},[312],{"type":18,"value":313},"AccelerationStructureBuildGeometryInfoKHR",{"type":13,"tag":38,"props":315,"children":316},{"style":57},[317],{"type":18,"value":80},{"type":13,"tag":38,"props":319,"children":320},{"class":40,"line":129},[321,326,330,334,339],{"type":13,"tag":38,"props":322,"children":323},{"style":57},[324],{"type":18,"value":325}," p_max_primitive_counts",{"type":13,"tag":38,"props":327,"children":328},{"style":45},[329],{"type":18,"value":216},{"type":13,"tag":38,"props":331,"children":332},{"style":45},[333],{"type":18,"value":300},{"type":13,"tag":38,"props":335,"children":336},{"style":72},[337],{"type":18,"value":338}," u32",{"type":13,"tag":38,"props":340,"children":341},{"style":57},[342],{"type":18,"value":80},{"type":13,"tag":38,"props":344,"children":345},{"class":40,"line":151},[346,351,355,360,364,368,373],{"type":13,"tag":38,"props":347,"children":348},{"style":57},[349],{"type":18,"value":350}," p_size_info",{"type":13,"tag":38,"props":352,"children":353},{"style":45},[354],{"type":18,"value":216},{"type":13,"tag":38,"props":356,"children":357},{"style":45},[358],{"type":18,"value":359}," *mut",{"type":13,"tag":38,"props":361,"children":362},{"style":72},[363],{"type":18,"value":241},{"type":13,"tag":38,"props":365,"children":366},{"style":45},[367],{"type":18,"value":236},{"type":13,"tag":38,"props":369,"children":370},{"style":72},[371],{"type":18,"value":372},"AccelerationStructureBuildSizesInfoKHR",{"type":13,"tag":38,"props":374,"children":375},{"style":57},[376],{"type":18,"value":80},{"type":13,"tag":38,"props":378,"children":380},{"class":40,"line":379},7,[381],{"type":13,"tag":38,"props":382,"children":383},{"style":57},[384],{"type":18,"value":171},{"type":13,"tag":386,"props":387,"children":388},"ul",{},[389,400,410,430,457],{"type":13,"tag":390,"props":391,"children":392},"li",{},[393,398],{"type":13,"tag":34,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":75},{"type":18,"value":399}," is the logical device that will be used for creating the\nacceleration structure.",{"type":13,"tag":390,"props":401,"children":402},{},[403,408],{"type":13,"tag":34,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":94},{"type":18,"value":409}," defines whether host or device operations (or both) are\nbeing queried for.",{"type":13,"tag":390,"props":411,"children":412},{},[413,419,421,428],{"type":13,"tag":34,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":418},"pBuildInfo",{"type":18,"value":420}," is a pointer to a\n",{"type":13,"tag":422,"props":423,"children":425},"a",{"href":424},"/man/VkAccelerationStructureBuildGeometryInfoKHR",[426],{"type":18,"value":427},"VkAccelerationStructureBuildGeometryInfoKHR",{"type":18,"value":429}," structure describing\nparameters of a build operation.",{"type":13,"tag":390,"props":431,"children":432},{},[433,439,441,447,449,455],{"type":13,"tag":34,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"pMaxPrimitiveCounts",{"type":18,"value":440}," is a pointer to an array of\n",{"type":13,"tag":34,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"pBuildInfo→geometryCount",{"type":18,"value":448}," ",{"type":13,"tag":34,"props":450,"children":452},{"className":451},[],[453],{"type":18,"value":454},"uint32_t",{"type":18,"value":456}," values defining the number\nof primitives built into each geometry.",{"type":13,"tag":390,"props":458,"children":459},{},[460,466,467,473],{"type":13,"tag":34,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":465},"pSizeInfo",{"type":18,"value":420},{"type":13,"tag":422,"props":468,"children":470},{"href":469},"/man/VkAccelerationStructureBuildSizesInfoKHR",[471],{"type":18,"value":472},"VkAccelerationStructureBuildSizesInfoKHR",{"type":18,"value":474}," structure which returns\nthe size required for an acceleration structure and the sizes required\nfor the scratch buffers, given the build parameters.",{"type":13,"tag":14,"props":476,"children":477},{},[478,480,486,488,494,496,502,504,509,511,517,519,525,527,532,534,540,542,548,549,555,557,563],{"type":18,"value":479},"The ",{"type":13,"tag":34,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"srcAccelerationStructure",{"type":18,"value":487},", ",{"type":13,"tag":34,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":493},"dstAccelerationStructure",{"type":18,"value":495},", and\n",{"type":13,"tag":34,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":501},"mode",{"type":18,"value":503}," members of ",{"type":13,"tag":34,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":418},{"type":18,"value":510}," are ignored.\nAny ",{"type":13,"tag":422,"props":512,"children":514},{"href":513},"/man/VkDeviceOrHostAddressKHR",[515],{"type":18,"value":516},"VkDeviceOrHostAddressKHR",{"type":18,"value":518}," or ",{"type":13,"tag":422,"props":520,"children":522},{"href":521},"/man/VkDeviceOrHostAddressConstKHR",[523],{"type":18,"value":524},"VkDeviceOrHostAddressConstKHR",{"type":18,"value":526},"\nmembers of ",{"type":13,"tag":34,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":418},{"type":18,"value":533}," are ignored by this command, except that the\n",{"type":13,"tag":34,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":539},"hostAddress",{"type":18,"value":541}," member of\n",{"type":13,"tag":422,"props":543,"children":545},{"href":544},"/man/VkAccelerationStructureGeometryTrianglesDataKHR",[546],{"type":18,"value":547},"VkAccelerationStructureGeometryTrianglesDataKHR",{"type":18,"value":236},{"type":13,"tag":34,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":554},"transformData",{"type":18,"value":556},"\nwill be examined to check if it is ",{"type":13,"tag":34,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":562},"NULL",{"type":18,"value":564},".",{"type":13,"tag":14,"props":566,"children":567},{},[568,570,576,578,582,584,590],{"type":18,"value":569},"An acceleration structure created with the ",{"type":13,"tag":34,"props":571,"children":573},{"className":572},[],[574],{"type":18,"value":575},"accelerationStructureSize",{"type":18,"value":577},"\nreturned by this command supports any build or update with a\n",{"type":13,"tag":422,"props":579,"children":580},{"href":424},[581],{"type":18,"value":427},{"type":18,"value":583}," structure and array of\n",{"type":13,"tag":422,"props":585,"children":587},{"href":586},"/man/VkAccelerationStructureBuildRangeInfoKHR",[588],{"type":18,"value":589},"VkAccelerationStructureBuildRangeInfoKHR",{"type":18,"value":591}," structures subject to the\nfollowing properties:",{"type":13,"tag":386,"props":593,"children":594},{},[595,621,644,954],{"type":13,"tag":390,"props":596,"children":597},{},[598,600,605,607,613,615],{"type":18,"value":599},"The build command is a host build command, and ",{"type":13,"tag":34,"props":601,"children":603},{"className":602},[],[604],{"type":18,"value":94},{"type":18,"value":606}," is\n",{"type":13,"tag":34,"props":608,"children":610},{"className":609},[],[611],{"type":18,"value":612},"VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR",{"type":18,"value":614}," or\n",{"type":13,"tag":34,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":620},"VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR",{"type":13,"tag":390,"props":622,"children":623},{},[624,626,631,632,638,639],{"type":18,"value":625},"The build command is a device build command, and ",{"type":13,"tag":34,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":94},{"type":18,"value":606},{"type":13,"tag":34,"props":633,"children":635},{"className":634},[],[636],{"type":18,"value":637},"VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR",{"type":18,"value":614},{"type":13,"tag":34,"props":640,"children":642},{"className":641},[],[643],{"type":18,"value":620},{"type":13,"tag":390,"props":645,"children":646},{},[647,649,653,654],{"type":18,"value":648},"For ",{"type":13,"tag":422,"props":650,"children":651},{"href":424},[652],{"type":18,"value":427},{"type":18,"value":216},{"type":13,"tag":386,"props":655,"children":656},{},[657,694,711,746,775,836,884],{"type":13,"tag":390,"props":658,"children":659},{},[660,662,668,670,676,678,684,686,692],{"type":18,"value":661},"Its ",{"type":13,"tag":34,"props":663,"children":665},{"className":664},[],[666],{"type":18,"value":667},"type",{"type":18,"value":669},", and ",{"type":13,"tag":34,"props":671,"children":673},{"className":672},[],[674],{"type":18,"value":675},"flags",{"type":18,"value":677}," members are equal to\n",{"type":13,"tag":34,"props":679,"children":681},{"className":680},[],[682],{"type":18,"value":683},"pBuildInfo→type",{"type":18,"value":685}," and ",{"type":13,"tag":34,"props":687,"children":689},{"className":688},[],[690],{"type":18,"value":691},"pBuildInfo→flags",{"type":18,"value":693},", respectively.",{"type":13,"tag":390,"props":695,"children":696},{},[697,703,705,710],{"type":13,"tag":34,"props":698,"children":700},{"className":699},[],[701],{"type":18,"value":702},"geometryCount",{"type":18,"value":704}," is less than or equal to\n",{"type":13,"tag":34,"props":706,"children":708},{"className":707},[],[709],{"type":18,"value":446},{"type":18,"value":564},{"type":13,"tag":390,"props":712,"children":713},{},[714,716,722,723,729,731,737,739,745],{"type":18,"value":715},"For each element of either ",{"type":13,"tag":34,"props":717,"children":719},{"className":718},[],[720],{"type":18,"value":721},"pGeometries",{"type":18,"value":518},{"type":13,"tag":34,"props":724,"children":726},{"className":725},[],[727],{"type":18,"value":728},"ppGeometries",{"type":18,"value":730}," at a\ngiven index, its ",{"type":13,"tag":34,"props":732,"children":734},{"className":733},[],[735],{"type":18,"value":736},"geometryType",{"type":18,"value":738}," member is equal to\n",{"type":13,"tag":34,"props":740,"children":742},{"className":741},[],[743],{"type":18,"value":744},"pBuildInfo→geometryType",{"type":18,"value":564},{"type":13,"tag":390,"props":747,"children":748},{},[749,750,755,756,761,762,767,769,774],{"type":18,"value":715},{"type":13,"tag":34,"props":751,"children":753},{"className":752},[],[754],{"type":18,"value":721},{"type":18,"value":518},{"type":13,"tag":34,"props":757,"children":759},{"className":758},[],[760],{"type":18,"value":728},{"type":18,"value":730},{"type":13,"tag":34,"props":763,"children":765},{"className":764},[],[766],{"type":18,"value":675},{"type":18,"value":768}," member is equal to the corresponding\nmember of the same element in ",{"type":13,"tag":34,"props":770,"children":772},{"className":771},[],[773],{"type":18,"value":418},{"type":18,"value":564},{"type":13,"tag":390,"props":776,"children":777},{},[778,779,784,785,790,792,797,799,805,807,813,815,821,822,828,830,835],{"type":18,"value":715},{"type":13,"tag":34,"props":780,"children":782},{"className":781},[],[783],{"type":18,"value":721},{"type":18,"value":518},{"type":13,"tag":34,"props":786,"children":788},{"className":787},[],[789],{"type":18,"value":728},{"type":18,"value":791}," at a\ngiven index, with a ",{"type":13,"tag":34,"props":793,"children":795},{"className":794},[],[796],{"type":18,"value":736},{"type":18,"value":798}," member equal to\n",{"type":13,"tag":34,"props":800,"children":802},{"className":801},[],[803],{"type":18,"value":804},"VK_GEOMETRY_TYPE_TRIANGLES_KHR",{"type":18,"value":806},", the ",{"type":13,"tag":34,"props":808,"children":810},{"className":809},[],[811],{"type":18,"value":812},"vertexFormat",{"type":18,"value":814}," and\n",{"type":13,"tag":34,"props":816,"children":818},{"className":817},[],[819],{"type":18,"value":820},"indexType",{"type":18,"value":503},{"type":13,"tag":34,"props":823,"children":825},{"className":824},[],[826],{"type":18,"value":827},"geometry.triangles",{"type":18,"value":829}," are equal to the\ncorresponding members of the same element in ",{"type":13,"tag":34,"props":831,"children":833},{"className":832},[],[834],{"type":18,"value":418},{"type":18,"value":564},{"type":13,"tag":390,"props":837,"children":838},{},[839,840,845,846,851,852,857,858,863,864,870,871,876,878,883],{"type":18,"value":715},{"type":13,"tag":34,"props":841,"children":843},{"className":842},[],[844],{"type":18,"value":721},{"type":18,"value":518},{"type":13,"tag":34,"props":847,"children":849},{"className":848},[],[850],{"type":18,"value":728},{"type":18,"value":791},{"type":13,"tag":34,"props":853,"children":855},{"className":854},[],[856],{"type":18,"value":736},{"type":18,"value":798},{"type":13,"tag":34,"props":859,"children":861},{"className":860},[],[862],{"type":18,"value":804},{"type":18,"value":806},{"type":13,"tag":34,"props":865,"children":867},{"className":866},[],[868],{"type":18,"value":869},"maxVertex",{"type":18,"value":541},{"type":13,"tag":34,"props":872,"children":874},{"className":873},[],[875],{"type":18,"value":827},{"type":18,"value":877}," is less than or equal to the corresponding\nmember of the same element in ",{"type":13,"tag":34,"props":879,"children":881},{"className":880},[],[882],{"type":18,"value":418},{"type":18,"value":564},{"type":13,"tag":390,"props":885,"children":886},{},[887,888,893,894,899,900,905,906,911,913,918,920,925,927,932,934,940,942,947,948,953],{"type":18,"value":715},{"type":13,"tag":34,"props":889,"children":891},{"className":890},[],[892],{"type":18,"value":721},{"type":18,"value":518},{"type":13,"tag":34,"props":895,"children":897},{"className":896},[],[898],{"type":18,"value":728},{"type":18,"value":791},{"type":13,"tag":34,"props":901,"children":903},{"className":902},[],[904],{"type":18,"value":736},{"type":18,"value":798},{"type":13,"tag":34,"props":907,"children":909},{"className":908},[],[910],{"type":18,"value":804},{"type":18,"value":912},", if the applicable address in the\n",{"type":13,"tag":34,"props":914,"children":916},{"className":915},[],[917],{"type":18,"value":554},{"type":18,"value":919}," member of ",{"type":13,"tag":34,"props":921,"children":923},{"className":922},[],[924],{"type":18,"value":827},{"type":18,"value":926}," is not ",{"type":13,"tag":34,"props":928,"children":930},{"className":929},[],[931],{"type":18,"value":562},{"type":18,"value":933},",\nthe corresponding ",{"type":13,"tag":34,"props":935,"children":937},{"className":936},[],[938],{"type":18,"value":939},"transformData.hostAddress",{"type":18,"value":941}," parameter in\n",{"type":13,"tag":34,"props":943,"children":945},{"className":944},[],[946],{"type":18,"value":418},{"type":18,"value":926},{"type":13,"tag":34,"props":949,"children":951},{"className":950},[],[952],{"type":18,"value":562},{"type":18,"value":564},{"type":13,"tag":390,"props":955,"children":956},{},[957,959,963,965,969,970],{"type":18,"value":958},"For each ",{"type":13,"tag":422,"props":960,"children":961},{"href":586},[962],{"type":18,"value":589},{"type":18,"value":964}," corresponding to\nthe ",{"type":13,"tag":422,"props":966,"children":967},{"href":424},[968],{"type":18,"value":427},{"type":18,"value":216},{"type":13,"tag":386,"props":971,"children":972},{},[973,991,1056],{"type":13,"tag":390,"props":974,"children":975},{},[976,977,983,985,990],{"type":18,"value":661},{"type":13,"tag":34,"props":978,"children":980},{"className":979},[],[981],{"type":18,"value":982},"primitiveCount",{"type":18,"value":984}," member is less than or equal to the\ncorresponding element of ",{"type":13,"tag":34,"props":986,"children":988},{"className":987},[],[989],{"type":18,"value":438},{"type":18,"value":564},{"type":13,"tag":390,"props":992,"children":993},{},[994,995,1000,1001,1006,1007,1012,1013,1018,1020,1026,1028,1034,1036,1041,1043,1047,1049,1055],{"type":18,"value":715},{"type":13,"tag":34,"props":996,"children":998},{"className":997},[],[999],{"type":18,"value":721},{"type":18,"value":518},{"type":13,"tag":34,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":18,"value":728},{"type":18,"value":791},{"type":13,"tag":34,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":18,"value":736},{"type":18,"value":798},{"type":13,"tag":34,"props":1014,"children":1016},{"className":1015},[],[1017],{"type":18,"value":804},{"type":18,"value":1019},", if the ",{"type":13,"tag":34,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":18,"value":1025},"pNext",{"type":18,"value":1027}," chain contains\n",{"type":13,"tag":422,"props":1029,"children":1031},{"href":1030},"/man/VkAccelerationStructureTrianglesOpacityMicromapEXT",[1032],{"type":18,"value":1033},"VkAccelerationStructureTrianglesOpacityMicromapEXT",{"type":18,"value":1035}," the\ncorresponding member of ",{"type":13,"tag":34,"props":1037,"children":1039},{"className":1038},[],[1040],{"type":18,"value":418},{"type":18,"value":1042}," also contains\n",{"type":13,"tag":422,"props":1044,"children":1045},{"href":1030},[1046],{"type":18,"value":1033},{"type":18,"value":1048}," and with an\nequivalent ",{"type":13,"tag":34,"props":1050,"children":1052},{"className":1051},[],[1053],{"type":18,"value":1054},"micromap",{"type":18,"value":564},{"type":13,"tag":390,"props":1057,"children":1058},{},[1059,1060,1065,1066,1071,1072,1077,1078,1083,1084,1089,1090,1096,1097,1102,1103,1107,1109,1114],{"type":18,"value":715},{"type":13,"tag":34,"props":1061,"children":1063},{"className":1062},[],[1064],{"type":18,"value":721},{"type":18,"value":518},{"type":13,"tag":34,"props":1067,"children":1069},{"className":1068},[],[1070],{"type":18,"value":728},{"type":18,"value":791},{"type":13,"tag":34,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":18,"value":736},{"type":18,"value":798},{"type":13,"tag":34,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":18,"value":804},{"type":18,"value":1019},{"type":13,"tag":34,"props":1085,"children":1087},{"className":1086},[],[1088],{"type":18,"value":1025},{"type":18,"value":1027},{"type":13,"tag":422,"props":1091,"children":1093},{"href":1092},"/man/VkAccelerationStructureTrianglesDisplacementMicromapNV",[1094],{"type":18,"value":1095},"VkAccelerationStructureTrianglesDisplacementMicromapNV",{"type":18,"value":1035},{"type":13,"tag":34,"props":1098,"children":1100},{"className":1099},[],[1101],{"type":18,"value":418},{"type":18,"value":1042},{"type":13,"tag":422,"props":1104,"children":1105},{"href":1092},[1106],{"type":18,"value":1095},{"type":18,"value":1108}," and with\nan equivalent ",{"type":13,"tag":34,"props":1110,"children":1112},{"className":1111},[],[1113],{"type":18,"value":1054},{"type":18,"value":564},{"type":13,"tag":14,"props":1116,"children":1117},{},[1118,1120,1126,1128],{"type":18,"value":1119},"Similarly, the ",{"type":13,"tag":34,"props":1121,"children":1123},{"className":1122},[],[1124],{"type":18,"value":1125},"updateScratchSize",{"type":18,"value":1127}," value will support any build command\nspecifying the ",{"type":13,"tag":34,"props":1129,"children":1131},{"className":1130},[],[1132],{"type":18,"value":1133},"VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR",{"type":13,"tag":14,"props":1135,"children":1136},{},[1137,1142,1144,1150,1152,1158,1159,1164],{"type":13,"tag":34,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":18,"value":501},{"type":18,"value":1143}," under the above conditions, and the ",{"type":13,"tag":34,"props":1145,"children":1147},{"className":1146},[],[1148],{"type":18,"value":1149},"buildScratchSize",{"type":18,"value":1151}," value\nwill support any build command specifying the\n",{"type":13,"tag":34,"props":1153,"children":1155},{"className":1154},[],[1156],{"type":18,"value":1157},"VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR",{"type":18,"value":448},{"type":13,"tag":34,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":18,"value":501},{"type":18,"value":1165}," under the\nabove conditions.",{"type":13,"tag":1167,"props":1168,"children":1170},"validity-group",{"name":1169},"Valid Usage",[1171,1206,1238,1284],{"type":13,"tag":1172,"props":1173,"children":1175},"validity-field",{"name":1174},"VUID-vkGetAccelerationStructureBuildSizesKHR-accelerationStructure-08933",[1176],{"type":13,"tag":14,"props":1177,"children":1178},{},[1179,1180,1197,1199,1204],{"type":18,"value":479},{"type":13,"tag":422,"props":1181,"children":1183},{"href":1182},"/man/VkPhysicalDeviceAccelerationStructureFeaturesKHR#features-accelerationStructure",[1184,1190,1191],{"type":13,"tag":34,"props":1185,"children":1187},{"className":1186},[],[1188],{"type":18,"value":1189},"VkPhysicalDeviceAccelerationStructureFeaturesKHR",{"type":18,"value":236},{"type":13,"tag":34,"props":1192,"children":1194},{"className":1193},[],[1195],{"type":18,"value":1196},"accelerationStructure",{"type":18,"value":1198},"\nfeature ",{"type":13,"tag":1200,"props":1201,"children":1203},"normative",{"type":1202},"must",[],{"type":18,"value":1205}," be enabled",{"type":13,"tag":1172,"props":1207,"children":1209},{"name":1208},"VUID-vkGetAccelerationStructureBuildSizesKHR-device-03618",[1210],{"type":13,"tag":14,"props":1211,"children":1212},{},[1213,1215,1220,1222,1232,1234,1237],{"type":18,"value":1214},"If ",{"type":13,"tag":34,"props":1216,"children":1218},{"className":1217},[],[1219],{"type":18,"value":75},{"type":18,"value":1221}," was created with multiple physical devices, then the\n",{"type":13,"tag":422,"props":1223,"children":1225},{"href":1224},"/man/VkPhysicalDeviceBufferDeviceAddressFeatures#features-bufferDeviceAddressMultiDevice",[1226],{"type":13,"tag":34,"props":1227,"children":1229},{"className":1228},[],[1230],{"type":18,"value":1231},"bufferDeviceAddressMultiDevice",{"type":18,"value":1233}," feature ",{"type":13,"tag":1200,"props":1235,"children":1236},{"type":1202},[],{"type":18,"value":1205},{"type":13,"tag":1172,"props":1239,"children":1241},{"name":1240},"VUID-vkGetAccelerationStructureBuildSizesKHR-pBuildInfo-03619",[1242,1274],{"type":13,"tag":14,"props":1243,"children":1244},{},[1245,1246,1251,1252,1258,1259,1264,1267,1269],{"type":18,"value":1214},{"type":13,"tag":34,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":18,"value":446},{"type":18,"value":926},{"type":13,"tag":34,"props":1253,"children":1255},{"className":1254},[],[1256],{"type":18,"value":1257},"0",{"type":18,"value":487},{"type":13,"tag":34,"props":1260,"children":1262},{"className":1261},[],[1263],{"type":18,"value":438},{"type":13,"tag":1200,"props":1265,"children":1266},{"type":1202},[],{"type":18,"value":1268}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":1270,"children":1272},{"className":1271},[],[1273],{"type":18,"value":446},{"type":13,"tag":14,"props":1275,"children":1276},{},[1277,1282],{"type":13,"tag":34,"props":1278,"children":1280},{"className":1279},[],[1281],{"type":18,"value":454},{"type":18,"value":1283}," values",{"type":13,"tag":1172,"props":1285,"children":1287},{"name":1286},"VUID-vkGetAccelerationStructureBuildSizesKHR-pBuildInfo-03785",[1288],{"type":13,"tag":14,"props":1289,"children":1290},{},[1291,1292,1298,1299,1305,1307,1312,1314,1320,1322,1327,1329,1332,1334,1340,1341],{"type":18,"value":1214},{"type":13,"tag":34,"props":1293,"children":1295},{"className":1294},[],[1296],{"type":18,"value":1297},"pBuildInfo→pGeometries",{"type":18,"value":518},{"type":13,"tag":34,"props":1300,"children":1302},{"className":1301},[],[1303],{"type":18,"value":1304},"pBuildInfo→ppGeometries",{"type":18,"value":1306}," has a\n",{"type":13,"tag":34,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":18,"value":736},{"type":18,"value":1313}," of ",{"type":13,"tag":34,"props":1315,"children":1317},{"className":1316},[],[1318],{"type":18,"value":1319},"VK_GEOMETRY_TYPE_INSTANCES_KHR",{"type":18,"value":1321},", each\n",{"type":13,"tag":34,"props":1323,"children":1325},{"className":1324},[],[1326],{"type":18,"value":438},{"type":18,"value":1328},"[i] ",{"type":13,"tag":1200,"props":1330,"children":1331},{"type":1202},[],{"type":18,"value":1333}," be less than or equal to\n",{"type":13,"tag":422,"props":1335,"children":1337},{"href":1336},"/man/VkPhysicalDeviceAccelerationStructurePropertiesKHR",[1338],{"type":18,"value":1339},"VkPhysicalDeviceAccelerationStructurePropertiesKHR",{"type":18,"value":236},{"type":13,"tag":34,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":18,"value":1346},"maxInstanceCount",{"type":13,"tag":1167,"props":1348,"children":1350},{"name":1349},"Valid Usage (Implicit)",[1351,1377,1402,1426,1468],{"type":13,"tag":1172,"props":1352,"children":1354},{"name":1353},"VUID-vkGetAccelerationStructureBuildSizesKHR-device-parameter",[1355],{"type":13,"tag":14,"props":1356,"children":1357},{},[1358,1363,1364,1367,1369,1375],{"type":13,"tag":34,"props":1359,"children":1361},{"className":1360},[],[1362],{"type":18,"value":75},{"type":18,"value":448},{"type":13,"tag":1200,"props":1365,"children":1366},{"type":1202},[],{"type":18,"value":1368}," be a valid ",{"type":13,"tag":422,"props":1370,"children":1372},{"href":1371},"/man/VkDevice",[1373],{"type":18,"value":1374},"VkDevice",{"type":18,"value":1376}," handle",{"type":13,"tag":1172,"props":1378,"children":1380},{"name":1379},"VUID-vkGetAccelerationStructureBuildSizesKHR-buildType-parameter",[1381],{"type":13,"tag":14,"props":1382,"children":1383},{},[1384,1389,1390,1393,1394,1400],{"type":13,"tag":34,"props":1385,"children":1387},{"className":1386},[],[1388],{"type":18,"value":94},{"type":18,"value":448},{"type":13,"tag":1200,"props":1391,"children":1392},{"type":1202},[],{"type":18,"value":1368},{"type":13,"tag":422,"props":1395,"children":1397},{"href":1396},"/man/VkAccelerationStructureBuildTypeKHR",[1398],{"type":18,"value":1399},"VkAccelerationStructureBuildTypeKHR",{"type":18,"value":1401}," value",{"type":13,"tag":1172,"props":1403,"children":1405},{"name":1404},"VUID-vkGetAccelerationStructureBuildSizesKHR-pBuildInfo-parameter",[1406],{"type":13,"tag":14,"props":1407,"children":1408},{},[1409,1414,1415,1418,1420,1424],{"type":13,"tag":34,"props":1410,"children":1412},{"className":1411},[],[1413],{"type":18,"value":418},{"type":18,"value":448},{"type":13,"tag":1200,"props":1416,"children":1417},{"type":1202},[],{"type":18,"value":1419}," be a valid pointer to a valid ",{"type":13,"tag":422,"props":1421,"children":1422},{"href":424},[1423],{"type":18,"value":427},{"type":18,"value":1425}," structure",{"type":13,"tag":1172,"props":1427,"children":1429},{"name":1428},"VUID-vkGetAccelerationStructureBuildSizesKHR-pMaxPrimitiveCounts-parameter",[1430],{"type":13,"tag":14,"props":1431,"children":1432},{},[1433,1434,1439,1440,1445,1446,1451,1452,1455,1456,1461,1462,1467],{"type":18,"value":1214},{"type":13,"tag":34,"props":1435,"children":1437},{"className":1436},[],[1438],{"type":18,"value":438},{"type":18,"value":926},{"type":13,"tag":34,"props":1441,"children":1443},{"className":1442},[],[1444],{"type":18,"value":562},{"type":18,"value":487},{"type":13,"tag":34,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":18,"value":438},{"type":18,"value":448},{"type":13,"tag":1200,"props":1453,"children":1454},{"type":1202},[],{"type":18,"value":1268},{"type":13,"tag":34,"props":1457,"children":1459},{"className":1458},[],[1460],{"type":18,"value":446},{"type":18,"value":448},{"type":13,"tag":34,"props":1463,"children":1465},{"className":1464},[],[1466],{"type":18,"value":454},{"type":18,"value":1283},{"type":13,"tag":1172,"props":1469,"children":1471},{"name":1470},"VUID-vkGetAccelerationStructureBuildSizesKHR-pSizeInfo-parameter",[1472],{"type":13,"tag":14,"props":1473,"children":1474},{},[1475,1480,1481,1484,1486,1490],{"type":13,"tag":34,"props":1476,"children":1478},{"className":1477},[],[1479],{"type":18,"value":465},{"type":18,"value":448},{"type":13,"tag":1200,"props":1482,"children":1483},{"type":1202},[],{"type":18,"value":1485}," be a valid pointer to a ",{"type":13,"tag":422,"props":1487,"children":1488},{"href":469},[1489],{"type":18,"value":472},{"type":18,"value":1425},{"type":13,"tag":1492,"props":1493,"children":1494},"style",{},[1495],{"type":18,"value":1496},"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":63,"depth":63,"links":1498},[],"markdown",1729612512971]