To complete recording of a command buffer, call:
// Provided by VK_VERSION_1_0 VkResult vkEndCommandBuffer( VkCommandBuffer commandBuffer);
If there was an error during recording, the application will be notified by
an unsuccessful return code returned by
If the application wishes to further use the command buffer, the command
buffer must be reset.
The command buffer must have been in the recording state, and is moved to the executable state.
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.