[{"data":1,"prerenderedAt":529},["ShallowReactive",2],{"r07pjhWbIF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":528,"_id":4},"VkClusterAccelerationStructureInstantiateClusterInfoNV","Parameters describing instantiate operation for a template cluster acceleration structure","VK_NV_cluster_acceleration_structure","structs",[],{"type":10,"children":11,"toc":526},"root",[12,28,319,403,520],{"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/VkClusterAccelerationStructureInstantiateClusterInfoNV",[25],{"type":18,"value":4},{"type":18,"value":27}," structure\nis defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,155],{"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 VkClusterAccelerationStructureInstantiateClusterInfoNV {\n uint32_t clusterIdOffset;\n uint32_t geometryIndexOffset:24;\n uint32_t reserved:8;\n VkDeviceAddress clusterTemplateAddress;\n VkStridedDeviceAddressNV vertexBuffer;\n} VkClusterAccelerationStructureInstantiateClusterInfoNV;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,82,106,128,137,146],{"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}," VkClusterAccelerationStructureInstantiateClusterInfoNV {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72,77],{"type":13,"tag":46,"props":73,"children":74},{"style":53},[75],{"type":18,"value":76}," uint32_t",{"type":13,"tag":46,"props":78,"children":79},{"style":64},[80],{"type":18,"value":81}," clusterIdOffset;\n",{"type":13,"tag":46,"props":83,"children":85},{"class":48,"line":84},3,[86,90,95,101],{"type":13,"tag":46,"props":87,"children":88},{"style":53},[89],{"type":18,"value":76},{"type":13,"tag":46,"props":91,"children":92},{"style":64},[93],{"type":18,"value":94}," geometryIndexOffset:",{"type":13,"tag":46,"props":96,"children":98},{"style":97},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[99],{"type":18,"value":100},"24",{"type":13,"tag":46,"props":102,"children":103},{"style":64},[104],{"type":18,"value":105},";\n",{"type":13,"tag":46,"props":107,"children":109},{"class":48,"line":108},4,[110,114,119,124],{"type":13,"tag":46,"props":111,"children":112},{"style":53},[113],{"type":18,"value":76},{"type":13,"tag":46,"props":115,"children":116},{"style":64},[117],{"type":18,"value":118}," reserved:",{"type":13,"tag":46,"props":120,"children":121},{"style":97},[122],{"type":18,"value":123},"8",{"type":13,"tag":46,"props":125,"children":126},{"style":64},[127],{"type":18,"value":105},{"type":13,"tag":46,"props":129,"children":131},{"class":48,"line":130},5,[132],{"type":13,"tag":46,"props":133,"children":134},{"style":64},[135],{"type":18,"value":136}," VkDeviceAddress clusterTemplateAddress;\n",{"type":13,"tag":46,"props":138,"children":140},{"class":48,"line":139},6,[141],{"type":13,"tag":46,"props":142,"children":143},{"style":64},[144],{"type":18,"value":145}," VkStridedDeviceAddressNV vertexBuffer;\n",{"type":13,"tag":46,"props":147,"children":149},{"class":48,"line":148},7,[150],{"type":13,"tag":46,"props":151,"children":152},{"style":64},[153],{"type":18,"value":154},"} VkClusterAccelerationStructureInstantiateClusterInfoNV;\n",{"type":13,"tag":33,"props":156,"children":161},{"className":157,"code":158,"filename":159,"language":160,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ClusterAccelerationStructureInstantiateClusterInfoNV {\n cluster_id_offset: u32,\n geometry_index_offset: u32,\n reserved: u32,\n cluster_template_address: vk::DeviceAddress,\n vertex_buffer: vk::StridedDeviceAddressNV,\n}\n","Rust","rs",[162],{"type":13,"tag":42,"props":163,"children":164},{"__ignoreMap":39},[165,188,211,231,251,282,311],{"type":13,"tag":46,"props":166,"children":167},{"class":48,"line":49},[168,173,177,183],{"type":13,"tag":46,"props":169,"children":170},{"style":53},[171],{"type":18,"value":172},"pub",{"type":13,"tag":46,"props":174,"children":175},{"style":53},[176],{"type":18,"value":61},{"type":13,"tag":46,"props":178,"children":180},{"style":179},"--shiki-default:#953800;--shiki-dark:#FFA657",[181],{"type":18,"value":182}," ClusterAccelerationStructureInstantiateClusterInfoNV",{"type":13,"tag":46,"props":184,"children":185},{"style":64},[186],{"type":18,"value":187}," {\n",{"type":13,"tag":46,"props":189,"children":190},{"class":48,"line":70},[191,196,201,206],{"type":13,"tag":46,"props":192,"children":193},{"style":64},[194],{"type":18,"value":195}," cluster_id_offset",{"type":13,"tag":46,"props":197,"children":198},{"style":53},[199],{"type":18,"value":200},":",{"type":13,"tag":46,"props":202,"children":203},{"style":179},[204],{"type":18,"value":205}," u32",{"type":13,"tag":46,"props":207,"children":208},{"style":64},[209],{"type":18,"value":210},",\n",{"type":13,"tag":46,"props":212,"children":213},{"class":48,"line":84},[214,219,223,227],{"type":13,"tag":46,"props":215,"children":216},{"style":64},[217],{"type":18,"value":218}," geometry_index_offset",{"type":13,"tag":46,"props":220,"children":221},{"style":53},[222],{"type":18,"value":200},{"type":13,"tag":46,"props":224,"children":225},{"style":179},[226],{"type":18,"value":205},{"type":13,"tag":46,"props":228,"children":229},{"style":64},[230],{"type":18,"value":210},{"type":13,"tag":46,"props":232,"children":233},{"class":48,"line":108},[234,239,243,247],{"type":13,"tag":46,"props":235,"children":236},{"style":64},[237],{"type":18,"value":238}," reserved",{"type":13,"tag":46,"props":240,"children":241},{"style":53},[242],{"type":18,"value":200},{"type":13,"tag":46,"props":244,"children":245},{"style":179},[246],{"type":18,"value":205},{"type":13,"tag":46,"props":248,"children":249},{"style":64},[250],{"type":18,"value":210},{"type":13,"tag":46,"props":252,"children":253},{"class":48,"line":130},[254,259,263,268,273,278],{"type":13,"tag":46,"props":255,"children":256},{"style":64},[257],{"type":18,"value":258}," cluster_template_address",{"type":13,"tag":46,"props":260,"children":261},{"style":53},[262],{"type":18,"value":200},{"type":13,"tag":46,"props":264,"children":265},{"style":179},[266],{"type":18,"value":267}," vk",{"type":13,"tag":46,"props":269,"children":270},{"style":53},[271],{"type":18,"value":272},"::",{"type":13,"tag":46,"props":274,"children":275},{"style":179},[276],{"type":18,"value":277},"DeviceAddress",{"type":13,"tag":46,"props":279,"children":280},{"style":64},[281],{"type":18,"value":210},{"type":13,"tag":46,"props":283,"children":284},{"class":48,"line":139},[285,290,294,298,302,307],{"type":13,"tag":46,"props":286,"children":287},{"style":64},[288],{"type":18,"value":289}," vertex_buffer",{"type":13,"tag":46,"props":291,"children":292},{"style":53},[293],{"type":18,"value":200},{"type":13,"tag":46,"props":295,"children":296},{"style":179},[297],{"type":18,"value":267},{"type":13,"tag":46,"props":299,"children":300},{"style":53},[301],{"type":18,"value":272},{"type":13,"tag":46,"props":303,"children":304},{"style":179},[305],{"type":18,"value":306},"StridedDeviceAddressNV",{"type":13,"tag":46,"props":308,"children":309},{"style":64},[310],{"type":18,"value":210},{"type":13,"tag":46,"props":312,"children":313},{"class":48,"line":148},[314],{"type":13,"tag":46,"props":315,"children":316},{"style":64},[317],{"type":18,"value":318},"}\n",{"type":13,"tag":320,"props":321,"children":322},"ul",{},[323,343,354,365,376],{"type":13,"tag":324,"props":325,"children":326},"li",{},[327,333,335,341],{"type":13,"tag":42,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":332},"clusterIdOffset",{"type":18,"value":334}," is an unsigned offset applied to the\n",{"type":13,"tag":42,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":340},"clusterID",{"type":18,"value":342}," value stored in the cluster template.",{"type":13,"tag":324,"props":344,"children":345},{},[346,352],{"type":13,"tag":42,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":351},"geometryIndexOffset",{"type":18,"value":353}," is a signed offset applied to the geometry\nindex of each triangle.",{"type":13,"tag":324,"props":355,"children":356},{},[357,363],{"type":13,"tag":42,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"reserved",{"type":18,"value":364}," is reserved for future use.",{"type":13,"tag":324,"props":366,"children":367},{},[368,374],{"type":13,"tag":42,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"clusterTemplateAddress",{"type":18,"value":375}," is the address of a previously built\ncluster template.",{"type":13,"tag":324,"props":377,"children":378},{},[379,385,387,393,395,401],{"type":13,"tag":42,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"vertexBuffer",{"type":18,"value":386}," is either ",{"type":13,"tag":42,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"NULL",{"type":18,"value":394}," or a ",{"type":13,"tag":21,"props":396,"children":398},{"href":397},"/man/VkStridedDeviceAddressNV",[399],{"type":18,"value":400},"VkStridedDeviceAddressNV",{"type":18,"value":402},"\nstructure containing the vertex data for the indexed triangles stored in\nthe cluster template.",{"type":13,"tag":404,"props":405,"children":407},"validity-group",{"name":406},"Valid Usage",[408,437,463,487],{"type":13,"tag":409,"props":410,"children":412},"validity-field",{"name":411},"VUID-VkClusterAccelerationStructureInstantiateClusterInfoNV-vertexBuffer-10507",[413],{"type":13,"tag":14,"props":414,"children":415},{},[416,421,423,428,430,435],{"type":13,"tag":42,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":384},{"type":18,"value":422}," ",{"type":13,"tag":424,"props":425,"children":427},"normative",{"type":426},"must",[],{"type":18,"value":429}," not be ",{"type":13,"tag":42,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":392},{"type":18,"value":436}," if the template was built without\nvertex data",{"type":13,"tag":409,"props":438,"children":440},{"name":439},"VUID-VkClusterAccelerationStructureInstantiateClusterInfoNV-vertexBuffer-10508",[441],{"type":13,"tag":14,"props":442,"children":443},{},[444,446,451,452,455,457],{"type":18,"value":445},"The format in ",{"type":13,"tag":42,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":384},{"type":18,"value":422},{"type":13,"tag":424,"props":453,"children":454},{"type":426},[],{"type":18,"value":456}," match the original format\nspecified in ",{"type":13,"tag":21,"props":458,"children":460},{"href":459},"/man/VkClusterAccelerationStructureTriangleClusterInputNV",[461],{"type":18,"value":462},"VkClusterAccelerationStructureTriangleClusterInputNV",{"type":13,"tag":409,"props":464,"children":466},{"name":465},"VUID-VkClusterAccelerationStructureInstantiateClusterInfoNV-reserved-10509",[467],{"type":13,"tag":14,"props":468,"children":469},{},[470,475,476,479,481],{"type":13,"tag":42,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":362},{"type":18,"value":422},{"type":13,"tag":424,"props":477,"children":478},{"type":426},[],{"type":18,"value":480}," be ",{"type":13,"tag":42,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"0",{"type":13,"tag":409,"props":488,"children":490},{"name":489},"VUID-VkClusterAccelerationStructureInstantiateClusterInfoNV-geometryIndexOffset-10510",[491],{"type":13,"tag":14,"props":492,"children":493},{},[494,496,501,502,505,507,513,514],{"type":18,"value":495},"The maximum geometry index after using the value in\n",{"type":13,"tag":42,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":351},{"type":18,"value":422},{"type":13,"tag":424,"props":503,"children":504},{"type":426},[],{"type":18,"value":506}," be less than\n",{"type":13,"tag":21,"props":508,"children":510},{"href":509},"/man/VkPhysicalDeviceClusterAccelerationStructurePropertiesNV",[511],{"type":18,"value":512},"VkPhysicalDeviceClusterAccelerationStructurePropertiesNV",{"type":18,"value":272},{"type":13,"tag":42,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":519},"maxClusterGeometryIndex",{"type":13,"tag":521,"props":522,"children":523},"style",{},[524],{"type":18,"value":525},"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":527},[],"markdown",1744876539311]