[{"data":1,"prerenderedAt":461},["ShallowReactive",2],{"zZpQ9HHKFV":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":460,"_id":4},"VkAccelerationStructureBuildSizesInfoKHR","Structure specifying build sizes for an acceleration structure","VK_KHR_acceleration_structure","structs",[],{"type":10,"children":11,"toc":458},"root",[12,28,312,397,452],{"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 describes the\nrequired build sizes for an acceleration structure and scratch buffers and\nis 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 VkAccelerationStructureBuildSizesInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkDeviceSize accelerationStructureSize;\n VkDeviceSize updateScratchSize;\n VkDeviceSize buildScratchSize;\n} VkAccelerationStructureBuildSizesInfoKHR;\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}," VkAccelerationStructureBuildSizesInfoKHR {\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}," VkDeviceSize accelerationStructureSize;\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}," VkDeviceSize updateScratchSize;\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}," VkDeviceSize buildScratchSize;\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},"} VkAccelerationStructureBuildSizesInfoKHR;\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 AccelerationStructureBuildSizesInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n acceleration_structure_size: vk::DeviceSize,\n update_scratch_size: vk::DeviceSize,\n build_scratch_size: vk::DeviceSize,\n}\n","Rust","rs",[138],{"type":13,"tag":21,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,248,276,304],{"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}," AccelerationStructureBuildSizesInfoKHR",{"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}," acceleration_structure_size",{"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},"DeviceSize",{"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}," update_scratch_size",{"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,300],{"type":13,"tag":45,"props":280,"children":281},{"style":63},[282],{"type":18,"value":283}," build_scratch_size",{"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":243},{"type":13,"tag":45,"props":301,"children":302},{"style":63},[303],{"type":18,"value":196},{"type":13,"tag":45,"props":305,"children":306},{"class":47,"line":124},[307],{"type":13,"tag":45,"props":308,"children":309},{"style":63},[310],{"type":18,"value":311},"}\n",{"type":13,"tag":313,"props":314,"children":315},"ul",{},[316,337,356,375,386],{"type":13,"tag":317,"props":318,"children":319},"li",{},[320,326,328,335],{"type":13,"tag":21,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":325},"sType",{"type":18,"value":327}," is a ",{"type":13,"tag":329,"props":330,"children":332},"a",{"href":331},"/man/VkStructureType",[333],{"type":18,"value":334},"VkStructureType",{"type":18,"value":336}," value identifying this structure.",{"type":13,"tag":317,"props":338,"children":339},{},[340,346,348,354],{"type":13,"tag":21,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":345},"pNext",{"type":18,"value":347}," is ",{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"NULL",{"type":18,"value":355}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":317,"props":357,"children":358},{},[359,365,367,373],{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"accelerationStructureSize",{"type":18,"value":366}," is the size in bytes required in a\n",{"type":13,"tag":329,"props":368,"children":370},{"href":369},"/man/VkAccelerationStructureKHR",[371],{"type":18,"value":372},"VkAccelerationStructureKHR",{"type":18,"value":374}," for a build or update operation.",{"type":13,"tag":317,"props":376,"children":377},{},[378,384],{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"updateScratchSize",{"type":18,"value":385}," is the size in bytes required in a scratch\nbuffer for an update operation.",{"type":13,"tag":317,"props":387,"children":388},{},[389,395],{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"buildScratchSize",{"type":18,"value":396}," is the size in bytes required in a scratch buffer\nfor a build operation.",{"type":13,"tag":398,"props":399,"children":401},"validity-group",{"name":400},"Valid Usage (Implicit)",[402,430],{"type":13,"tag":403,"props":404,"children":406},"validity-field",{"name":405},"VUID-VkAccelerationStructureBuildSizesInfoKHR-sType-sType",[407],{"type":13,"tag":14,"props":408,"children":409},{},[410,415,417,422,424],{"type":13,"tag":21,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":325},{"type":18,"value":416}," ",{"type":13,"tag":418,"props":419,"children":421},"normative",{"type":420},"must",[],{"type":18,"value":423}," be ",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR",{"type":13,"tag":403,"props":431,"children":433},{"name":432},"VUID-VkAccelerationStructureBuildSizesInfoKHR-pNext-pNext",[434],{"type":13,"tag":14,"props":435,"children":436},{},[437,442,443,446,447],{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":345},{"type":18,"value":416},{"type":13,"tag":418,"props":444,"children":445},{"type":420},[],{"type":18,"value":423},{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":353},{"type":13,"tag":453,"props":454,"children":455},"style",{},[456],{"type":18,"value":457},"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":459},[],"markdown",1725732537095]