To reset a command buffer, call:
// Provided by VK_VERSION_1_0 VkResult vkResetCommandBuffer( VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags);
commandBufferis the command buffer to reset. The command buffer can be in any state other than pending, and is moved into the initial state.
flagsis a bitmask of VkCommandBufferResetFlagBits controlling the reset operation.
Any primary command buffer that is in the recording or executable state and has
commandBuffer recorded into
it, becomes invalid.
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.