Structures
VkBufferCopy
Structure specifying a buffer copy operation
The VkBufferCopy structure is defined as:
typedef struct VkBufferCopy {
VkDeviceSize srcOffset;
VkDeviceSize dstOffset;
VkDeviceSize size;
} VkBufferCopy;
pub struct BufferCopy {
src_offset: vk::DeviceSize, // Specified in bytes
dst_offset: vk::DeviceSize, // Specified in bytes
size: vk::DeviceSize, // Specified in bytes
}
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-VkBufferCopy-size-01988
The size must be greater than 0
Parent
VK_VERSION_1_0Type
Structures