[{"data":1,"prerenderedAt":519},["ShallowReactive",2],{"z5SHPYr6Fe":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":518,"_id":4},"vkResetDescriptorPool","Resets a descriptor pool object","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":516},"root",[12,20,290,325,330,359,462,510],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To return all descriptor sets allocated from a given pool to the pool,\nrather than freeing individual descriptor sets, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,116],{"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","VkResult vkResetDescriptorPool(\n VkDevice device,\n VkDescriptorPool descriptorPool,\n VkDescriptorPoolResetFlags flags);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkDescriptorPool ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"descriptorPool",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":78},{"type":13,"tag":38,"props":98,"children":100},{"class":40,"line":99},4,[101,106,111],{"type":13,"tag":38,"props":102,"children":103},{"style":45},[104],{"type":18,"value":105}," VkDescriptorPoolResetFlags ",{"type":13,"tag":38,"props":107,"children":108},{"style":70},[109],{"type":18,"value":110},"flags",{"type":13,"tag":38,"props":112,"children":113},{"style":45},[114],{"type":18,"value":115},");\n",{"type":13,"tag":25,"props":117,"children":122},{"className":118,"code":119,"filename":120,"language":121,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn reset_descriptor_pool(\n device: crate :: vk :: vk::Device,\n descriptor_pool: vk::DescriptorPool,\n flags: vk::DescriptorPoolResetFlags,\n) -> vk::Result;\n","Rust","rs",[123],{"type":13,"tag":34,"props":124,"children":125},{"__ignoreMap":31},[126,149,200,229,258],{"type":13,"tag":38,"props":127,"children":128},{"class":40,"line":41},[129,135,140,145],{"type":13,"tag":38,"props":130,"children":132},{"style":131},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[133],{"type":18,"value":134},"pub",{"type":13,"tag":38,"props":136,"children":137},{"style":131},[138],{"type":18,"value":139}," fn",{"type":13,"tag":38,"props":141,"children":142},{"style":51},[143],{"type":18,"value":144}," reset_descriptor_pool",{"type":13,"tag":38,"props":146,"children":147},{"style":45},[148],{"type":18,"value":58},{"type":13,"tag":38,"props":150,"children":151},{"class":40,"line":61},[152,157,162,167,172,177,182,187,191,196],{"type":13,"tag":38,"props":153,"children":154},{"style":45},[155],{"type":18,"value":156}," device",{"type":13,"tag":38,"props":158,"children":159},{"style":131},[160],{"type":18,"value":161},":",{"type":13,"tag":38,"props":163,"children":164},{"style":131},[165],{"type":18,"value":166}," crate",{"type":13,"tag":38,"props":168,"children":169},{"style":131},[170],{"type":18,"value":171}," ::",{"type":13,"tag":38,"props":173,"children":174},{"style":45},[175],{"type":18,"value":176}," vk ",{"type":13,"tag":38,"props":178,"children":179},{"style":131},[180],{"type":18,"value":181},"::",{"type":13,"tag":38,"props":183,"children":184},{"style":70},[185],{"type":18,"value":186}," vk",{"type":13,"tag":38,"props":188,"children":189},{"style":131},[190],{"type":18,"value":181},{"type":13,"tag":38,"props":192,"children":193},{"style":70},[194],{"type":18,"value":195},"Device",{"type":13,"tag":38,"props":197,"children":198},{"style":45},[199],{"type":18,"value":78},{"type":13,"tag":38,"props":201,"children":202},{"class":40,"line":81},[203,208,212,216,220,225],{"type":13,"tag":38,"props":204,"children":205},{"style":45},[206],{"type":18,"value":207}," descriptor_pool",{"type":13,"tag":38,"props":209,"children":210},{"style":131},[211],{"type":18,"value":161},{"type":13,"tag":38,"props":213,"children":214},{"style":70},[215],{"type":18,"value":186},{"type":13,"tag":38,"props":217,"children":218},{"style":131},[219],{"type":18,"value":181},{"type":13,"tag":38,"props":221,"children":222},{"style":70},[223],{"type":18,"value":224},"DescriptorPool",{"type":13,"tag":38,"props":226,"children":227},{"style":45},[228],{"type":18,"value":78},{"type":13,"tag":38,"props":230,"children":231},{"class":40,"line":99},[232,237,241,245,249,254],{"type":13,"tag":38,"props":233,"children":234},{"style":45},[235],{"type":18,"value":236}," flags",{"type":13,"tag":38,"props":238,"children":239},{"style":131},[240],{"type":18,"value":161},{"type":13,"tag":38,"props":242,"children":243},{"style":70},[244],{"type":18,"value":186},{"type":13,"tag":38,"props":246,"children":247},{"style":131},[248],{"type":18,"value":181},{"type":13,"tag":38,"props":250,"children":251},{"style":70},[252],{"type":18,"value":253},"DescriptorPoolResetFlags",{"type":13,"tag":38,"props":255,"children":256},{"style":45},[257],{"type":18,"value":78},{"type":13,"tag":38,"props":259,"children":261},{"class":40,"line":260},5,[262,267,272,276,280,285],{"type":13,"tag":38,"props":263,"children":264},{"style":45},[265],{"type":18,"value":266},") ",{"type":13,"tag":38,"props":268,"children":269},{"style":131},[270],{"type":18,"value":271},"->",{"type":13,"tag":38,"props":273,"children":274},{"style":70},[275],{"type":18,"value":186},{"type":13,"tag":38,"props":277,"children":278},{"style":131},[279],{"type":18,"value":181},{"type":13,"tag":38,"props":281,"children":282},{"style":70},[283],{"type":18,"value":284},"Result",{"type":13,"tag":38,"props":286,"children":287},{"style":45},[288],{"type":18,"value":289},";\n",{"type":13,"tag":291,"props":292,"children":293},"ul",{},[294,305,315],{"type":13,"tag":295,"props":296,"children":297},"li",{},[298,303],{"type":13,"tag":34,"props":299,"children":301},{"className":300},[],[302],{"type":18,"value":73},{"type":18,"value":304}," is the logical device that owns the descriptor pool.",{"type":13,"tag":295,"props":306,"children":307},{},[308,313],{"type":13,"tag":34,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":92},{"type":18,"value":314}," is the descriptor pool to be reset.",{"type":13,"tag":295,"props":316,"children":317},{},[318,323],{"type":13,"tag":34,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":110},{"type":18,"value":324}," is reserved for future use.",{"type":13,"tag":14,"props":326,"children":327},{},[328],{"type":18,"value":329},"Resetting a descriptor pool recycles all of the resources from all of the\ndescriptor sets allocated from the descriptor pool back to the descriptor\npool, and the descriptor sets are implicitly freed.",{"type":13,"tag":331,"props":332,"children":334},"validity-group",{"name":333},"Valid Usage",[335],{"type":13,"tag":336,"props":337,"children":339},"validity-field",{"name":338},"VUID-vkResetDescriptorPool-descriptorPool-00313",[340],{"type":13,"tag":14,"props":341,"children":342},{},[343,345,350,352,357],{"type":18,"value":344},"All uses of ",{"type":13,"tag":34,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":92},{"type":18,"value":351}," (via any allocated descriptor sets)\n",{"type":13,"tag":353,"props":354,"children":356},"normative",{"type":355},"must",[],{"type":18,"value":358}," have completed execution",{"type":13,"tag":331,"props":360,"children":362},{"name":361},"Valid Usage (Implicit)",[363,391,415,439],{"type":13,"tag":336,"props":364,"children":366},{"name":365},"VUID-vkResetDescriptorPool-device-parameter",[367],{"type":13,"tag":14,"props":368,"children":369},{},[370,375,377,380,382,389],{"type":13,"tag":34,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":73},{"type":18,"value":376}," ",{"type":13,"tag":353,"props":378,"children":379},{"type":355},[],{"type":18,"value":381}," be a valid ",{"type":13,"tag":383,"props":384,"children":386},"a",{"href":385},"/man/VkDevice",[387],{"type":18,"value":388},"VkDevice",{"type":18,"value":390}," handle",{"type":13,"tag":336,"props":392,"children":394},{"name":393},"VUID-vkResetDescriptorPool-descriptorPool-parameter",[395],{"type":13,"tag":14,"props":396,"children":397},{},[398,403,404,407,408,414],{"type":13,"tag":34,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":92},{"type":18,"value":376},{"type":13,"tag":353,"props":405,"children":406},{"type":355},[],{"type":18,"value":381},{"type":13,"tag":383,"props":409,"children":411},{"href":410},"/man/VkDescriptorPool",[412],{"type":18,"value":413},"VkDescriptorPool",{"type":18,"value":390},{"type":13,"tag":336,"props":416,"children":418},{"name":417},"VUID-vkResetDescriptorPool-flags-zerobitmask",[419],{"type":13,"tag":14,"props":420,"children":421},{},[422,427,428,431,433],{"type":13,"tag":34,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":110},{"type":18,"value":376},{"type":13,"tag":353,"props":429,"children":430},{"type":355},[],{"type":18,"value":432}," be ",{"type":13,"tag":34,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"0",{"type":13,"tag":336,"props":440,"children":442},{"name":441},"VUID-vkResetDescriptorPool-descriptorPool-parent",[443],{"type":13,"tag":14,"props":444,"children":445},{},[446,451,452,455,457],{"type":13,"tag":34,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":92},{"type":18,"value":376},{"type":13,"tag":353,"props":453,"children":454},{"type":355},[],{"type":18,"value":456}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":73},{"type":13,"tag":463,"props":464,"children":466},"validity-box",{"name":465},"Host Synchronization",[467],{"type":13,"tag":291,"props":468,"children":469},{},[470,486],{"type":13,"tag":295,"props":471,"children":472},{},[473,475,480,481,484],{"type":18,"value":474},"Host access to ",{"type":13,"tag":34,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":92},{"type":18,"value":376},{"type":13,"tag":353,"props":482,"children":483},{"type":355},[],{"type":18,"value":485}," be externally synchronized",{"type":13,"tag":295,"props":487,"children":488},{},[489,491,497,499,504,505,508],{"type":18,"value":490},"Host access to any ",{"type":13,"tag":34,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":496},"VkDescriptorSet",{"type":18,"value":498}," objects allocated from ",{"type":13,"tag":34,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":92},{"type":18,"value":376},{"type":13,"tag":353,"props":506,"children":507},{"type":355},[],{"type":18,"value":509}," be externally synchronized\n::",{"type":13,"tag":511,"props":512,"children":513},"style",{},[514],{"type":18,"value":515},"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":61,"depth":61,"links":517},[],"markdown",1725732623239]