C Specification
To export the Metal MTLCommandQueue object underlying a VkQueue
object, include a VkExportMetalCommandQueueInfoEXT structure in the
pNext chain of the pMetalObjectsInfo parameter of a
vkExportMetalObjectsEXT call.
The VkExportMetalCommandQueueInfoEXT structure is defined as:
// Provided by VK_EXT_metal_objects
typedef struct VkExportMetalCommandQueueInfoEXT {
VkStructureType sType;
const void* pNext;
VkQueue queue;
MTLCommandQueue_id mtlCommandQueue;
} VkExportMetalCommandQueueInfoEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
queueis a VkQueue. -
mtlCommandQueueis the Metalid<MTLCommandQueue>object underlying the VkQueue object inqueue. The implementation will return theMTLCommandQueuein this member, or it will returnNULLif noMTLCommandQueuecould be found underlying the VkQueue object.
Document Notes
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.