To copy data between buffer objects, call:
void vkCmdCopyBuffer( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
commandBufferis the command buffer into which the command will be recorded.
srcBufferis the source buffer.
dstBufferis the destination buffer.
regionCountis the number of regions to copy.
pRegionsis a pointer to an array of VkBufferCopy structures specifying the regions to copy.
Each region in
pRegions is copied from the source buffer to the same
region of the destination buffer.
dstBuffer can be the same buffer or alias the
same memory, but the result is undefined if the copy regions overlap in
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.