To export Metal objects that underlie Vulkan objects, call:
// Provided by VK_EXT_metal_objects void vkExportMetalObjectsEXT( VkDevice device, VkExportMetalObjectsInfoEXT* pMetalObjectsInfo);
deviceis the device that created the Vulkan objects.
pMetalObjectsInfois a pointer to a VkExportMetalObjectsInfoEXT structure whose
pNextchain contains structures, each identifying a Vulkan object and providing a pointer through which the Metal object will be returned.
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.