[{"data":1,"prerenderedAt":435},["ShallowReactive",2],{"IKq1ecBAeJ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":434,"_id":4},"VkPartitionedAccelerationStructureUpdateInstanceDataNV","Structure describing instance data to update in PTLAS","VK_NV_partitioned_acceleration_structure","structs",[],{"type":10,"children":11,"toc":432},"root",[12,28,228,274,307,331,426],{"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/VkPartitionedAccelerationStructureUpdateInstanceDataNV",[25],{"type":18,"value":4},{"type":18,"value":27}," structure\nis defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,113],{"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 VkPartitionedAccelerationStructureUpdateInstanceDataNV {\n uint32_t instanceIndex;\n uint32_t instanceContributionToHitGroupIndex;\n VkDeviceAddress accelerationStructure;\n} VkPartitionedAccelerationStructureUpdateInstanceDataNV;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,82,95,104],{"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}," VkPartitionedAccelerationStructureUpdateInstanceDataNV {\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}," instanceIndex;\n",{"type":13,"tag":46,"props":83,"children":85},{"class":48,"line":84},3,[86,90],{"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}," instanceContributionToHitGroupIndex;\n",{"type":13,"tag":46,"props":96,"children":98},{"class":48,"line":97},4,[99],{"type":13,"tag":46,"props":100,"children":101},{"style":64},[102],{"type":18,"value":103}," VkDeviceAddress accelerationStructure;\n",{"type":13,"tag":46,"props":105,"children":107},{"class":48,"line":106},5,[108],{"type":13,"tag":46,"props":109,"children":110},{"style":64},[111],{"type":18,"value":112},"} VkPartitionedAccelerationStructureUpdateInstanceDataNV;\n",{"type":13,"tag":33,"props":114,"children":119},{"className":115,"code":116,"filename":117,"language":118,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PartitionedAccelerationStructureUpdateInstanceDataNV {\n instance_index: u32,\n instance_contribution_to_hit_group_index: u32,\n acceleration_structure: vk::DeviceAddress,\n}\n","Rust","rs",[120],{"type":13,"tag":42,"props":121,"children":122},{"__ignoreMap":39},[123,146,169,189,220],{"type":13,"tag":46,"props":124,"children":125},{"class":48,"line":49},[126,131,135,141],{"type":13,"tag":46,"props":127,"children":128},{"style":53},[129],{"type":18,"value":130},"pub",{"type":13,"tag":46,"props":132,"children":133},{"style":53},[134],{"type":18,"value":61},{"type":13,"tag":46,"props":136,"children":138},{"style":137},"--shiki-default:#953800;--shiki-dark:#FFA657",[139],{"type":18,"value":140}," PartitionedAccelerationStructureUpdateInstanceDataNV",{"type":13,"tag":46,"props":142,"children":143},{"style":64},[144],{"type":18,"value":145}," {\n",{"type":13,"tag":46,"props":147,"children":148},{"class":48,"line":70},[149,154,159,164],{"type":13,"tag":46,"props":150,"children":151},{"style":64},[152],{"type":18,"value":153}," instance_index",{"type":13,"tag":46,"props":155,"children":156},{"style":53},[157],{"type":18,"value":158},":",{"type":13,"tag":46,"props":160,"children":161},{"style":137},[162],{"type":18,"value":163}," u32",{"type":13,"tag":46,"props":165,"children":166},{"style":64},[167],{"type":18,"value":168},",\n",{"type":13,"tag":46,"props":170,"children":171},{"class":48,"line":84},[172,177,181,185],{"type":13,"tag":46,"props":173,"children":174},{"style":64},[175],{"type":18,"value":176}," instance_contribution_to_hit_group_index",{"type":13,"tag":46,"props":178,"children":179},{"style":53},[180],{"type":18,"value":158},{"type":13,"tag":46,"props":182,"children":183},{"style":137},[184],{"type":18,"value":163},{"type":13,"tag":46,"props":186,"children":187},{"style":64},[188],{"type":18,"value":168},{"type":13,"tag":46,"props":190,"children":191},{"class":48,"line":97},[192,197,201,206,211,216],{"type":13,"tag":46,"props":193,"children":194},{"style":64},[195],{"type":18,"value":196}," acceleration_structure",{"type":13,"tag":46,"props":198,"children":199},{"style":53},[200],{"type":18,"value":158},{"type":13,"tag":46,"props":202,"children":203},{"style":137},[204],{"type":18,"value":205}," vk",{"type":13,"tag":46,"props":207,"children":208},{"style":53},[209],{"type":18,"value":210},"::",{"type":13,"tag":46,"props":212,"children":213},{"style":137},[214],{"type":18,"value":215},"DeviceAddress",{"type":13,"tag":46,"props":217,"children":218},{"style":64},[219],{"type":18,"value":168},{"type":13,"tag":46,"props":221,"children":222},{"class":48,"line":106},[223],{"type":13,"tag":46,"props":224,"children":225},{"style":64},[226],{"type":18,"value":227},"}\n",{"type":13,"tag":229,"props":230,"children":231},"ul",{},[232,244,255],{"type":13,"tag":233,"props":234,"children":235},"li",{},[236,242],{"type":13,"tag":42,"props":237,"children":239},{"className":238},[],[240],{"type":18,"value":241},"instanceIndex",{"type":18,"value":243}," is the index of the instance being updated.",{"type":13,"tag":233,"props":245,"children":246},{},[247,253],{"type":13,"tag":42,"props":248,"children":250},{"className":249},[],[251],{"type":18,"value":252},"instanceContributionToHitGroupIndex",{"type":18,"value":254}," is a 24-bit per instance value\nadded in the indexing into the shader binding table to fetch the hit\ngroup to use.",{"type":13,"tag":233,"props":256,"children":257},{},[258,264,266,272],{"type":13,"tag":42,"props":259,"children":261},{"className":260},[],[262],{"type":18,"value":263},"accelerationStructure",{"type":18,"value":265}," is the device address of the bottom level\nacceleration structure or a clustered bottom level acceleration\nstructure whose instance is being updated.\nThe instance is disabled if the device address is ",{"type":13,"tag":42,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"0",{"type":18,"value":273},".",{"type":13,"tag":14,"props":275,"children":276},{},[277,279,284,286,292,293,298,300,305],{"type":18,"value":278},"If the instance was originally disabled by specifying a ",{"type":13,"tag":42,"props":280,"children":282},{"className":281},[],[283],{"type":18,"value":271},{"type":18,"value":285}," in\n",{"type":13,"tag":21,"props":287,"children":289},{"href":288},"/man/VkPartitionedAccelerationStructureWriteInstanceDataNV",[290],{"type":18,"value":291},"VkPartitionedAccelerationStructureWriteInstanceDataNV",{"type":18,"value":210},{"type":13,"tag":42,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":263},{"type":18,"value":299},",\nit can not be updated to a new acceleration structure as the instance ",{"type":13,"tag":301,"props":302,"children":304},"normative",{"type":303},"may",[],{"type":18,"value":306},"\nhave been permanently disabled by the implementation.",{"type":13,"tag":14,"props":308,"children":309},{},[310,312,316,318,322,323,329],{"type":18,"value":311},"To avoid a refit, the new acceleration structure ",{"type":13,"tag":301,"props":313,"children":315},{"type":314},"must",[],{"type":18,"value":317}," be within the\nbounding box specified by\n",{"type":13,"tag":21,"props":319,"children":320},{"href":288},[321],{"type":18,"value":291},{"type":18,"value":210},{"type":13,"tag":42,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"explicitAABB",{"type":18,"value":330},"\nwhen the instance was first created.",{"type":13,"tag":332,"props":333,"children":335},"validity-group",{"name":334},"Valid Usage",[336,361,387],{"type":13,"tag":337,"props":338,"children":340},"validity-field",{"name":339},"VUID-VkPartitionedAccelerationStructureUpdateInstanceDataNV-instanceContributionToHitGroupIndex-10571",[341],{"type":13,"tag":14,"props":342,"children":343},{},[344,346,351,354,356],{"type":18,"value":345},"The most significant 8 bits of ",{"type":13,"tag":42,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":252},{"type":13,"tag":301,"props":352,"children":353},{"type":314},[],{"type":18,"value":355}," be ",{"type":13,"tag":42,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":271},{"type":13,"tag":337,"props":362,"children":364},{"name":363},"VUID-VkPartitionedAccelerationStructureUpdateInstanceDataNV-None-10572",[365],{"type":13,"tag":14,"props":366,"children":367},{},[368,370,373,375,381,383],{"type":18,"value":369},"The instance ",{"type":13,"tag":301,"props":371,"children":372},{"type":314},[],{"type":18,"value":374}," have either been created with flag\n",{"type":13,"tag":42,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"VK_PARTITIONED_ACCELERATION_STRUCTURE_INSTANCE_FLAG_ENABLE_EXPLICIT_BOUNDING_BOX_NV",{"type":18,"value":382},"\nor did not have an acceleration structure assigned with\n",{"type":13,"tag":21,"props":384,"children":385},{"href":288},[386],{"type":18,"value":291},{"type":13,"tag":337,"props":388,"children":390},{"name":389},"VUID-VkPartitionedAccelerationStructureUpdateInstanceDataNV-instanceIndex-10573",[391],{"type":13,"tag":14,"props":392,"children":393},{},[394,399,401,404,406,412,413,419,420],{"type":13,"tag":42,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":241},{"type":18,"value":400}," ",{"type":13,"tag":301,"props":402,"children":403},{"type":314},[],{"type":18,"value":405}," be less than\n",{"type":13,"tag":21,"props":407,"children":409},{"href":408},"/man/VkBuildPartitionedAccelerationStructureInfoNV",[410],{"type":18,"value":411},"VkBuildPartitionedAccelerationStructureInfoNV",{"type":18,"value":210},{"type":13,"tag":42,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":418},"input",{"type":18,"value":210},{"type":13,"tag":42,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":425},"instanceCount",{"type":13,"tag":427,"props":428,"children":429},"style",{},[430],{"type":18,"value":431},"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":433},[],"markdown",1744876556318]