vkResetDescriptorPool(3)
C Specification
To return all descriptor sets allocated from a given pool to the pool,rather than freeing individual descriptor sets, call:
// Provided by VK_VERSION_1_0VkResult vkResetDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags);Parameters
deviceis the logical device that owns the descriptor pool.descriptorPoolis the descriptor pool to be reset.flagsis reserved for future use.
Description
Resetting a descriptor pool recycles all of the resources from all of thedescriptor sets allocated from the descriptor pool back to the descriptorpool, and the descriptor sets are implicitly freed.
VUID-vkResetDescriptorPool-device-parameter
devicemust be a validVkDevice handleVUID-vkResetDescriptorPool-descriptorPool-parameter
descriptorPoolmust be a validVkDescriptorPool handleVUID-vkResetDescriptorPool-descriptorPool-parent
descriptorPoolmust have been created, allocated, or retrieved fromdevice
Host access to
descriptorPoolmust be externally synchronizedHost access to any
VkDescriptorSetobjects allocated fromdescriptorPoolmust be externally synchronized
Document Notes
For more information, see theVulkan Specification.
This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.