Structures
VkBufferCopy2
Structure specifying a buffer copy operation
The VkBufferCopy2
structure is defined as:
typedef struct VkBufferCopy2 {
VkStructureType sType;
const void* pNext;
VkDeviceSize srcOffset;
VkDeviceSize dstOffset;
VkDeviceSize size;
} VkBufferCopy2;
or the equivalent
typedef VkBufferCopy2 VkBufferCopy2KHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.srcOffset
is the starting offset in bytes from the start ofsrcBuffer
.dstOffset
is the starting offset in bytes from the start ofdstBuffer
.size
is the number of bytes to copy.
Valid Usage
VUID-VkBufferCopy2-size-01988
The size
must be greater than 0
Valid Usage (Implicit)
VUID-VkBufferCopy2-sType-sType
sType
must be VK_STRUCTURE_TYPE_BUFFER_COPY_2
VUID-VkBufferCopy2-pNext-pNext
pNext
must be NULL