Structures

VkBufferCopy

Structure specifying a buffer copy operation

The VkBufferCopy structure is defined as:

typedef struct VkBufferCopy {
    VkDeviceSize srcOffset;
    VkDeviceSize dstOffset;
    VkDeviceSize size;
} VkBufferCopy;
  • srcOffset is the starting offset in bytes from the start of srcBuffer.
  • dstOffset is the starting offset in bytes from the start of dstBuffer.
  • size is the number of bytes to copy.

Valid Usage

VUID-VkBufferCopy-size-01988

The size must be greater than 0