vkGetBufferOpaqueCaptureAddressKHR(3)

# vkGetBufferOpaqueCaptureAddressKHR(3) Manual Page

## Name

vkGetBufferOpaqueCaptureAddressKHR - Query an opaque capture address of a buffer

## C Specification

To query a 64-bit buffer opaque capture address, call:

    uint64_t vkGetBufferOpaqueCaptureAddressKHR(
        VkDevice                                    device,
        const VkBufferDeviceAddressInfoKHR*         pInfo);

## Parameters

- `device` is the logical device that the buffer was created on.

- `pInfo` is a pointer to a VkBufferDeviceAddressInfoKHR structure specifying the buffer to retrieve an address for.

## Description

The 64-bit return value is an opaque capture address of the start of `pInfo`->buffer.

If the buffer was created with a non-zero value of VkBufferOpaqueCaptureAddressCreateInfoKHR::`opaqueCaptureAddress` the return value must be the same address.

Valid Usage

- The bufferDeviceAddress feature must be enabled

- If `device` was created with multiple physical devices, then the bufferDeviceAddressMultiDevice feature must be enabled

Valid Usage (Implicit)

- `device` must be a valid VkDevice handle

- `pInfo` must be a valid pointer to a valid VkBufferDeviceAddressInfoKHR structure

## See Also

VkBufferDeviceAddressInfoKHR, VkDevice

## 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 (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.