C Specification
To copy data between buffer objects, call:
// Provided by VK_KHR_copy_commands2
void vkCmdCopyBuffer2KHR(
VkCommandBuffer commandBuffer,
const VkCopyBufferInfo2KHR* pCopyBufferInfo);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
pCopyBufferInfo
is a pointer to a VkCopyBufferInfo2KHR structure describing the copy parameters.
Description
This command is functionally identical to vkCmdCopyBuffer, but
includes extensible sub-structures that include sType
and pNext
parameters, allowing them to be more easily extended.
Document Notes
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.