To free command buffers, call:
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.
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.