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