Function Prototype
vkGetBufferOpaqueCaptureAddress
Query an opaque capture address of a buffer
To query a 64-bit buffer opaque capture address, call:
uint64_t vkGetBufferOpaqueCaptureAddress(
VkDevice device,
const VkBufferDeviceAddressInfo* pInfo);
pub fn get_buffer_opaque_capture_address(
device: vk::Device,
p_info: *const vk::BufferDeviceAddressInfo,
) -> u64;
uint64_t vkGetBufferOpaqueCaptureAddressKHR(
VkDevice device,
const VkBufferDeviceAddressInfo* pInfo);
pub fn get_buffer_opaque_capture_address_khr(
device: vk::Device,
p_info: *const vk::BufferDeviceAddressInfo,
) -> u64;
deviceis the logical device that the buffer was created on.pInfois a pointer to a VkBufferDeviceAddressInfo structure specifying the buffer to retrieve an address for.
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
VkBufferOpaqueCaptureAddressCreateInfo::opaqueCaptureAddress the
return value must be the same address.
Valid Usage
VUID-vkGetBufferOpaqueCaptureAddress-None-03326
The bufferDeviceAddress and
bufferDeviceAddressCaptureReplay features must be enabled
VUID-vkGetBufferOpaqueCaptureAddress-pInfo-10725
pInfo→buffer must have been created with the
VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT flag
VUID-vkGetBufferOpaqueCaptureAddress-device-03327
If device was created with multiple physical devices, then the
bufferDeviceAddressMultiDevice feature must be enabled
Valid Usage (Implicit)
VUID-vkGetBufferOpaqueCaptureAddress-device-parameter
device must be a valid VkDevice handle
VUID-vkGetBufferOpaqueCaptureAddress-pInfo-parameter
pInfo must be a valid pointer to a valid VkBufferDeviceAddressInfo structure
Parent
VK_VERSION_1_2Type
Function Prototype