[{"data":1,"prerenderedAt":1164},["ShallowReactive",2],{"8uR5i8hSpy":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":13,"type":15,"xrefs":16,"body":17,"_type":1163,"_id":4},"vkCmdWriteAccelerationStructuresPropertiesKHR","Write acceleration structure result parameters to query results.","VK_KHR_acceleration_structure",[8,9],"primary","secondary","outside",[12],"compute",[14],"action","protos",[],{"type":18,"children":19,"toc":1161},"root",[20,28,394,478,511,528,553,594,856,1109,1155],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25],{"type":26,"value":27},"text","To query acceleration structure size parameters call:",{"type":21,"tag":29,"props":30,"children":31},"code-group",{},[32,189],{"type":21,"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","void vkCmdWriteAccelerationStructuresPropertiesKHR(\n VkCommandBuffer commandBuffer,\n uint32_t accelerationStructureCount,\n const VkAccelerationStructureKHR* pAccelerationStructures,\n VkQueryType queryType,\n VkQueryPool queryPool,\n uint32_t firstQuery);\n","C","c","",[41],{"type":21,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,69,89,107,135,153,171],{"type":21,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,63],{"type":21,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":26,"value":56},"void",{"type":21,"tag":46,"props":58,"children":60},{"style":59},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[61],{"type":26,"value":62}," vkCmdWriteAccelerationStructuresPropertiesKHR",{"type":21,"tag":46,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":26,"value":68},"(\n",{"type":21,"tag":46,"props":70,"children":72},{"class":48,"line":71},2,[73,78,84],{"type":21,"tag":46,"props":74,"children":75},{"style":65},[76],{"type":26,"value":77}," VkCommandBuffer ",{"type":21,"tag":46,"props":79,"children":81},{"style":80},"--shiki-default:#953800;--shiki-dark:#FFA657",[82],{"type":26,"value":83},"commandBuffer",{"type":21,"tag":46,"props":85,"children":86},{"style":65},[87],{"type":26,"value":88},",\n",{"type":21,"tag":46,"props":90,"children":92},{"class":48,"line":91},3,[93,98,103],{"type":21,"tag":46,"props":94,"children":95},{"style":53},[96],{"type":26,"value":97}," uint32_t",{"type":21,"tag":46,"props":99,"children":100},{"style":80},[101],{"type":26,"value":102}," accelerationStructureCount",{"type":21,"tag":46,"props":104,"children":105},{"style":65},[106],{"type":26,"value":88},{"type":21,"tag":46,"props":108,"children":110},{"class":48,"line":109},4,[111,116,121,126,131],{"type":21,"tag":46,"props":112,"children":113},{"style":53},[114],{"type":26,"value":115}," const",{"type":21,"tag":46,"props":117,"children":118},{"style":65},[119],{"type":26,"value":120}," VkAccelerationStructureKHR",{"type":21,"tag":46,"props":122,"children":123},{"style":53},[124],{"type":26,"value":125},"*",{"type":21,"tag":46,"props":127,"children":128},{"style":80},[129],{"type":26,"value":130}," pAccelerationStructures",{"type":21,"tag":46,"props":132,"children":133},{"style":65},[134],{"type":26,"value":88},{"type":21,"tag":46,"props":136,"children":138},{"class":48,"line":137},5,[139,144,149],{"type":21,"tag":46,"props":140,"children":141},{"style":65},[142],{"type":26,"value":143}," VkQueryType ",{"type":21,"tag":46,"props":145,"children":146},{"style":80},[147],{"type":26,"value":148},"queryType",{"type":21,"tag":46,"props":150,"children":151},{"style":65},[152],{"type":26,"value":88},{"type":21,"tag":46,"props":154,"children":156},{"class":48,"line":155},6,[157,162,167],{"type":21,"tag":46,"props":158,"children":159},{"style":65},[160],{"type":26,"value":161}," VkQueryPool ",{"type":21,"tag":46,"props":163,"children":164},{"style":80},[165],{"type":26,"value":166},"queryPool",{"type":21,"tag":46,"props":168,"children":169},{"style":65},[170],{"type":26,"value":88},{"type":21,"tag":46,"props":172,"children":174},{"class":48,"line":173},7,[175,179,184],{"type":21,"tag":46,"props":176,"children":177},{"style":53},[178],{"type":26,"value":97},{"type":21,"tag":46,"props":180,"children":181},{"style":80},[182],{"type":26,"value":183}," firstQuery",{"type":21,"tag":46,"props":185,"children":186},{"style":65},[187],{"type":26,"value":188},");\n",{"type":21,"tag":33,"props":190,"children":195},{"className":191,"code":192,"filename":193,"language":194,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_write_acceleration_structures_properties_khr(\n command_buffer: vk::CommandBuffer,\n acceleration_structure_count: u32,\n p_acceleration_structures: *const vk::AccelerationStructureKHR,\n query_type: vk::QueryType,\n query_pool: vk::QueryPool,\n first_query: u32,\n);\n","Rust","rs",[196],{"type":21,"tag":42,"props":197,"children":198},{"__ignoreMap":39},[199,221,253,274,308,337,366,386],{"type":21,"tag":46,"props":200,"children":201},{"class":48,"line":49},[202,207,212,217],{"type":21,"tag":46,"props":203,"children":204},{"style":53},[205],{"type":26,"value":206},"pub",{"type":21,"tag":46,"props":208,"children":209},{"style":53},[210],{"type":26,"value":211}," fn",{"type":21,"tag":46,"props":213,"children":214},{"style":59},[215],{"type":26,"value":216}," cmd_write_acceleration_structures_properties_khr",{"type":21,"tag":46,"props":218,"children":219},{"style":65},[220],{"type":26,"value":68},{"type":21,"tag":46,"props":222,"children":223},{"class":48,"line":71},[224,229,234,239,244,249],{"type":21,"tag":46,"props":225,"children":226},{"style":65},[227],{"type":26,"value":228}," command_buffer",{"type":21,"tag":46,"props":230,"children":231},{"style":53},[232],{"type":26,"value":233},":",{"type":21,"tag":46,"props":235,"children":236},{"style":80},[237],{"type":26,"value":238}," vk",{"type":21,"tag":46,"props":240,"children":241},{"style":53},[242],{"type":26,"value":243},"::",{"type":21,"tag":46,"props":245,"children":246},{"style":80},[247],{"type":26,"value":248},"CommandBuffer",{"type":21,"tag":46,"props":250,"children":251},{"style":65},[252],{"type":26,"value":88},{"type":21,"tag":46,"props":254,"children":255},{"class":48,"line":91},[256,261,265,270],{"type":21,"tag":46,"props":257,"children":258},{"style":65},[259],{"type":26,"value":260}," acceleration_structure_count",{"type":21,"tag":46,"props":262,"children":263},{"style":53},[264],{"type":26,"value":233},{"type":21,"tag":46,"props":266,"children":267},{"style":80},[268],{"type":26,"value":269}," u32",{"type":21,"tag":46,"props":271,"children":272},{"style":65},[273],{"type":26,"value":88},{"type":21,"tag":46,"props":275,"children":276},{"class":48,"line":109},[277,282,286,291,295,299,304],{"type":21,"tag":46,"props":278,"children":279},{"style":65},[280],{"type":26,"value":281}," p_acceleration_structures",{"type":21,"tag":46,"props":283,"children":284},{"style":53},[285],{"type":26,"value":233},{"type":21,"tag":46,"props":287,"children":288},{"style":53},[289],{"type":26,"value":290}," *const",{"type":21,"tag":46,"props":292,"children":293},{"style":80},[294],{"type":26,"value":238},{"type":21,"tag":46,"props":296,"children":297},{"style":53},[298],{"type":26,"value":243},{"type":21,"tag":46,"props":300,"children":301},{"style":80},[302],{"type":26,"value":303},"AccelerationStructureKHR",{"type":21,"tag":46,"props":305,"children":306},{"style":65},[307],{"type":26,"value":88},{"type":21,"tag":46,"props":309,"children":310},{"class":48,"line":137},[311,316,320,324,328,333],{"type":21,"tag":46,"props":312,"children":313},{"style":65},[314],{"type":26,"value":315}," query_type",{"type":21,"tag":46,"props":317,"children":318},{"style":53},[319],{"type":26,"value":233},{"type":21,"tag":46,"props":321,"children":322},{"style":80},[323],{"type":26,"value":238},{"type":21,"tag":46,"props":325,"children":326},{"style":53},[327],{"type":26,"value":243},{"type":21,"tag":46,"props":329,"children":330},{"style":80},[331],{"type":26,"value":332},"QueryType",{"type":21,"tag":46,"props":334,"children":335},{"style":65},[336],{"type":26,"value":88},{"type":21,"tag":46,"props":338,"children":339},{"class":48,"line":155},[340,345,349,353,357,362],{"type":21,"tag":46,"props":341,"children":342},{"style":65},[343],{"type":26,"value":344}," query_pool",{"type":21,"tag":46,"props":346,"children":347},{"style":53},[348],{"type":26,"value":233},{"type":21,"tag":46,"props":350,"children":351},{"style":80},[352],{"type":26,"value":238},{"type":21,"tag":46,"props":354,"children":355},{"style":53},[356],{"type":26,"value":243},{"type":21,"tag":46,"props":358,"children":359},{"style":80},[360],{"type":26,"value":361},"QueryPool",{"type":21,"tag":46,"props":363,"children":364},{"style":65},[365],{"type":26,"value":88},{"type":21,"tag":46,"props":367,"children":368},{"class":48,"line":173},[369,374,378,382],{"type":21,"tag":46,"props":370,"children":371},{"style":65},[372],{"type":26,"value":373}," first_query",{"type":21,"tag":46,"props":375,"children":376},{"style":53},[377],{"type":26,"value":233},{"type":21,"tag":46,"props":379,"children":380},{"style":80},[381],{"type":26,"value":269},{"type":21,"tag":46,"props":383,"children":384},{"style":65},[385],{"type":26,"value":88},{"type":21,"tag":46,"props":387,"children":389},{"class":48,"line":388},8,[390],{"type":21,"tag":46,"props":391,"children":392},{"style":65},[393],{"type":26,"value":188},{"type":21,"tag":395,"props":396,"children":397},"ul",{},[398,409,420,431,450,460],{"type":21,"tag":399,"props":400,"children":401},"li",{},[402,407],{"type":21,"tag":42,"props":403,"children":405},{"className":404},[],[406],{"type":26,"value":83},{"type":26,"value":408}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":399,"props":410,"children":411},{},[412,418],{"type":21,"tag":42,"props":413,"children":415},{"className":414},[],[416],{"type":26,"value":417},"accelerationStructureCount",{"type":26,"value":419}," is the count of acceleration structures\nfor which to query the property.",{"type":21,"tag":399,"props":421,"children":422},{},[423,429],{"type":21,"tag":42,"props":424,"children":426},{"className":425},[],[427],{"type":26,"value":428},"pAccelerationStructures",{"type":26,"value":430}," is a pointer to an array of existing\npreviously built acceleration structures.",{"type":21,"tag":399,"props":432,"children":433},{},[434,439,441,448],{"type":21,"tag":42,"props":435,"children":437},{"className":436},[],[438],{"type":26,"value":148},{"type":26,"value":440}," is a ",{"type":21,"tag":442,"props":443,"children":445},"a",{"href":444},"/man/VkQueryType",[446],{"type":26,"value":447},"VkQueryType",{"type":26,"value":449}," value specifying the type of\nqueries managed by the pool.",{"type":21,"tag":399,"props":451,"children":452},{},[453,458],{"type":21,"tag":42,"props":454,"children":456},{"className":455},[],[457],{"type":26,"value":166},{"type":26,"value":459}," is the query pool that will manage the results of the\nquery.",{"type":21,"tag":399,"props":461,"children":462},{},[463,469,471,476],{"type":21,"tag":42,"props":464,"children":466},{"className":465},[],[467],{"type":26,"value":468},"firstQuery",{"type":26,"value":470}," is the first query index within the query pool that\nwill contain the ",{"type":21,"tag":42,"props":472,"children":474},{"className":473},[],[475],{"type":26,"value":417},{"type":26,"value":477}," number of results.",{"type":21,"tag":22,"props":479,"children":480},{},[481,483,488,490,495,497,503,505],{"type":26,"value":482},"Accesses to any of the acceleration structures listed in\n",{"type":21,"tag":42,"props":484,"children":486},{"className":485},[],[487],{"type":26,"value":428},{"type":26,"value":489}," ",{"type":21,"tag":491,"props":492,"children":494},"normative",{"type":493},"must",[],{"type":26,"value":496}," be ",{"type":21,"tag":442,"props":498,"children":500},{"href":499},"/chapters/synchronization#synchronization-dependencies",[501],{"type":26,"value":502},"synchronized",{"type":26,"value":504}," with the\n",{"type":21,"tag":42,"props":506,"children":508},{"className":507},[],[509],{"type":26,"value":510},"VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR",{"type":21,"tag":22,"props":512,"children":513},{},[514,520,522],{"type":21,"tag":442,"props":515,"children":517},{"href":516},"/chapters/synchronization#synchronization-pipeline-stages",[518],{"type":26,"value":519},"pipeline stage",{"type":26,"value":521}," or the\n",{"type":21,"tag":42,"props":523,"children":525},{"className":524},[],[526],{"type":26,"value":527},"VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR",{"type":21,"tag":22,"props":529,"children":530},{},[531,535,537,543,545,551],{"type":21,"tag":442,"props":532,"children":533},{"href":516},[534],{"type":26,"value":519},{"type":26,"value":536},", and an\n",{"type":21,"tag":442,"props":538,"children":540},{"href":539},"/chapters/synchronization#synchronization-access-types",[541],{"type":26,"value":542},"access type",{"type":26,"value":544}," of\n",{"type":21,"tag":42,"props":546,"children":548},{"className":547},[],[549],{"type":26,"value":550},"VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR",{"type":26,"value":552},".",{"type":21,"tag":395,"props":554,"children":555},{},[556,576],{"type":21,"tag":399,"props":557,"children":558},{},[559,561,566,568,574],{"type":26,"value":560},"If ",{"type":21,"tag":42,"props":562,"children":564},{"className":563},[],[565],{"type":26,"value":148},{"type":26,"value":567}," is\n",{"type":21,"tag":42,"props":569,"children":571},{"className":570},[],[572],{"type":26,"value":573},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR",{"type":26,"value":575},", then the\nvalue written out is the number of bytes required by a compacted\nacceleration structure.",{"type":21,"tag":399,"props":577,"children":578},{},[579,580,585,586,592],{"type":26,"value":560},{"type":21,"tag":42,"props":581,"children":583},{"className":582},[],[584],{"type":26,"value":148},{"type":26,"value":567},{"type":21,"tag":42,"props":587,"children":589},{"className":588},[],[590],{"type":26,"value":591},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR",{"type":26,"value":593},", then\nthe value written out is the number of bytes required by a serialized\nacceleration structure.",{"type":21,"tag":595,"props":596,"children":598},"validity-group",{"name":597},"Valid Usage",[599,633,663,696,723,755,775,813],{"type":21,"tag":600,"props":601,"children":603},"validity-field",{"name":602},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-accelerationStructure-08924",[604],{"type":21,"tag":22,"props":605,"children":606},{},[607,609,626,628,631],{"type":26,"value":608},"The ",{"type":21,"tag":442,"props":610,"children":612},{"href":611},"/man/VkPhysicalDeviceAccelerationStructureFeaturesKHR#features-accelerationStructure",[613,619,620],{"type":21,"tag":42,"props":614,"children":616},{"className":615},[],[617],{"type":26,"value":618},"VkPhysicalDeviceAccelerationStructureFeaturesKHR",{"type":26,"value":243},{"type":21,"tag":42,"props":621,"children":623},{"className":622},[],[624],{"type":26,"value":625},"accelerationStructure",{"type":26,"value":627},"\nfeature ",{"type":21,"tag":491,"props":629,"children":630},{"type":493},[],{"type":26,"value":632}," be enabled",{"type":21,"tag":600,"props":634,"children":636},{"name":635},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-queryPool-02493",[637],{"type":21,"tag":22,"props":638,"children":639},{},[640,645,646,649,651,656,658],{"type":21,"tag":42,"props":641,"children":643},{"className":642},[],[644],{"type":26,"value":166},{"type":26,"value":489},{"type":21,"tag":491,"props":647,"children":648},{"type":493},[],{"type":26,"value":650}," have been created with a ",{"type":21,"tag":42,"props":652,"children":654},{"className":653},[],[655],{"type":26,"value":148},{"type":26,"value":657}," matching\n",{"type":21,"tag":42,"props":659,"children":661},{"className":660},[],[662],{"type":26,"value":148},{"type":21,"tag":600,"props":664,"children":666},{"name":665},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-queryPool-02494",[667],{"type":21,"tag":22,"props":668,"children":669},{},[670,672,677,679,684,685,688,690],{"type":26,"value":671},"The queries identified by ",{"type":21,"tag":42,"props":673,"children":675},{"className":674},[],[676],{"type":26,"value":166},{"type":26,"value":678}," and ",{"type":21,"tag":42,"props":680,"children":682},{"className":681},[],[683],{"type":26,"value":468},{"type":26,"value":489},{"type":21,"tag":491,"props":686,"children":687},{"type":493},[],{"type":26,"value":689}," be\n",{"type":21,"tag":691,"props":692,"children":693},"em",{},[694],{"type":26,"value":695},"unavailable",{"type":21,"tag":600,"props":697,"children":699},{"name":698},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-buffer-03736",[700],{"type":21,"tag":22,"props":701,"children":702},{},[703,704,710,712,717,718,721],{"type":26,"value":608},{"type":21,"tag":42,"props":705,"children":707},{"className":706},[],[708],{"type":26,"value":709},"buffer",{"type":26,"value":711}," used to create each acceleration structure in\n",{"type":21,"tag":42,"props":713,"children":715},{"className":714},[],[716],{"type":26,"value":428},{"type":26,"value":489},{"type":21,"tag":491,"props":719,"children":720},{"type":493},[],{"type":26,"value":722}," be bound to device memory",{"type":21,"tag":600,"props":724,"children":726},{"name":725},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-query-04880",[727],{"type":21,"tag":22,"props":728,"children":729},{},[730,732,737,739,744,745,748,750],{"type":26,"value":731},"The sum of ",{"type":21,"tag":42,"props":733,"children":735},{"className":734},[],[736],{"type":26,"value":468},{"type":26,"value":738}," plus ",{"type":21,"tag":42,"props":740,"children":742},{"className":741},[],[743],{"type":26,"value":417},{"type":26,"value":489},{"type":21,"tag":491,"props":746,"children":747},{"type":493},[],{"type":26,"value":749},"\nbe less than or equal to the number of queries in ",{"type":21,"tag":42,"props":751,"children":753},{"className":752},[],[754],{"type":26,"value":166},{"type":21,"tag":600,"props":756,"children":758},{"name":757},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-pAccelerationStructures-04964",[759],{"type":21,"tag":22,"props":760,"children":761},{},[762,764,769,770,773],{"type":26,"value":763},"All acceleration structures in ",{"type":21,"tag":42,"props":765,"children":767},{"className":766},[],[768],{"type":26,"value":428},{"type":26,"value":489},{"type":21,"tag":491,"props":771,"children":772},{"type":493},[],{"type":26,"value":774}," have\nbeen built prior to the execution of this command",{"type":21,"tag":600,"props":776,"children":778},{"name":777},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-accelerationStructures-03431",[779],{"type":21,"tag":22,"props":780,"children":781},{},[782,783,788,789,792,794,800,802,807,808],{"type":26,"value":763},{"type":21,"tag":42,"props":784,"children":786},{"className":785},[],[787],{"type":26,"value":428},{"type":26,"value":489},{"type":21,"tag":491,"props":790,"children":791},{"type":493},[],{"type":26,"value":793}," have\nbeen built with\n",{"type":21,"tag":42,"props":795,"children":797},{"className":796},[],[798],{"type":26,"value":799},"VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR",{"type":26,"value":801}," if\n",{"type":21,"tag":42,"props":803,"children":805},{"className":804},[],[806],{"type":26,"value":148},{"type":26,"value":567},{"type":21,"tag":42,"props":809,"children":811},{"className":810},[],[812],{"type":26,"value":573},{"type":21,"tag":600,"props":814,"children":816},{"name":815},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-queryType-06742",[817],{"type":21,"tag":22,"props":818,"children":819},{},[820,825,826,829,830,836,837,843,844,849,851],{"type":21,"tag":42,"props":821,"children":823},{"className":822},[],[824],{"type":26,"value":148},{"type":26,"value":489},{"type":21,"tag":491,"props":827,"children":828},{"type":493},[],{"type":26,"value":689},{"type":21,"tag":42,"props":831,"children":833},{"className":832},[],[834],{"type":26,"value":835},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR",{"type":26,"value":88},{"type":21,"tag":42,"props":838,"children":840},{"className":839},[],[841],{"type":26,"value":842},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR",{"type":26,"value":88},{"type":21,"tag":42,"props":845,"children":847},{"className":846},[],[848],{"type":26,"value":573},{"type":26,"value":850},", or\n",{"type":21,"tag":42,"props":852,"children":854},{"className":853},[],[855],{"type":26,"value":591},{"type":21,"tag":595,"props":857,"children":859},{"name":858},"Valid Usage (Implicit)",[860,886,919,942,966,990,1018,1032,1045,1069],{"type":21,"tag":600,"props":861,"children":863},{"name":862},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-commandBuffer-parameter",[864],{"type":21,"tag":22,"props":865,"children":866},{},[867,872,873,876,878,884],{"type":21,"tag":42,"props":868,"children":870},{"className":869},[],[871],{"type":26,"value":83},{"type":26,"value":489},{"type":21,"tag":491,"props":874,"children":875},{"type":493},[],{"type":26,"value":877}," be a valid ",{"type":21,"tag":442,"props":879,"children":881},{"href":880},"/man/VkCommandBuffer",[882],{"type":26,"value":883},"VkCommandBuffer",{"type":26,"value":885}," handle",{"type":21,"tag":600,"props":887,"children":889},{"name":888},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-pAccelerationStructures-parameter",[890],{"type":21,"tag":22,"props":891,"children":892},{},[893,898,899,902,904,909,911,917],{"type":21,"tag":42,"props":894,"children":896},{"className":895},[],[897],{"type":26,"value":428},{"type":26,"value":489},{"type":21,"tag":491,"props":900,"children":901},{"type":493},[],{"type":26,"value":903}," be a valid pointer to an array of ",{"type":21,"tag":42,"props":905,"children":907},{"className":906},[],[908],{"type":26,"value":417},{"type":26,"value":910}," valid ",{"type":21,"tag":442,"props":912,"children":914},{"href":913},"/man/VkAccelerationStructureKHR",[915],{"type":26,"value":916},"VkAccelerationStructureKHR",{"type":26,"value":918}," handles",{"type":21,"tag":600,"props":920,"children":922},{"name":921},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-queryType-parameter",[923],{"type":21,"tag":22,"props":924,"children":925},{},[926,931,932,935,936,940],{"type":21,"tag":42,"props":927,"children":929},{"className":928},[],[930],{"type":26,"value":148},{"type":26,"value":489},{"type":21,"tag":491,"props":933,"children":934},{"type":493},[],{"type":26,"value":877},{"type":21,"tag":442,"props":937,"children":938},{"href":444},[939],{"type":26,"value":447},{"type":26,"value":941}," value",{"type":21,"tag":600,"props":943,"children":945},{"name":944},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-queryPool-parameter",[946],{"type":21,"tag":22,"props":947,"children":948},{},[949,954,955,958,959,965],{"type":21,"tag":42,"props":950,"children":952},{"className":951},[],[953],{"type":26,"value":166},{"type":26,"value":489},{"type":21,"tag":491,"props":956,"children":957},{"type":493},[],{"type":26,"value":877},{"type":21,"tag":442,"props":960,"children":962},{"href":961},"/man/VkQueryPool",[963],{"type":26,"value":964},"VkQueryPool",{"type":26,"value":885},{"type":21,"tag":600,"props":967,"children":969},{"name":968},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-commandBuffer-recording",[970],{"type":21,"tag":22,"props":971,"children":972},{},[973,978,979,982,984],{"type":21,"tag":42,"props":974,"children":976},{"className":975},[],[977],{"type":26,"value":83},{"type":26,"value":489},{"type":21,"tag":491,"props":980,"children":981},{"type":493},[],{"type":26,"value":983}," be in the ",{"type":21,"tag":442,"props":985,"children":987},{"href":986},"/chapters/commandbuffers#commandbuffers-lifecycle",[988],{"type":26,"value":989},"recording state",{"type":21,"tag":600,"props":991,"children":993},{"name":992},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-commandBuffer-cmdpool",[994],{"type":21,"tag":22,"props":995,"children":996},{},[997,998,1004,1006,1011,1013,1016],{"type":26,"value":608},{"type":21,"tag":42,"props":999,"children":1001},{"className":1000},[],[1002],{"type":26,"value":1003},"VkCommandPool",{"type":26,"value":1005}," that ",{"type":21,"tag":42,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":26,"value":83},{"type":26,"value":1012}," was allocated from ",{"type":21,"tag":491,"props":1014,"children":1015},{"type":493},[],{"type":26,"value":1017}," support compute operations",{"type":21,"tag":600,"props":1019,"children":1021},{"name":1020},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-renderpass",[1022],{"type":21,"tag":22,"props":1023,"children":1024},{},[1025,1027,1030],{"type":26,"value":1026},"This command ",{"type":21,"tag":491,"props":1028,"children":1029},{"type":493},[],{"type":26,"value":1031}," only be called outside of a render pass instance",{"type":21,"tag":600,"props":1033,"children":1035},{"name":1034},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-videocoding",[1036],{"type":21,"tag":22,"props":1037,"children":1038},{},[1039,1040,1043],{"type":26,"value":1026},{"type":21,"tag":491,"props":1041,"children":1042},{"type":493},[],{"type":26,"value":1044}," only be called outside of a video coding scope",{"type":21,"tag":600,"props":1046,"children":1048},{"name":1047},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-accelerationStructureCount-arraylength",[1049],{"type":21,"tag":22,"props":1050,"children":1051},{},[1052,1057,1058,1061,1063],{"type":21,"tag":42,"props":1053,"children":1055},{"className":1054},[],[1056],{"type":26,"value":417},{"type":26,"value":489},{"type":21,"tag":491,"props":1059,"children":1060},{"type":493},[],{"type":26,"value":1062}," be greater than ",{"type":21,"tag":42,"props":1064,"children":1066},{"className":1065},[],[1067],{"type":26,"value":1068},"0",{"type":21,"tag":600,"props":1070,"children":1072},{"name":1071},"VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-commonparent",[1073],{"type":21,"tag":22,"props":1074,"children":1075},{},[1076,1078,1083,1085,1090,1092,1097,1098,1101,1103],{"type":26,"value":1077},"Each of ",{"type":21,"tag":42,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":26,"value":83},{"type":26,"value":1084},", ",{"type":21,"tag":42,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":26,"value":166},{"type":26,"value":1091},", and the elements of ",{"type":21,"tag":42,"props":1093,"children":1095},{"className":1094},[],[1096],{"type":26,"value":428},{"type":26,"value":489},{"type":21,"tag":491,"props":1099,"children":1100},{"type":493},[],{"type":26,"value":1102}," have been created, allocated, or retrieved from the same ",{"type":21,"tag":442,"props":1104,"children":1106},{"href":1105},"/man/VkDevice",[1107],{"type":26,"value":1108},"VkDevice",{"type":21,"tag":1110,"props":1111,"children":1113},"validity-box",{"name":1112},"Host Synchronization",[1114],{"type":21,"tag":395,"props":1115,"children":1116},{},[1117,1133],{"type":21,"tag":399,"props":1118,"children":1119},{},[1120,1122,1127,1128,1131],{"type":26,"value":1121},"Host access to ",{"type":21,"tag":42,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":26,"value":83},{"type":26,"value":489},{"type":21,"tag":491,"props":1129,"children":1130},{"type":493},[],{"type":26,"value":1132}," be externally synchronized",{"type":21,"tag":399,"props":1134,"children":1135},{},[1136,1138,1143,1144,1149,1150,1153],{"type":26,"value":1137},"Host access to the ",{"type":21,"tag":42,"props":1139,"children":1141},{"className":1140},[],[1142],{"type":26,"value":1003},{"type":26,"value":1005},{"type":21,"tag":42,"props":1145,"children":1147},{"className":1146},[],[1148],{"type":26,"value":83},{"type":26,"value":1012},{"type":21,"tag":491,"props":1151,"children":1152},{"type":493},[],{"type":26,"value":1154}," be externally synchronized\n::",{"type":21,"tag":1156,"props":1157,"children":1158},"style",{},[1159],{"type":26,"value":1160},"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":71,"depth":71,"links":1162},[],"markdown",1729612507439]