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;
pub struct BufferCopy2 {
s_type: vk::StructureType,
p_next: *const c_void,
src_offset: vk::DeviceSize, // Specified in bytes
dst_offset: vk::DeviceSize, // Specified in bytes
size: vk::DeviceSize, // Specified in bytes
}
typedef VkBufferCopy2 VkBufferCopy2KHR;
type BufferCopy2KHR = vk::BufferCopy2;
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
Parent
VK_VERSION_1_3Type
Structures