# VkDeviceOrHostAddressKHR(3) Manual Page

## Name

VkDeviceOrHostAddressKHR - Union specifying a device or host address

Loading… please wait.

## C Specification

The `VkDeviceOrHostAddressKHR` union is defined as:

    // Provided by VK_KHR_acceleration_structure, VK_NV_cooperative_vector
    typedef union VkDeviceOrHostAddressKHR {
        VkDeviceAddress    deviceAddress;
        void*              hostAddress;
    } VkDeviceOrHostAddressKHR;

## Members

- `deviceAddress` is a buffer device address as returned by the vkGetBufferDeviceAddressKHR command.

- `hostAddress` is a host memory address.

## Description

## See Also

VK_KHR_acceleration_structure, VK_NV_cooperative_vector, VkAccelerationStructureBuildGeometryInfoKHR, VkConvertCooperativeVectorMatrixInfoNV, VkCopyAccelerationStructureToMemoryInfoKHR, VkCopyMicromapToMemoryInfoEXT, VkDeviceAddress, VkMicromapBuildInfoEXT

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

SPDX-License-Identifier: CC-BY-4.0