C Specification
To export the Metal MTLSharedEvent object underlying a
VkSemaphore or VkEvent object, include a
VkExportMetalSharedEventInfoEXT structure in the pNext chain of
the pMetalObjectsInfo parameter of a vkExportMetalObjectsEXT
call.
The VkExportMetalSharedEventInfoEXT structure is defined as:
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
semaphoreis VK_NULL_HANDLE or a VkSemaphore. -
eventis VK_NULL_HANDLE or a VkEvent. -
mtlSharedEventis the Metalid<MTLSharedEvent>object underlying the VkSemaphore or VkEvent object insemaphoreorevent, respectively. The implementation will return theMTLSharedEventin this member, or it will returnNULLif noMTLSharedEventcould be found underlying the VkSemaphore or VkEvent 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.