[{"data":1,"prerenderedAt":573},["ShallowReactive",2],{"A3tALL2jUa":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":572,"_id":4},"VkWriteDescriptorSetPartitionedAccelerationStructureNV","Structure specifying descriptor for PTLAS","VK_NV_partitioned_acceleration_structure","structs",[],{"type":10,"children":11,"toc":570},"root",[12,68,80,340,417,472,564],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44,46,51,53,59,61,66],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"descriptorType",{"type":18,"value":28}," member of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkWriteDescriptorSet",[34],{"type":18,"value":35},"VkWriteDescriptorSet",{"type":18,"value":37}," is\n",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":43},"VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV",{"type":18,"value":45},", then the\ndata to write to the descriptor set is specified through a\n",{"type":13,"tag":21,"props":47,"children":49},{"className":48},[],[50],{"type":18,"value":4},{"type":18,"value":52}," structure\nincluded in the ",{"type":13,"tag":21,"props":54,"children":56},{"className":55},[],[57],{"type":18,"value":58},"pNext",{"type":18,"value":60}," chain of ",{"type":13,"tag":21,"props":62,"children":64},{"className":63},[],[65],{"type":18,"value":35},{"type":18,"value":67},".",{"type":13,"tag":14,"props":69,"children":70},{},[71,73,78],{"type":18,"value":72},"The ",{"type":13,"tag":21,"props":74,"children":76},{"className":75},[],[77],{"type":18,"value":4},{"type":18,"value":79}," structure\nis defined as:",{"type":13,"tag":81,"props":82,"children":83},"code-group",{},[84,189],{"type":13,"tag":85,"props":86,"children":92},"pre",{"className":87,"code":88,"filename":89,"language":90,"meta":91,"style":91},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkWriteDescriptorSetPartitionedAccelerationStructureNV {\n VkStructureType sType;\n void* pNext;\n uint32_t accelerationStructureCount;\n const VkDeviceAddress* pAccelerationStructures;\n} VkWriteDescriptorSetPartitionedAccelerationStructureNV;\n","C","c","",[93],{"type":13,"tag":21,"props":94,"children":95},{"__ignoreMap":91},[96,119,128,142,156,180],{"type":13,"tag":97,"props":98,"children":101},"span",{"class":99,"line":100},"line",1,[102,108,113],{"type":13,"tag":97,"props":103,"children":105},{"style":104},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[106],{"type":18,"value":107},"typedef",{"type":13,"tag":97,"props":109,"children":110},{"style":104},[111],{"type":18,"value":112}," struct",{"type":13,"tag":97,"props":114,"children":116},{"style":115},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[117],{"type":18,"value":118}," VkWriteDescriptorSetPartitionedAccelerationStructureNV {\n",{"type":13,"tag":97,"props":120,"children":122},{"class":99,"line":121},2,[123],{"type":13,"tag":97,"props":124,"children":125},{"style":115},[126],{"type":18,"value":127}," VkStructureType sType;\n",{"type":13,"tag":97,"props":129,"children":131},{"class":99,"line":130},3,[132,137],{"type":13,"tag":97,"props":133,"children":134},{"style":104},[135],{"type":18,"value":136}," void*",{"type":13,"tag":97,"props":138,"children":139},{"style":115},[140],{"type":18,"value":141}," pNext;\n",{"type":13,"tag":97,"props":143,"children":145},{"class":99,"line":144},4,[146,151],{"type":13,"tag":97,"props":147,"children":148},{"style":104},[149],{"type":18,"value":150}," uint32_t",{"type":13,"tag":97,"props":152,"children":153},{"style":115},[154],{"type":18,"value":155}," accelerationStructureCount;\n",{"type":13,"tag":97,"props":157,"children":159},{"class":99,"line":158},5,[160,165,170,175],{"type":13,"tag":97,"props":161,"children":162},{"style":104},[163],{"type":18,"value":164}," const",{"type":13,"tag":97,"props":166,"children":167},{"style":115},[168],{"type":18,"value":169}," VkDeviceAddress",{"type":13,"tag":97,"props":171,"children":172},{"style":104},[173],{"type":18,"value":174},"*",{"type":13,"tag":97,"props":176,"children":177},{"style":115},[178],{"type":18,"value":179}," pAccelerationStructures;\n",{"type":13,"tag":97,"props":181,"children":183},{"class":99,"line":182},6,[184],{"type":13,"tag":97,"props":185,"children":186},{"style":115},[187],{"type":18,"value":188},"} VkWriteDescriptorSetPartitionedAccelerationStructureNV;\n",{"type":13,"tag":85,"props":190,"children":195},{"className":191,"code":192,"filename":193,"language":194,"meta":91,"style":91},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct WriteDescriptorSetPartitionedAccelerationStructureNV {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n acceleration_structure_count: u32,\n p_acceleration_structures: *const vk::DeviceAddress,\n}\n","Rust","rs",[196],{"type":13,"tag":21,"props":197,"children":198},{"__ignoreMap":91},[199,222,255,277,298,332],{"type":13,"tag":97,"props":200,"children":201},{"class":99,"line":100},[202,207,211,217],{"type":13,"tag":97,"props":203,"children":204},{"style":104},[205],{"type":18,"value":206},"pub",{"type":13,"tag":97,"props":208,"children":209},{"style":104},[210],{"type":18,"value":112},{"type":13,"tag":97,"props":212,"children":214},{"style":213},"--shiki-default:#953800;--shiki-dark:#FFA657",[215],{"type":18,"value":216}," WriteDescriptorSetPartitionedAccelerationStructureNV",{"type":13,"tag":97,"props":218,"children":219},{"style":115},[220],{"type":18,"value":221}," {\n",{"type":13,"tag":97,"props":223,"children":224},{"class":99,"line":121},[225,230,235,240,245,250],{"type":13,"tag":97,"props":226,"children":227},{"style":115},[228],{"type":18,"value":229}," s_type",{"type":13,"tag":97,"props":231,"children":232},{"style":104},[233],{"type":18,"value":234},":",{"type":13,"tag":97,"props":236,"children":237},{"style":213},[238],{"type":18,"value":239}," vk",{"type":13,"tag":97,"props":241,"children":242},{"style":104},[243],{"type":18,"value":244},"::",{"type":13,"tag":97,"props":246,"children":247},{"style":213},[248],{"type":18,"value":249},"StructureType",{"type":13,"tag":97,"props":251,"children":252},{"style":115},[253],{"type":18,"value":254},",\n",{"type":13,"tag":97,"props":256,"children":257},{"class":99,"line":130},[258,263,267,272],{"type":13,"tag":97,"props":259,"children":260},{"style":115},[261],{"type":18,"value":262}," p_next",{"type":13,"tag":97,"props":264,"children":265},{"style":104},[266],{"type":18,"value":234},{"type":13,"tag":97,"props":268,"children":269},{"style":104},[270],{"type":18,"value":271}," *mut",{"type":13,"tag":97,"props":273,"children":274},{"style":115},[275],{"type":18,"value":276}," c_void,\n",{"type":13,"tag":97,"props":278,"children":279},{"class":99,"line":144},[280,285,289,294],{"type":13,"tag":97,"props":281,"children":282},{"style":115},[283],{"type":18,"value":284}," acceleration_structure_count",{"type":13,"tag":97,"props":286,"children":287},{"style":104},[288],{"type":18,"value":234},{"type":13,"tag":97,"props":290,"children":291},{"style":213},[292],{"type":18,"value":293}," u32",{"type":13,"tag":97,"props":295,"children":296},{"style":115},[297],{"type":18,"value":254},{"type":13,"tag":97,"props":299,"children":300},{"class":99,"line":158},[301,306,310,315,319,323,328],{"type":13,"tag":97,"props":302,"children":303},{"style":115},[304],{"type":18,"value":305}," p_acceleration_structures",{"type":13,"tag":97,"props":307,"children":308},{"style":104},[309],{"type":18,"value":234},{"type":13,"tag":97,"props":311,"children":312},{"style":104},[313],{"type":18,"value":314}," *const",{"type":13,"tag":97,"props":316,"children":317},{"style":213},[318],{"type":18,"value":239},{"type":13,"tag":97,"props":320,"children":321},{"style":104},[322],{"type":18,"value":244},{"type":13,"tag":97,"props":324,"children":325},{"style":213},[326],{"type":18,"value":327},"DeviceAddress",{"type":13,"tag":97,"props":329,"children":330},{"style":115},[331],{"type":18,"value":254},{"type":13,"tag":97,"props":333,"children":334},{"class":99,"line":182},[335],{"type":13,"tag":97,"props":336,"children":337},{"style":115},[338],{"type":18,"value":339},"}\n",{"type":13,"tag":341,"props":342,"children":343},"ul",{},[344,364,382,400],{"type":13,"tag":345,"props":346,"children":347},"li",{},[348,354,356,362],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"sType",{"type":18,"value":355}," is a ",{"type":13,"tag":30,"props":357,"children":359},{"href":358},"/man/VkStructureType",[360],{"type":18,"value":361},"VkStructureType",{"type":18,"value":363}," value identifying this structure.",{"type":13,"tag":345,"props":365,"children":366},{},[367,372,374,380],{"type":13,"tag":21,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":58},{"type":18,"value":373}," is ",{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":379},"NULL",{"type":18,"value":381}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":345,"props":383,"children":384},{},[385,391,393,399],{"type":13,"tag":21,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"accelerationStructureCount",{"type":18,"value":392}," is the number of elements in\n",{"type":13,"tag":21,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":398},"pAccelerationStructures",{"type":18,"value":67},{"type":13,"tag":345,"props":401,"children":402},{},[403,408,410,415],{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":398},{"type":18,"value":409}," is a pointer to an array of\n",{"type":13,"tag":21,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":390},{"type":18,"value":416}," device addresses pointing to previously\nbuilt PTLAS.",{"type":13,"tag":418,"props":419,"children":421},"validity-group",{"name":420},"Valid Usage",[422,452],{"type":13,"tag":423,"props":424,"children":426},"validity-field",{"name":425},"VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-accelerationStructureCount-10511",[427],{"type":13,"tag":14,"props":428,"children":429},{},[430,435,437,442,444,450],{"type":13,"tag":21,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":390},{"type":18,"value":436}," ",{"type":13,"tag":438,"props":439,"children":441},"normative",{"type":440},"must",[],{"type":18,"value":443}," be equal to ",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"descriptorCount",{"type":18,"value":451},"\nin the extended structure",{"type":13,"tag":423,"props":453,"children":455},{"name":454},"VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-pAccelerationStructures-10512",[456],{"type":13,"tag":14,"props":457,"children":458},{},[459,461,466,467,470],{"type":18,"value":460},"Each entry in ",{"type":13,"tag":21,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":398},{"type":18,"value":436},{"type":13,"tag":438,"props":468,"children":469},{"type":440},[],{"type":18,"value":471}," be a valid address of\na PTLAS",{"type":13,"tag":418,"props":473,"children":475},{"name":474},"Valid Usage (Implicit)",[476,500,540],{"type":13,"tag":423,"props":477,"children":479},{"name":478},"VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-sType-sType",[480],{"type":13,"tag":14,"props":481,"children":482},{},[483,488,489,492,494],{"type":13,"tag":21,"props":484,"children":486},{"className":485},[],[487],{"type":18,"value":353},{"type":18,"value":436},{"type":13,"tag":438,"props":490,"children":491},{"type":440},[],{"type":18,"value":493}," be ",{"type":13,"tag":21,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":499},"VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_PARTITIONED_ACCELERATION_STRUCTURE_NV",{"type":13,"tag":423,"props":501,"children":503},{"name":502},"VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-pAccelerationStructures-parameter",[504],{"type":13,"tag":14,"props":505,"children":506},{},[507,512,513,516,518,523,525,531,532,538],{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":398},{"type":18,"value":436},{"type":13,"tag":438,"props":514,"children":515},{"type":440},[],{"type":18,"value":517}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":519,"children":521},{"className":520},[],[522],{"type":18,"value":390},{"type":18,"value":524}," or ",{"type":13,"tag":30,"props":526,"children":528},{"href":527},"/man/VK_NULL_HANDLE",[529],{"type":18,"value":530},"VK_NULL_HANDLE",{"type":18,"value":436},{"type":13,"tag":30,"props":533,"children":535},{"href":534},"/man/VkDeviceAddress",[536],{"type":18,"value":537},"VkDeviceAddress",{"type":18,"value":539}," values",{"type":13,"tag":423,"props":541,"children":543},{"name":542},"VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-accelerationStructureCount-arraylength",[544],{"type":13,"tag":14,"props":545,"children":546},{},[547,552,553,556,558],{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":390},{"type":18,"value":436},{"type":13,"tag":438,"props":554,"children":555},{"type":440},[],{"type":18,"value":557}," be greater than ",{"type":13,"tag":21,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":563},"0",{"type":13,"tag":565,"props":566,"children":567},"style",{},[568],{"type":18,"value":569},"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":91,"searchDepth":121,"depth":121,"links":571},[],"markdown",1744876579893]