Function Prototype
vkExportMetalObjectsEXT
Export Metal objects from the corresponding Vulkan objects
To export Metal objects that underlie Vulkan objects, call:
void vkExportMetalObjectsEXT(
VkDevice device,
VkExportMetalObjectsInfoEXT* pMetalObjectsInfo);
deviceis the device that created the Vulkan objects.pMetalObjectsInfois a pointer to a VkExportMetalObjectsInfoEXT structure whosepNextchain contains structures, each identifying a Vulkan object and providing a pointer through which the Metal object will be returned.
Valid Usage (Implicit)
VUID-vkExportMetalObjectsEXT-device-parameter
device must be a valid VkDevice handle
VUID-vkExportMetalObjectsEXT-pMetalObjectsInfo-parameter
pMetalObjectsInfo must be a valid pointer to a VkExportMetalObjectsInfoEXT structure