[{"data":1,"prerenderedAt":640},["ShallowReactive",2],{"VBydLmwDmg":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":639,"_id":4},"vkDestroyQueryPool","Destroy a query pool object","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":637},"root",[12,20,282,327,424,474,607,631],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To destroy a query pool, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,128],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkDestroyQueryPool(\n VkDevice device,\n VkQueryPool queryPool,\n const VkAllocationCallbacks* pAllocator);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkDestroyQueryPool",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkQueryPool ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"queryPool",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118,123],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":107}," const",{"type":13,"tag":38,"props":109,"children":110},{"style":57},[111],{"type":18,"value":112}," VkAllocationCallbacks",{"type":13,"tag":38,"props":114,"children":115},{"style":45},[116],{"type":18,"value":117},"*",{"type":13,"tag":38,"props":119,"children":120},{"style":72},[121],{"type":18,"value":122}," pAllocator",{"type":13,"tag":38,"props":124,"children":125},{"style":57},[126],{"type":18,"value":127},");\n",{"type":13,"tag":25,"props":129,"children":134},{"className":130,"code":131,"filename":132,"language":133,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn destroy_query_pool(\n device: crate :: vk :: vk::Device,\n query_pool: vk::QueryPool,\n p_allocator: *const vk::AllocationCallbacks,\n);\n","Rust","rs",[135],{"type":13,"tag":34,"props":136,"children":137},{"__ignoreMap":31},[138,160,211,240,274],{"type":13,"tag":38,"props":139,"children":140},{"class":40,"line":41},[141,146,151,156],{"type":13,"tag":38,"props":142,"children":143},{"style":45},[144],{"type":18,"value":145},"pub",{"type":13,"tag":38,"props":147,"children":148},{"style":45},[149],{"type":18,"value":150}," fn",{"type":13,"tag":38,"props":152,"children":153},{"style":51},[154],{"type":18,"value":155}," destroy_query_pool",{"type":13,"tag":38,"props":157,"children":158},{"style":57},[159],{"type":18,"value":60},{"type":13,"tag":38,"props":161,"children":162},{"class":40,"line":63},[163,168,173,178,183,188,193,198,202,207],{"type":13,"tag":38,"props":164,"children":165},{"style":57},[166],{"type":18,"value":167}," device",{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":172},":",{"type":13,"tag":38,"props":174,"children":175},{"style":45},[176],{"type":18,"value":177}," crate",{"type":13,"tag":38,"props":179,"children":180},{"style":45},[181],{"type":18,"value":182}," ::",{"type":13,"tag":38,"props":184,"children":185},{"style":57},[186],{"type":18,"value":187}," vk ",{"type":13,"tag":38,"props":189,"children":190},{"style":45},[191],{"type":18,"value":192},"::",{"type":13,"tag":38,"props":194,"children":195},{"style":72},[196],{"type":18,"value":197}," vk",{"type":13,"tag":38,"props":199,"children":200},{"style":45},[201],{"type":18,"value":192},{"type":13,"tag":38,"props":203,"children":204},{"style":72},[205],{"type":18,"value":206},"Device",{"type":13,"tag":38,"props":208,"children":209},{"style":57},[210],{"type":18,"value":80},{"type":13,"tag":38,"props":212,"children":213},{"class":40,"line":83},[214,219,223,227,231,236],{"type":13,"tag":38,"props":215,"children":216},{"style":57},[217],{"type":18,"value":218}," query_pool",{"type":13,"tag":38,"props":220,"children":221},{"style":45},[222],{"type":18,"value":172},{"type":13,"tag":38,"props":224,"children":225},{"style":72},[226],{"type":18,"value":197},{"type":13,"tag":38,"props":228,"children":229},{"style":45},[230],{"type":18,"value":192},{"type":13,"tag":38,"props":232,"children":233},{"style":72},[234],{"type":18,"value":235},"QueryPool",{"type":13,"tag":38,"props":237,"children":238},{"style":57},[239],{"type":18,"value":80},{"type":13,"tag":38,"props":241,"children":242},{"class":40,"line":101},[243,248,252,257,261,265,270],{"type":13,"tag":38,"props":244,"children":245},{"style":57},[246],{"type":18,"value":247}," p_allocator",{"type":13,"tag":38,"props":249,"children":250},{"style":45},[251],{"type":18,"value":172},{"type":13,"tag":38,"props":253,"children":254},{"style":45},[255],{"type":18,"value":256}," *const",{"type":13,"tag":38,"props":258,"children":259},{"style":72},[260],{"type":18,"value":197},{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":192},{"type":13,"tag":38,"props":266,"children":267},{"style":72},[268],{"type":18,"value":269},"AllocationCallbacks",{"type":13,"tag":38,"props":271,"children":272},{"style":57},[273],{"type":18,"value":80},{"type":13,"tag":38,"props":275,"children":277},{"class":40,"line":276},5,[278],{"type":13,"tag":38,"props":279,"children":280},{"style":57},[281],{"type":18,"value":127},{"type":13,"tag":283,"props":284,"children":285},"ul",{},[286,297,307],{"type":13,"tag":287,"props":288,"children":289},"li",{},[290,295],{"type":13,"tag":34,"props":291,"children":293},{"className":292},[],[294],{"type":18,"value":75},{"type":18,"value":296}," is the logical device that destroys the query pool.",{"type":13,"tag":287,"props":298,"children":299},{},[300,305],{"type":13,"tag":34,"props":301,"children":303},{"className":302},[],[304],{"type":18,"value":94},{"type":18,"value":306}," is the query pool to destroy.",{"type":13,"tag":287,"props":308,"children":309},{},[310,316,318,325],{"type":13,"tag":34,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":315},"pAllocator",{"type":18,"value":317}," controls host memory allocation as described in the\n",{"type":13,"tag":319,"props":320,"children":322},"a",{"href":321},"/chapters/memory#memory-allocation",[323],{"type":18,"value":324},"Memory Allocation",{"type":18,"value":326}," chapter.",{"type":13,"tag":328,"props":329,"children":331},"validity-group",{"name":330},"Valid Usage",[332,356,385],{"type":13,"tag":333,"props":334,"children":336},"validity-field",{"name":335},"VUID-vkDestroyQueryPool-queryPool-00793",[337],{"type":13,"tag":14,"props":338,"children":339},{},[340,342,347,349,354],{"type":18,"value":341},"All submitted commands that refer to ",{"type":13,"tag":34,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":94},{"type":18,"value":348}," ",{"type":13,"tag":350,"props":351,"children":353},"normative",{"type":352},"must",[],{"type":18,"value":355}," have\ncompleted execution",{"type":13,"tag":333,"props":357,"children":359},{"name":358},"VUID-vkDestroyQueryPool-queryPool-00794",[360],{"type":13,"tag":14,"props":361,"children":362},{},[363,365,371,373,378,380,383],{"type":18,"value":364},"If ",{"type":13,"tag":34,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":370},"VkAllocationCallbacks",{"type":18,"value":372}," were provided when ",{"type":13,"tag":34,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":94},{"type":18,"value":379}," was\ncreated, a compatible set of callbacks ",{"type":13,"tag":350,"props":381,"children":382},{"type":352},[],{"type":18,"value":384}," be provided here",{"type":13,"tag":333,"props":386,"children":388},{"name":387},"VUID-vkDestroyQueryPool-queryPool-00795",[389],{"type":13,"tag":14,"props":390,"children":391},{},[392,394,399,400,405,407,412,413,416,418],{"type":18,"value":393},"If no ",{"type":13,"tag":34,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":370},{"type":18,"value":372},{"type":13,"tag":34,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":94},{"type":18,"value":406}," was\ncreated, ",{"type":13,"tag":34,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":315},{"type":18,"value":348},{"type":13,"tag":350,"props":414,"children":415},{"type":352},[],{"type":18,"value":417}," be ",{"type":13,"tag":34,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"NULL",{"type":13,"tag":425,"props":426,"children":427},"note",{},[428],{"type":13,"tag":14,"props":429,"children":430},{},[431,433,437,439,444,445,448,450,456,458,464,466,472],{"type":18,"value":432},"Applications ",{"type":13,"tag":350,"props":434,"children":436},{"type":435},"can",[],{"type":18,"value":438}," verify that ",{"type":13,"tag":34,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":94},{"type":18,"value":348},{"type":13,"tag":350,"props":446,"children":447},{"type":435},[],{"type":18,"value":449}," be destroyed by checking\nthat ",{"type":13,"tag":34,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":455},"vkGetQueryPoolResults",{"type":18,"value":457},"() without the\n",{"type":13,"tag":34,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":463},"VK_QUERY_RESULT_PARTIAL_BIT",{"type":18,"value":465}," flag returns ",{"type":13,"tag":34,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"VK_SUCCESS",{"type":18,"value":473}," for all\nqueries that are used in command buffers submitted for execution.",{"type":13,"tag":328,"props":475,"children":477},{"name":476},"Valid Usage (Implicit)",[478,504,544,582],{"type":13,"tag":333,"props":479,"children":481},{"name":480},"VUID-vkDestroyQueryPool-device-parameter",[482],{"type":13,"tag":14,"props":483,"children":484},{},[485,490,491,494,496,502],{"type":13,"tag":34,"props":486,"children":488},{"className":487},[],[489],{"type":18,"value":75},{"type":18,"value":348},{"type":13,"tag":350,"props":492,"children":493},{"type":352},[],{"type":18,"value":495}," be a valid ",{"type":13,"tag":319,"props":497,"children":499},{"href":498},"/man/VkDevice",[500],{"type":18,"value":501},"VkDevice",{"type":18,"value":503}," handle",{"type":13,"tag":333,"props":505,"children":507},{"name":506},"VUID-vkDestroyQueryPool-queryPool-parameter",[508],{"type":13,"tag":14,"props":509,"children":510},{},[511,512,517,519,525,527,532,533,536,537,543],{"type":18,"value":364},{"type":13,"tag":34,"props":513,"children":515},{"className":514},[],[516],{"type":18,"value":94},{"type":18,"value":518}," is not ",{"type":13,"tag":319,"props":520,"children":522},{"href":521},"/man/VK_NULL_HANDLE",[523],{"type":18,"value":524},"VK_NULL_HANDLE",{"type":18,"value":526},", ",{"type":13,"tag":34,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":94},{"type":18,"value":348},{"type":13,"tag":350,"props":534,"children":535},{"type":352},[],{"type":18,"value":495},{"type":13,"tag":319,"props":538,"children":540},{"href":539},"/man/VkQueryPool",[541],{"type":18,"value":542},"VkQueryPool",{"type":18,"value":503},{"type":13,"tag":333,"props":545,"children":547},{"name":546},"VUID-vkDestroyQueryPool-pAllocator-parameter",[548],{"type":13,"tag":14,"props":549,"children":550},{},[551,552,557,558,563,564,569,570,573,575,580],{"type":18,"value":364},{"type":13,"tag":34,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":315},{"type":18,"value":518},{"type":13,"tag":34,"props":559,"children":561},{"className":560},[],[562],{"type":18,"value":423},{"type":18,"value":526},{"type":13,"tag":34,"props":565,"children":567},{"className":566},[],[568],{"type":18,"value":315},{"type":18,"value":348},{"type":13,"tag":350,"props":571,"children":572},{"type":352},[],{"type":18,"value":574}," be a valid pointer to a valid ",{"type":13,"tag":319,"props":576,"children":578},{"href":577},"/man/VkAllocationCallbacks",[579],{"type":18,"value":370},{"type":18,"value":581}," structure",{"type":13,"tag":333,"props":583,"children":585},{"name":584},"VUID-vkDestroyQueryPool-queryPool-parent",[586],{"type":13,"tag":14,"props":587,"children":588},{},[589,590,595,597,600,602],{"type":18,"value":364},{"type":13,"tag":34,"props":591,"children":593},{"className":592},[],[594],{"type":18,"value":94},{"type":18,"value":596}," is a valid handle, it ",{"type":13,"tag":350,"props":598,"children":599},{"type":352},[],{"type":18,"value":601}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":603,"children":605},{"className":604},[],[606],{"type":18,"value":75},{"type":13,"tag":608,"props":609,"children":611},"validity-box",{"name":610},"Host Synchronization",[612],{"type":13,"tag":283,"props":613,"children":614},{},[615],{"type":13,"tag":287,"props":616,"children":617},{},[618,620,625,626,629],{"type":18,"value":619},"Host access to ",{"type":13,"tag":34,"props":621,"children":623},{"className":622},[],[624],{"type":18,"value":94},{"type":18,"value":348},{"type":13,"tag":350,"props":627,"children":628},{"type":352},[],{"type":18,"value":630}," be externally synchronized\n::",{"type":13,"tag":632,"props":633,"children":634},"style",{},[635],{"type":18,"value":636},"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":31,"searchDepth":63,"depth":63,"links":638},[],"markdown",1729612511964]