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;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.srcOffsetis the starting offset in bytes from the start ofsrcBuffer.dstOffsetis the starting offset in bytes from the start ofdstBuffer.sizeis 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