To free command buffers, call:
// Provided by VK_VERSION_1_0 void vkFreeCommandBuffers( VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers);
deviceis the logical device that owns the command pool.
commandPoolis the command pool from which the command buffers were allocated.
commandBufferCountis the length of the
pCommandBuffersis a pointer to an array of handles of command buffers to free.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.