[{"data":1,"prerenderedAt":568},["ShallowReactive",2],{"EzG8OnXPcL":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":567,"_id":4},"VkWriteDescriptorSetAccelerationStructureNV","Structure specifying acceleration structure descriptor information","VK_NV_ray_tracing","structs",[],{"type":10,"children":11,"toc":565},"root",[12,28,291,372,471,559],{"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 VkWriteDescriptorSetAccelerationStructureNV {\n VkStructureType sType;\n const void* pNext;\n uint32_t accelerationStructureCount;\n const VkAccelerationStructureNV* pAccelerationStructures;\n} VkWriteDescriptorSetAccelerationStructureNV;\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}," VkWriteDescriptorSetAccelerationStructureNV {\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}," VkAccelerationStructureNV",{"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},"} VkWriteDescriptorSetAccelerationStructureNV;\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 WriteDescriptorSetAccelerationStructureNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n acceleration_structure_count: u32,\n p_acceleration_structures: *const vk::AccelerationStructureNV,\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}," WriteDescriptorSetAccelerationStructureNV",{"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},"AccelerationStructureNV",{"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/VkAccelerationStructureNV",[368],{"type":18,"value":369},"VkAccelerationStructureNV",{"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,433],{"type":13,"tag":378,"props":379,"children":381},"validity-field",{"name":380},"VUID-VkWriteDescriptorSetAccelerationStructureNV-accelerationStructureCount-03747",[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-VkWriteDescriptorSetAccelerationStructureNV-pAccelerationStructures-03748",[411],{"type":13,"tag":14,"props":412,"children":413},{},[414,416,421,422,425,427],{"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 ",{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR",{"type":13,"tag":378,"props":434,"children":436},{"name":435},"VUID-VkWriteDescriptorSetAccelerationStructureNV-pAccelerationStructures-03749",[437],{"type":13,"tag":14,"props":438,"children":439},{},[440,442,452,454,459,460,463,465],{"type":18,"value":441},"If the ",{"type":13,"tag":308,"props":443,"children":445},{"href":444},"/man/VkPhysicalDeviceRobustness2FeaturesEXT#features-nullDescriptor",[446],{"type":13,"tag":21,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":451},"nullDescriptor",{"type":18,"value":453}," feature is not\nenabled, each member of ",{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":351},{"type":18,"value":391},{"type":13,"tag":393,"props":461,"children":462},{"type":395},[],{"type":18,"value":464}," not be\n",{"type":13,"tag":308,"props":466,"children":468},{"href":467},"/man/VK_NULL_HANDLE",[469],{"type":18,"value":470},"VK_NULL_HANDLE",{"type":13,"tag":373,"props":472,"children":474},{"name":473},"Valid Usage (Implicit)",[475,499,535],{"type":13,"tag":378,"props":476,"children":478},{"name":477},"VUID-VkWriteDescriptorSetAccelerationStructureNV-sType-sType",[479],{"type":13,"tag":14,"props":480,"children":481},{},[482,487,488,491,493],{"type":13,"tag":21,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":304},{"type":18,"value":391},{"type":13,"tag":393,"props":489,"children":490},{"type":395},[],{"type":18,"value":492}," be ",{"type":13,"tag":21,"props":494,"children":496},{"className":495},[],[497],{"type":18,"value":498},"VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV",{"type":13,"tag":378,"props":500,"children":502},{"name":501},"VUID-VkWriteDescriptorSetAccelerationStructureNV-pAccelerationStructures-parameter",[503],{"type":13,"tag":14,"props":504,"children":505},{},[506,511,512,515,517,522,524,528,529,533],{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":351},{"type":18,"value":391},{"type":13,"tag":393,"props":513,"children":514},{"type":395},[],{"type":18,"value":516}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":343},{"type":18,"value":523}," valid or ",{"type":13,"tag":308,"props":525,"children":526},{"href":467},[527],{"type":18,"value":470},{"type":18,"value":391},{"type":13,"tag":308,"props":530,"children":531},{"href":366},[532],{"type":18,"value":369},{"type":18,"value":534}," handles",{"type":13,"tag":378,"props":536,"children":538},{"name":537},"VUID-VkWriteDescriptorSetAccelerationStructureNV-accelerationStructureCount-arraylength",[539],{"type":13,"tag":14,"props":540,"children":541},{},[542,547,548,551,553],{"type":13,"tag":21,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":343},{"type":18,"value":391},{"type":13,"tag":393,"props":549,"children":550},{"type":395},[],{"type":18,"value":552}," be greater than ",{"type":13,"tag":21,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":558},"0",{"type":13,"tag":560,"props":561,"children":562},"style",{},[563],{"type":18,"value":564},"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":566},[],"markdown",1725732595852]