Function Prototype
vkGetMemoryRemoteAddressNV
Get an address for a memory object accessible by remote devices
To export an address representing the payload of a Vulkan device memory object accessible by remote devices, call:
VkResult vkGetMemoryRemoteAddressNV(
VkDevice device,
const VkMemoryGetRemoteAddressInfoNV* pMemoryGetRemoteAddressInfo,
VkRemoteAddressNV* pAddress);
device
is the logical device that created the device memory being exported.pMemoryGetRemoteAddressInfo
is a pointer to a VkMemoryGetRemoteAddressInfoNV structure containing parameters of the export operation.pAddress
is a pointer to a VkRemoteAddressNV value in which an address representing the payload of the device memory object is returned.
More communication may be required between the kernel-mode drivers of the devices involved. This information is out of scope of this documentation and should be requested from the vendors of the devices.
Valid Usage (Implicit)
VUID-vkGetMemoryRemoteAddressNV-device-parameter
device
must be a valid VkDevice handle
VUID-vkGetMemoryRemoteAddressNV-pMemoryGetRemoteAddressInfo-parameter
pMemoryGetRemoteAddressInfo
must be a valid pointer to a valid VkMemoryGetRemoteAddressInfoNV structure
VUID-vkGetMemoryRemoteAddressNV-pAddress-parameter
pAddress
must be a valid pointer to a VkRemoteAddressNV value