Vulkan-Docs/doc/specs/vulkan/man/vkEndCommandBuffer.txt

59 lines
1.3 KiB
Plaintext

// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
vkEndCommandBuffer(3)
=====================
Name
----
vkEndCommandBuffer - Finish recording a command buffer
C Specification
---------------
// refBegin vkEndCommandBuffer Finish recording a command buffer
To complete recording of a command buffer, call:
include::../api/protos/vkEndCommandBuffer.txt[]
Parameters
----------
* pname:commandBuffer is the command buffer to complete recording. The
command buffer must: have been in the recording state, and is moved to
the executable state.
Description
-----------
If there was an error during recording, the application will be notified by
an unsuccessful return code returned by fname:vkEndCommandBuffer. If the
application wishes to further use the command buffer, the command buffer
must: be reset.
include::../validity/protos/vkEndCommandBuffer.txt[]
See Also
--------
slink:VkCommandBuffer
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkEndCommandBuffer
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]