[{"data":1,"prerenderedAt":641},["ShallowReactive",2],{"XkyGvckumX":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":640,"_id":4},"VkGeometryAABBNV","Structure specifying axis-aligned bounding box geometry in a bottom-level acceleration structure","VK_NV_ray_tracing","structs",[],{"type":10,"children":11,"toc":638},"root",[12,28,356,457,462,540,632],{"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 specifies axis-aligned bounding box\ngeometry in a bottom-level acceleration structure, and is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,149],{"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 VkGeometryAABBNV {\n VkStructureType sType;\n const void* pNext;\n VkBuffer aabbData;\n uint32_t numAABBs;\n uint32_t stride;\n VkDeviceSize offset;\n} VkGeometryAABBNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118,131,140],{"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}," VkGeometryAABBNV {\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}," VkBuffer aabbData;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," uint32_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," numAABBs;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122,126],{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":112},{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," stride;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},7,[135],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," VkDeviceSize offset;\n",{"type":13,"tag":45,"props":141,"children":143},{"class":47,"line":142},8,[144],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148},"} VkGeometryAABBNV;\n",{"type":13,"tag":33,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct GeometryAABBNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n aabb_data: vk::Buffer,\n num_aab_bs: u32,\n stride: u32, // Stride in bytes between AABBs\n offset: vk::DeviceSize, // Offset in bytes of the first AABB in aabbData\n}\n","Rust","rs",[156],{"type":13,"tag":21,"props":157,"children":158},{"__ignoreMap":39},[159,182,215,237,266,287,314,348],{"type":13,"tag":45,"props":160,"children":161},{"class":47,"line":48},[162,167,171,177],{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":166},"pub",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":60},{"type":13,"tag":45,"props":172,"children":174},{"style":173},"--shiki-default:#953800;--shiki-dark:#FFA657",[175],{"type":18,"value":176}," GeometryAABBNV",{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," {\n",{"type":13,"tag":45,"props":183,"children":184},{"class":47,"line":69},[185,190,195,200,205,210],{"type":13,"tag":45,"props":186,"children":187},{"style":63},[188],{"type":18,"value":189}," s_type",{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":194},":",{"type":13,"tag":45,"props":196,"children":197},{"style":173},[198],{"type":18,"value":199}," vk",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204},"::",{"type":13,"tag":45,"props":206,"children":207},{"style":173},[208],{"type":18,"value":209},"StructureType",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214},",\n",{"type":13,"tag":45,"props":216,"children":217},{"class":47,"line":78},[218,223,227,232],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," p_next",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":194},{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":231}," *const",{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":236}," c_void,\n",{"type":13,"tag":45,"props":238,"children":239},{"class":47,"line":97},[240,245,249,253,257,262],{"type":13,"tag":45,"props":241,"children":242},{"style":63},[243],{"type":18,"value":244}," aabb_data",{"type":13,"tag":45,"props":246,"children":247},{"style":52},[248],{"type":18,"value":194},{"type":13,"tag":45,"props":250,"children":251},{"style":173},[252],{"type":18,"value":199},{"type":13,"tag":45,"props":254,"children":255},{"style":52},[256],{"type":18,"value":204},{"type":13,"tag":45,"props":258,"children":259},{"style":173},[260],{"type":18,"value":261},"Buffer",{"type":13,"tag":45,"props":263,"children":264},{"style":63},[265],{"type":18,"value":214},{"type":13,"tag":45,"props":267,"children":268},{"class":47,"line":106},[269,274,278,283],{"type":13,"tag":45,"props":270,"children":271},{"style":63},[272],{"type":18,"value":273}," num_aab_bs",{"type":13,"tag":45,"props":275,"children":276},{"style":52},[277],{"type":18,"value":194},{"type":13,"tag":45,"props":279,"children":280},{"style":173},[281],{"type":18,"value":282}," u32",{"type":13,"tag":45,"props":284,"children":285},{"style":63},[286],{"type":18,"value":214},{"type":13,"tag":45,"props":288,"children":289},{"class":47,"line":120},[290,295,299,303,308],{"type":13,"tag":45,"props":291,"children":292},{"style":63},[293],{"type":18,"value":294}," stride",{"type":13,"tag":45,"props":296,"children":297},{"style":52},[298],{"type":18,"value":194},{"type":13,"tag":45,"props":300,"children":301},{"style":173},[302],{"type":18,"value":282},{"type":13,"tag":45,"props":304,"children":305},{"style":63},[306],{"type":18,"value":307},", ",{"type":13,"tag":45,"props":309,"children":311},{"style":310},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[312],{"type":18,"value":313},"// Stride in bytes between AABBs\n",{"type":13,"tag":45,"props":315,"children":316},{"class":47,"line":133},[317,322,326,330,334,339,343],{"type":13,"tag":45,"props":318,"children":319},{"style":63},[320],{"type":18,"value":321}," offset",{"type":13,"tag":45,"props":323,"children":324},{"style":52},[325],{"type":18,"value":194},{"type":13,"tag":45,"props":327,"children":328},{"style":173},[329],{"type":18,"value":199},{"type":13,"tag":45,"props":331,"children":332},{"style":52},[333],{"type":18,"value":204},{"type":13,"tag":45,"props":335,"children":336},{"style":173},[337],{"type":18,"value":338},"DeviceSize",{"type":13,"tag":45,"props":340,"children":341},{"style":63},[342],{"type":18,"value":307},{"type":13,"tag":45,"props":344,"children":345},{"style":310},[346],{"type":18,"value":347},"// Offset in bytes of the first AABB in aabbData\n",{"type":13,"tag":45,"props":349,"children":350},{"class":47,"line":142},[351],{"type":13,"tag":45,"props":352,"children":353},{"style":63},[354],{"type":18,"value":355},"}\n",{"type":13,"tag":357,"props":358,"children":359},"ul",{},[360,381,400,411,422,440],{"type":13,"tag":361,"props":362,"children":363},"li",{},[364,370,372,379],{"type":13,"tag":21,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":369},"sType",{"type":18,"value":371}," is a ",{"type":13,"tag":373,"props":374,"children":376},"a",{"href":375},"/man/VkStructureType",[377],{"type":18,"value":378},"VkStructureType",{"type":18,"value":380}," value identifying this structure.",{"type":13,"tag":361,"props":382,"children":383},{},[384,390,392,398],{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"pNext",{"type":18,"value":391}," is ",{"type":13,"tag":21,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":397},"NULL",{"type":18,"value":399}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":361,"props":401,"children":402},{},[403,409],{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":408},"aabbData",{"type":18,"value":410}," is the buffer containing axis-aligned bounding box data.",{"type":13,"tag":361,"props":412,"children":413},{},[414,420],{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"numAABBs",{"type":18,"value":421}," is the number of AABBs in this geometry.",{"type":13,"tag":361,"props":423,"children":424},{},[425,431,433,438],{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"stride",{"type":18,"value":432}," is the stride in bytes between AABBs in ",{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":408},{"type":18,"value":439},".",{"type":13,"tag":361,"props":441,"children":442},{},[443,449,451,456],{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":448},"offset",{"type":18,"value":450}," is the offset in bytes of the first AABB in ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":408},{"type":18,"value":439},{"type":13,"tag":14,"props":458,"children":459},{},[460],{"type":18,"value":461},"The AABB data in memory is six 32-bit floats consisting of the minimum x, y,\nand z values followed by the maximum x, y, and z values.",{"type":13,"tag":463,"props":464,"children":466},"validity-group",{"name":465},"Valid Usage",[467,494,518],{"type":13,"tag":468,"props":469,"children":471},"validity-field",{"name":470},"VUID-VkGeometryAABBNV-offset-02439",[472],{"type":13,"tag":14,"props":473,"children":474},{},[475,480,482,487,489],{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":448},{"type":18,"value":481}," ",{"type":13,"tag":483,"props":484,"children":486},"normative",{"type":485},"must",[],{"type":18,"value":488}," be less than the size of ",{"type":13,"tag":21,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":408},{"type":13,"tag":468,"props":495,"children":497},{"name":496},"VUID-VkGeometryAABBNV-offset-02440",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,506,507,510,512],{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":448},{"type":18,"value":481},{"type":13,"tag":483,"props":508,"children":509},{"type":485},[],{"type":18,"value":511}," be a multiple of ",{"type":13,"tag":21,"props":513,"children":515},{"className":514},[],[516],{"type":18,"value":517},"8",{"type":13,"tag":468,"props":519,"children":521},{"name":520},"VUID-VkGeometryAABBNV-stride-02441",[522],{"type":13,"tag":14,"props":523,"children":524},{},[525,530,531,534,535],{"type":13,"tag":21,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":430},{"type":18,"value":481},{"type":13,"tag":483,"props":532,"children":533},{"type":485},[],{"type":18,"value":511},{"type":13,"tag":21,"props":536,"children":538},{"className":537},[],[539],{"type":18,"value":517},{"type":13,"tag":463,"props":541,"children":543},{"name":542},"Valid Usage (Implicit)",[544,568,590],{"type":13,"tag":468,"props":545,"children":547},{"name":546},"VUID-VkGeometryAABBNV-sType-sType",[548],{"type":13,"tag":14,"props":549,"children":550},{},[551,556,557,560,562],{"type":13,"tag":21,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":369},{"type":18,"value":481},{"type":13,"tag":483,"props":558,"children":559},{"type":485},[],{"type":18,"value":561}," be ",{"type":13,"tag":21,"props":563,"children":565},{"className":564},[],[566],{"type":18,"value":567},"VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV",{"type":13,"tag":468,"props":569,"children":571},{"name":570},"VUID-VkGeometryAABBNV-pNext-pNext",[572],{"type":13,"tag":14,"props":573,"children":574},{},[575,580,581,584,585],{"type":13,"tag":21,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":389},{"type":18,"value":481},{"type":13,"tag":483,"props":582,"children":583},{"type":485},[],{"type":18,"value":561},{"type":13,"tag":21,"props":586,"children":588},{"className":587},[],[589],{"type":18,"value":397},{"type":13,"tag":468,"props":591,"children":593},{"name":592},"VUID-VkGeometryAABBNV-aabbData-parameter",[594],{"type":13,"tag":14,"props":595,"children":596},{},[597,599,604,606,612,613,618,619,622,624,630],{"type":18,"value":598},"If ",{"type":13,"tag":21,"props":600,"children":602},{"className":601},[],[603],{"type":18,"value":408},{"type":18,"value":605}," is not ",{"type":13,"tag":373,"props":607,"children":609},{"href":608},"/man/VK_NULL_HANDLE",[610],{"type":18,"value":611},"VK_NULL_HANDLE",{"type":18,"value":307},{"type":13,"tag":21,"props":614,"children":616},{"className":615},[],[617],{"type":18,"value":408},{"type":18,"value":481},{"type":13,"tag":483,"props":620,"children":621},{"type":485},[],{"type":18,"value":623}," be a valid ",{"type":13,"tag":373,"props":625,"children":627},{"href":626},"/man/VkBuffer",[628],{"type":18,"value":629},"VkBuffer",{"type":18,"value":631}," handle",{"type":13,"tag":633,"props":634,"children":635},"style",{},[636],{"type":18,"value":637},"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":639},[],"markdown",1725732554963]