VkHostImageCopyFlagBits(3)

# VkHostImageCopyFlagBits(3) Manual Page

## Name

VkHostImageCopyFlagBits - Bitmask specifying additional copy parameters

## C Specification

Bits which can be set in VkCopyMemoryToImageInfo::`flags`, VkCopyImageToMemoryInfo::`flags`, and VkCopyImageToImageInfo::`flags`, specifying additional copy parameters are:

    // Provided by VK_VERSION_1_4
    typedef enum VkHostImageCopyFlagBits {
        VK_HOST_IMAGE_COPY_MEMCPY_BIT = 0x00000001,
      // VK_HOST_IMAGE_COPY_MEMCPY is a legacy alias
        VK_HOST_IMAGE_COPY_MEMCPY = VK_HOST_IMAGE_COPY_MEMCPY_BIT,
      // Provided by VK_EXT_host_image_copy
        VK_HOST_IMAGE_COPY_MEMCPY_BIT_EXT = VK_HOST_IMAGE_COPY_MEMCPY_BIT,
      // Provided by VK_EXT_host_image_copy
      // VK_HOST_IMAGE_COPY_MEMCPY_EXT is a legacy alias
        VK_HOST_IMAGE_COPY_MEMCPY_EXT = VK_HOST_IMAGE_COPY_MEMCPY_BIT,
    } VkHostImageCopyFlagBits;

    // Provided by VK_EXT_host_image_copy
    // Equivalent to VkHostImageCopyFlagBits
    typedef VkHostImageCopyFlagBits VkHostImageCopyFlagBitsEXT;

## Description

- VK_HOST_IMAGE_COPY_MEMCPY_BIT specifies that no memory layout swizzling is to be applied during data copy. For copies between memory and images, this flag indicates that image data in host memory is swizzled in exactly the same way as the image data on the device. Using this flag indicates that the implementations may use a simple memory copy to transfer the data between the host memory and the device memory. The format of the swizzled data in host memory is platform dependent and is not defined in this specification.

## See Also

VK_EXT_host_image_copy, VK_VERSION_1_4, VkHostImageCopyFlags

## 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-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0