To complete recording of a command buffer, call:
VkResult vkEndCommandBuffer( VkCommandBuffer commandBuffer);
commandBufferis the command buffer to complete recording.
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 at URL
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright (c) 2014-2018 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.