VkBufferCopy(3)

# VkBufferCopy(3) Manual Page

## Name

VkBufferCopy - Structure specifying a buffer copy operation

Loading… please wait.

## C Specification

The `VkBufferCopy` structure is defined as:

    // Provided by VK_VERSION_1_0
    typedef struct VkBufferCopy {
        VkDeviceSize    srcOffset;
        VkDeviceSize    dstOffset;
        VkDeviceSize    size;
    } VkBufferCopy;

## Members

- `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.

## Description

Valid Usage

- VUID-VkBufferCopy-size-01988
  The `size` must be greater than `0`

## See Also

VK_VERSION_1_0, `VkDeviceSize`, vkCmdCopyBuffer

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2022 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0