[{"data":1,"prerenderedAt":400},["ShallowReactive",2],{"3QPr2DmN1f":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":399,"_id":4},"VkPartitionedAccelerationStructureOpTypeNV","Enum providing the type of PTLAS operation to perform","VK_NV_partitioned_acceleration_structure","enums",[],{"type":10,"children":11,"toc":397},"root",[12,35,337,391],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,33],{"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 ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkPartitionedAccelerationStructureOpTypeNV",[32],{"type":18,"value":4},{"type":18,"value":34},"\nare:",{"type":13,"tag":36,"props":37,"children":38},"code-group",{},[39,153],{"type":13,"tag":40,"props":41,"children":47},"pre",{"className":42,"code":43,"filename":44,"language":45,"meta":46,"style":46},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkPartitionedAccelerationStructureOpTypeNV {\n VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NV = 0,\n VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NV = 1,\n VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NV = 2,\n} VkPartitionedAccelerationStructureOpTypeNV;\n","C","c","",[48],{"type":13,"tag":49,"props":50,"children":51},"code",{"__ignoreMap":46},[52,75,100,122,144],{"type":13,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,69],{"type":13,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[62],{"type":18,"value":63},"typedef",{"type":13,"tag":53,"props":65,"children":66},{"style":60},[67],{"type":18,"value":68}," enum",{"type":13,"tag":53,"props":70,"children":72},{"style":71},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[73],{"type":18,"value":74}," VkPartitionedAccelerationStructureOpTypeNV {\n",{"type":13,"tag":53,"props":76,"children":78},{"class":55,"line":77},2,[79,84,89,95],{"type":13,"tag":53,"props":80,"children":81},{"style":71},[82],{"type":18,"value":83}," VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NV ",{"type":13,"tag":53,"props":85,"children":86},{"style":60},[87],{"type":18,"value":88},"=",{"type":13,"tag":53,"props":90,"children":92},{"style":91},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[93],{"type":18,"value":94}," 0",{"type":13,"tag":53,"props":96,"children":97},{"style":71},[98],{"type":18,"value":99},",\n",{"type":13,"tag":53,"props":101,"children":103},{"class":55,"line":102},3,[104,109,113,118],{"type":13,"tag":53,"props":105,"children":106},{"style":71},[107],{"type":18,"value":108}," VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NV ",{"type":13,"tag":53,"props":110,"children":111},{"style":60},[112],{"type":18,"value":88},{"type":13,"tag":53,"props":114,"children":115},{"style":91},[116],{"type":18,"value":117}," 1",{"type":13,"tag":53,"props":119,"children":120},{"style":71},[121],{"type":18,"value":99},{"type":13,"tag":53,"props":123,"children":125},{"class":55,"line":124},4,[126,131,135,140],{"type":13,"tag":53,"props":127,"children":128},{"style":71},[129],{"type":18,"value":130}," VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NV ",{"type":13,"tag":53,"props":132,"children":133},{"style":60},[134],{"type":18,"value":88},{"type":13,"tag":53,"props":136,"children":137},{"style":91},[138],{"type":18,"value":139}," 2",{"type":13,"tag":53,"props":141,"children":142},{"style":71},[143],{"type":18,"value":99},{"type":13,"tag":53,"props":145,"children":147},{"class":55,"line":146},5,[148],{"type":13,"tag":53,"props":149,"children":150},{"style":71},[151],{"type":18,"value":152},"} VkPartitionedAccelerationStructureOpTypeNV;\n",{"type":13,"tag":40,"props":154,"children":159},{"className":155,"code":156,"filename":157,"language":158,"meta":46,"style":46},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PartitionedAccelerationStructureOpTypeNV(u32);\nimpl PartitionedAccelerationStructureOpTypeNV {\n pub const WRITE_INSTANCE: Self = 0;\n pub const UPDATE_INSTANCE: Self = 1;\n pub const WRITE_PARTITION_TRANSLATION: Self = 2;\n}\n","Rust","rs",[160],{"type":13,"tag":49,"props":161,"children":162},{"__ignoreMap":46},[163,197,214,256,292,328],{"type":13,"tag":53,"props":164,"children":165},{"class":55,"line":56},[166,171,176,182,187,192],{"type":13,"tag":53,"props":167,"children":168},{"style":60},[169],{"type":18,"value":170},"pub",{"type":13,"tag":53,"props":172,"children":173},{"style":60},[174],{"type":18,"value":175}," struct",{"type":13,"tag":53,"props":177,"children":179},{"style":178},"--shiki-default:#953800;--shiki-dark:#FFA657",[180],{"type":18,"value":181}," PartitionedAccelerationStructureOpTypeNV",{"type":13,"tag":53,"props":183,"children":184},{"style":71},[185],{"type":18,"value":186},"(",{"type":13,"tag":53,"props":188,"children":189},{"style":178},[190],{"type":18,"value":191},"u32",{"type":13,"tag":53,"props":193,"children":194},{"style":71},[195],{"type":18,"value":196},");\n",{"type":13,"tag":53,"props":198,"children":199},{"class":55,"line":77},[200,205,209],{"type":13,"tag":53,"props":201,"children":202},{"style":60},[203],{"type":18,"value":204},"impl",{"type":13,"tag":53,"props":206,"children":207},{"style":178},[208],{"type":18,"value":181},{"type":13,"tag":53,"props":210,"children":211},{"style":71},[212],{"type":18,"value":213}," {\n",{"type":13,"tag":53,"props":215,"children":216},{"class":55,"line":102},[217,222,227,232,237,242,247,251],{"type":13,"tag":53,"props":218,"children":219},{"style":60},[220],{"type":18,"value":221}," pub",{"type":13,"tag":53,"props":223,"children":224},{"style":60},[225],{"type":18,"value":226}," const",{"type":13,"tag":53,"props":228,"children":229},{"style":91},[230],{"type":18,"value":231}," WRITE_INSTANCE",{"type":13,"tag":53,"props":233,"children":234},{"style":60},[235],{"type":18,"value":236},":",{"type":13,"tag":53,"props":238,"children":239},{"style":91},[240],{"type":18,"value":241}," Self",{"type":13,"tag":53,"props":243,"children":244},{"style":60},[245],{"type":18,"value":246}," =",{"type":13,"tag":53,"props":248,"children":249},{"style":91},[250],{"type":18,"value":94},{"type":13,"tag":53,"props":252,"children":253},{"style":71},[254],{"type":18,"value":255},";\n",{"type":13,"tag":53,"props":257,"children":258},{"class":55,"line":124},[259,263,267,272,276,280,284,288],{"type":13,"tag":53,"props":260,"children":261},{"style":60},[262],{"type":18,"value":221},{"type":13,"tag":53,"props":264,"children":265},{"style":60},[266],{"type":18,"value":226},{"type":13,"tag":53,"props":268,"children":269},{"style":91},[270],{"type":18,"value":271}," UPDATE_INSTANCE",{"type":13,"tag":53,"props":273,"children":274},{"style":60},[275],{"type":18,"value":236},{"type":13,"tag":53,"props":277,"children":278},{"style":91},[279],{"type":18,"value":241},{"type":13,"tag":53,"props":281,"children":282},{"style":60},[283],{"type":18,"value":246},{"type":13,"tag":53,"props":285,"children":286},{"style":91},[287],{"type":18,"value":117},{"type":13,"tag":53,"props":289,"children":290},{"style":71},[291],{"type":18,"value":255},{"type":13,"tag":53,"props":293,"children":294},{"class":55,"line":146},[295,299,303,308,312,316,320,324],{"type":13,"tag":53,"props":296,"children":297},{"style":60},[298],{"type":18,"value":221},{"type":13,"tag":53,"props":300,"children":301},{"style":60},[302],{"type":18,"value":226},{"type":13,"tag":53,"props":304,"children":305},{"style":91},[306],{"type":18,"value":307}," WRITE_PARTITION_TRANSLATION",{"type":13,"tag":53,"props":309,"children":310},{"style":60},[311],{"type":18,"value":236},{"type":13,"tag":53,"props":313,"children":314},{"style":91},[315],{"type":18,"value":241},{"type":13,"tag":53,"props":317,"children":318},{"style":60},[319],{"type":18,"value":246},{"type":13,"tag":53,"props":321,"children":322},{"style":91},[323],{"type":18,"value":139},{"type":13,"tag":53,"props":325,"children":326},{"style":71},[327],{"type":18,"value":255},{"type":13,"tag":53,"props":329,"children":331},{"class":55,"line":330},6,[332],{"type":13,"tag":53,"props":333,"children":334},{"style":71},[335],{"type":18,"value":336},"}\n",{"type":13,"tag":338,"props":339,"children":340},"ul",{},[341,361,372],{"type":13,"tag":342,"props":343,"children":344},"li",{},[345,351,353,359],{"type":13,"tag":49,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":350},"VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NV",{"type":18,"value":352}," is\nused to assign a transformed bottom level acceleration structure to an\ninstance and partition.\nThis is similar to ",{"type":13,"tag":28,"props":354,"children":356},{"href":355},"/man/VkAccelerationStructureInstanceKHR",[357],{"type":18,"value":358},"VkAccelerationStructureInstanceKHR",{"type":18,"value":360}," that defines\nthe properties and transformations for a single instance in\nnon-partitioned TLAS.\nAny partition that contains at least one of the affected instances will\nhave their internal acceleration structure rebuilt.",{"type":13,"tag":342,"props":362,"children":363},{},[364,370],{"type":13,"tag":49,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":369},"VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NV",{"type":18,"value":371},"\nindicates that an instance will be updated with a new bottom level\nacceleration structure.",{"type":13,"tag":342,"props":373,"children":374},{},[375,381,383,389],{"type":13,"tag":49,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NV",{"type":18,"value":382},"\nindicates that a partition will be assigned a\n",{"type":13,"tag":28,"props":384,"children":386},{"href":385},"/chapters/acceleration-structure#ptlas-partition-translation",[387],{"type":18,"value":388},"translation vector",{"type":18,"value":390},".",{"type":13,"tag":392,"props":393,"children":394},"style",{},[395],{"type":18,"value":396},"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":46,"searchDepth":77,"depth":77,"links":398},[],"markdown",1744876556306]