[{"data":1,"prerenderedAt":498},["ShallowReactive",2],{"Zb4tDBRAnU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":497,"_id":4},"VkAccelerationStructureTypeKHR","Type of acceleration structure","VK_KHR_acceleration_structure","enums",[],{"type":10,"children":11,"toc":495},"root",[12,59,360,365,445,489],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43,45,51,52,57],{"type":18,"value":19},"text","Values which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkAccelerationStructureCreateInfoKHR",[32],{"type":18,"value":33},"VkAccelerationStructureCreateInfoKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"type",{"type":18,"value":44},"\nor\n",{"type":13,"tag":28,"props":46,"children":48},{"href":47},"/man/VkAccelerationStructureInfoNV",[49],{"type":18,"value":50},"VkAccelerationStructureInfoNV",{"type":18,"value":35},{"type":13,"tag":37,"props":53,"children":55},{"className":54},[],[56],{"type":18,"value":42},{"type":18,"value":58},"\nspecifying the type of acceleration structure, are:",{"type":13,"tag":60,"props":61,"children":62},"code-group",{},[63,176],{"type":13,"tag":64,"props":65,"children":71},"pre",{"className":66,"code":67,"filename":68,"language":69,"meta":70,"style":70},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkAccelerationStructureTypeKHR {\n VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR = 0,\n VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR = 1,\n VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR = 2,\n} VkAccelerationStructureTypeKHR;\n","C","c","",[72],{"type":13,"tag":37,"props":73,"children":74},{"__ignoreMap":70},[75,98,123,145,167],{"type":13,"tag":76,"props":77,"children":80},"span",{"class":78,"line":79},"line",1,[81,87,92],{"type":13,"tag":76,"props":82,"children":84},{"style":83},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[85],{"type":18,"value":86},"typedef",{"type":13,"tag":76,"props":88,"children":89},{"style":83},[90],{"type":18,"value":91}," enum",{"type":13,"tag":76,"props":93,"children":95},{"style":94},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[96],{"type":18,"value":97}," VkAccelerationStructureTypeKHR {\n",{"type":13,"tag":76,"props":99,"children":101},{"class":78,"line":100},2,[102,107,112,118],{"type":13,"tag":76,"props":103,"children":104},{"style":94},[105],{"type":18,"value":106}," VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR ",{"type":13,"tag":76,"props":108,"children":109},{"style":83},[110],{"type":18,"value":111},"=",{"type":13,"tag":76,"props":113,"children":115},{"style":114},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[116],{"type":18,"value":117}," 0",{"type":13,"tag":76,"props":119,"children":120},{"style":94},[121],{"type":18,"value":122},",\n",{"type":13,"tag":76,"props":124,"children":126},{"class":78,"line":125},3,[127,132,136,141],{"type":13,"tag":76,"props":128,"children":129},{"style":94},[130],{"type":18,"value":131}," VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR ",{"type":13,"tag":76,"props":133,"children":134},{"style":83},[135],{"type":18,"value":111},{"type":13,"tag":76,"props":137,"children":138},{"style":114},[139],{"type":18,"value":140}," 1",{"type":13,"tag":76,"props":142,"children":143},{"style":94},[144],{"type":18,"value":122},{"type":13,"tag":76,"props":146,"children":148},{"class":78,"line":147},4,[149,154,158,163],{"type":13,"tag":76,"props":150,"children":151},{"style":94},[152],{"type":18,"value":153}," VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR ",{"type":13,"tag":76,"props":155,"children":156},{"style":83},[157],{"type":18,"value":111},{"type":13,"tag":76,"props":159,"children":160},{"style":114},[161],{"type":18,"value":162}," 2",{"type":13,"tag":76,"props":164,"children":165},{"style":94},[166],{"type":18,"value":122},{"type":13,"tag":76,"props":168,"children":170},{"class":78,"line":169},5,[171],{"type":13,"tag":76,"props":172,"children":173},{"style":94},[174],{"type":18,"value":175},"} VkAccelerationStructureTypeKHR;\n",{"type":13,"tag":64,"props":177,"children":182},{"className":178,"code":179,"filename":180,"language":181,"meta":70,"style":70},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AccelerationStructureTypeKHR(u32);\nimpl AccelerationStructureTypeKHR {\n pub const TOP_LEVEL: Self = 0;\n pub const BOTTOM_LEVEL: Self = 1;\n pub const GENERIC: Self = 2;\n}\n","Rust","rs",[183],{"type":13,"tag":37,"props":184,"children":185},{"__ignoreMap":70},[186,220,237,279,315,351],{"type":13,"tag":76,"props":187,"children":188},{"class":78,"line":79},[189,194,199,205,210,215],{"type":13,"tag":76,"props":190,"children":191},{"style":83},[192],{"type":18,"value":193},"pub",{"type":13,"tag":76,"props":195,"children":196},{"style":83},[197],{"type":18,"value":198}," struct",{"type":13,"tag":76,"props":200,"children":202},{"style":201},"--shiki-default:#953800;--shiki-dark:#FFA657",[203],{"type":18,"value":204}," AccelerationStructureTypeKHR",{"type":13,"tag":76,"props":206,"children":207},{"style":94},[208],{"type":18,"value":209},"(",{"type":13,"tag":76,"props":211,"children":212},{"style":201},[213],{"type":18,"value":214},"u32",{"type":13,"tag":76,"props":216,"children":217},{"style":94},[218],{"type":18,"value":219},");\n",{"type":13,"tag":76,"props":221,"children":222},{"class":78,"line":100},[223,228,232],{"type":13,"tag":76,"props":224,"children":225},{"style":83},[226],{"type":18,"value":227},"impl",{"type":13,"tag":76,"props":229,"children":230},{"style":201},[231],{"type":18,"value":204},{"type":13,"tag":76,"props":233,"children":234},{"style":94},[235],{"type":18,"value":236}," {\n",{"type":13,"tag":76,"props":238,"children":239},{"class":78,"line":125},[240,245,250,255,260,265,270,274],{"type":13,"tag":76,"props":241,"children":242},{"style":83},[243],{"type":18,"value":244}," pub",{"type":13,"tag":76,"props":246,"children":247},{"style":83},[248],{"type":18,"value":249}," const",{"type":13,"tag":76,"props":251,"children":252},{"style":114},[253],{"type":18,"value":254}," TOP_LEVEL",{"type":13,"tag":76,"props":256,"children":257},{"style":83},[258],{"type":18,"value":259},":",{"type":13,"tag":76,"props":261,"children":262},{"style":114},[263],{"type":18,"value":264}," Self",{"type":13,"tag":76,"props":266,"children":267},{"style":83},[268],{"type":18,"value":269}," =",{"type":13,"tag":76,"props":271,"children":272},{"style":114},[273],{"type":18,"value":117},{"type":13,"tag":76,"props":275,"children":276},{"style":94},[277],{"type":18,"value":278},";\n",{"type":13,"tag":76,"props":280,"children":281},{"class":78,"line":147},[282,286,290,295,299,303,307,311],{"type":13,"tag":76,"props":283,"children":284},{"style":83},[285],{"type":18,"value":244},{"type":13,"tag":76,"props":287,"children":288},{"style":83},[289],{"type":18,"value":249},{"type":13,"tag":76,"props":291,"children":292},{"style":114},[293],{"type":18,"value":294}," BOTTOM_LEVEL",{"type":13,"tag":76,"props":296,"children":297},{"style":83},[298],{"type":18,"value":259},{"type":13,"tag":76,"props":300,"children":301},{"style":114},[302],{"type":18,"value":264},{"type":13,"tag":76,"props":304,"children":305},{"style":83},[306],{"type":18,"value":269},{"type":13,"tag":76,"props":308,"children":309},{"style":114},[310],{"type":18,"value":140},{"type":13,"tag":76,"props":312,"children":313},{"style":94},[314],{"type":18,"value":278},{"type":13,"tag":76,"props":316,"children":317},{"class":78,"line":169},[318,322,326,331,335,339,343,347],{"type":13,"tag":76,"props":319,"children":320},{"style":83},[321],{"type":18,"value":244},{"type":13,"tag":76,"props":323,"children":324},{"style":83},[325],{"type":18,"value":249},{"type":13,"tag":76,"props":327,"children":328},{"style":114},[329],{"type":18,"value":330}," GENERIC",{"type":13,"tag":76,"props":332,"children":333},{"style":83},[334],{"type":18,"value":259},{"type":13,"tag":76,"props":336,"children":337},{"style":114},[338],{"type":18,"value":264},{"type":13,"tag":76,"props":340,"children":341},{"style":83},[342],{"type":18,"value":269},{"type":13,"tag":76,"props":344,"children":345},{"style":114},[346],{"type":18,"value":162},{"type":13,"tag":76,"props":348,"children":349},{"style":94},[350],{"type":18,"value":278},{"type":13,"tag":76,"props":352,"children":354},{"class":78,"line":353},6,[355],{"type":13,"tag":76,"props":356,"children":357},{"style":94},[358],{"type":18,"value":359},"}\n",{"type":13,"tag":14,"props":361,"children":362},{},[363],{"type":18,"value":364},"or the equivalent",{"type":13,"tag":60,"props":366,"children":367},{},[368,394],{"type":13,"tag":64,"props":369,"children":371},{"className":66,"code":370,"filename":68,"language":69,"meta":70,"style":70},"#define VkAccelerationStructureTypeNV VkAccelerationStructureTypeKHR\n",[372],{"type":13,"tag":37,"props":373,"children":374},{"__ignoreMap":70},[375],{"type":13,"tag":76,"props":376,"children":377},{"class":78,"line":79},[378,383,389],{"type":13,"tag":76,"props":379,"children":380},{"style":83},[381],{"type":18,"value":382},"#define",{"type":13,"tag":76,"props":384,"children":386},{"style":385},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[387],{"type":18,"value":388}," VkAccelerationStructureTypeNV",{"type":13,"tag":76,"props":390,"children":391},{"style":94},[392],{"type":18,"value":393}," VkAccelerationStructureTypeKHR\n",{"type":13,"tag":64,"props":395,"children":397},{"className":178,"code":396,"filename":180,"language":181,"meta":70,"style":70},"const AccelerationStructureTypeNV: _ = vk::AccelerationStructureTypeKHR;\n",[398],{"type":13,"tag":37,"props":399,"children":400},{"__ignoreMap":70},[401],{"type":13,"tag":76,"props":402,"children":403},{"class":78,"line":79},[404,409,414,418,423,427,432,436,441],{"type":13,"tag":76,"props":405,"children":406},{"style":83},[407],{"type":18,"value":408},"const",{"type":13,"tag":76,"props":410,"children":411},{"style":114},[412],{"type":18,"value":413}," AccelerationStructureTypeNV",{"type":13,"tag":76,"props":415,"children":416},{"style":83},[417],{"type":18,"value":259},{"type":13,"tag":76,"props":419,"children":420},{"style":94},[421],{"type":18,"value":422}," _ ",{"type":13,"tag":76,"props":424,"children":425},{"style":83},[426],{"type":18,"value":111},{"type":13,"tag":76,"props":428,"children":429},{"style":201},[430],{"type":18,"value":431}," vk",{"type":13,"tag":76,"props":433,"children":434},{"style":83},[435],{"type":18,"value":35},{"type":13,"tag":76,"props":437,"children":438},{"style":201},[439],{"type":18,"value":440},"AccelerationStructureTypeKHR",{"type":13,"tag":76,"props":442,"children":443},{"style":94},[444],{"type":18,"value":278},{"type":13,"tag":446,"props":447,"children":448},"ul",{},[449,461,472],{"type":13,"tag":450,"props":451,"children":452},"li",{},[453,459],{"type":13,"tag":37,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":458},"VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR",{"type":18,"value":460}," is a top-level\nacceleration structure containing instance data referring to\nbottom-level acceleration structures.",{"type":13,"tag":450,"props":462,"children":463},{},[464,470],{"type":13,"tag":37,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":469},"VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR",{"type":18,"value":471}," is a bottom-level\nacceleration structure containing the AABBs or geometry to be\nintersected.",{"type":13,"tag":450,"props":473,"children":474},{},[475,481,483,487],{"type":13,"tag":37,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":480},"VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR",{"type":18,"value":482}," is an acceleration\nstructure whose type is determined at build time used for special\ncircumstances.\nIn these cases, the acceleration structure type is not known at creation\ntime, but ",{"type":13,"tag":21,"props":484,"children":486},{"type":485},"must",[],{"type":18,"value":488}," be specified at build time as either top or bottom.",{"type":13,"tag":490,"props":491,"children":492},"style",{},[493],{"type":18,"value":494},"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":70,"searchDepth":100,"depth":100,"links":496},[],"markdown",1725732538184]