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