Function Prototype
vkGetMemoryZirconHandleFUCHSIA
Get a Zircon handle for an external memory object
To export device memory as a Zircon handle that can be used by another instance, device, or process, retrieve the handle to the VkDeviceMemory using the command:
VkResult vkGetMemoryZirconHandleFUCHSIA(
VkDevice device,
const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,
zx_handle_t* pZirconHandle);
deviceis the VkDevice.pGetZirconHandleInfois a pointer to a VkMemoryGetZirconHandleInfoFUCHSIA structure.pZirconHandleis a pointer to azx_handle_twhich holds the resulting Zircon handle.
Valid Usage (Implicit)
VUID-vkGetMemoryZirconHandleFUCHSIA-device-parameter
device must be a valid VkDevice handle
VUID-vkGetMemoryZirconHandleFUCHSIA-pGetZirconHandleInfo-parameter
pGetZirconHandleInfo must be a valid pointer to a valid VkMemoryGetZirconHandleInfoFUCHSIA structure
VUID-vkGetMemoryZirconHandleFUCHSIA-pZirconHandle-parameter
pZirconHandle must be a valid pointer to a zx_handle_t value