Structures
VkExportMetalDeviceInfoEXT
Structure that identifies a VkDevice object and corresponding Metal MTLDevice object
To export the Metal MTLDevice object underlying the
VkPhysicalDevice associated with a VkDevice object, include a
VkExportMetalDeviceInfoEXT structure in the pNext chain of the
pMetalObjectsInfo parameter of a vkExportMetalObjectsEXT call.
The VkExportMetalDeviceInfoEXT structure is defined as:
typedef struct VkExportMetalDeviceInfoEXT {
VkStructureType sType;
const void* pNext;
MTLDevice_id mtlDevice;
} VkExportMetalDeviceInfoEXT;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.mtlDeviceis the Metalid<MTLDevice>object underlying the VkPhysicalDevice associated with the VkDevice object identified in the call. The implementation will return theMTLDevicein this member, or it will returnNULLif noMTLDevicecould be found underlying the VkPhysicalDevice object.
Valid Usage (Implicit)
VUID-VkExportMetalDeviceInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT