vkGetDeviceMemoryOpaqueCaptureAddress
To query a 64-bit opaque capture address value from a memory object, call:
uint64_t vkGetDeviceMemoryOpaqueCaptureAddress(
VkDevice device,
const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo);
pub fn get_device_memory_opaque_capture_address(
device: vk::Device,
p_info: *const vk::DeviceMemoryOpaqueCaptureAddressInfo,
) -> u64;
uint64_t vkGetDeviceMemoryOpaqueCaptureAddressKHR(
VkDevice device,
const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo);
pub fn get_device_memory_opaque_capture_address_khr(
device: vk::Device,
p_info: *const vk::DeviceMemoryOpaqueCaptureAddressInfo,
) -> u64;
deviceis the logical device that the memory object was allocated on.pInfois a pointer to a VkDeviceMemoryOpaqueCaptureAddressInfo structure specifying the memory object to retrieve an address for.
The 64-bit return value is an opaque address representing the start of
pInfo→memory.
If the memory object was allocated with a non-zero value of
VkMemoryOpaqueCaptureAddressAllocateInfo::opaqueCaptureAddress,
the return value must be the same address.
Valid Usage
VUID-vkGetDeviceMemoryOpaqueCaptureAddress-None-03334
The bufferDeviceAddress and
bufferDeviceAddressCaptureReplay features must be enabled
VUID-vkGetDeviceMemoryOpaqueCaptureAddress-pInfo-10727
pInfo→memory must have been allocated using the
VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT flag
VUID-vkGetDeviceMemoryOpaqueCaptureAddress-device-03335
If device was created with multiple physical devices, then the
bufferDeviceAddressMultiDevice feature must be enabled
Valid Usage (Implicit)
VUID-vkGetDeviceMemoryOpaqueCaptureAddress-device-parameter
device must be a valid VkDevice handle
VUID-vkGetDeviceMemoryOpaqueCaptureAddress-pInfo-parameter
pInfo must be a valid pointer to a valid VkDeviceMemoryOpaqueCaptureAddressInfo structure