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);
device
is the device that created the Vulkan objects.pMetalObjectsInfo
is a pointer to a VkExportMetalObjectsInfoEXT structure whosepNext
chain 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