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
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
semaphore
is VK_NULL_HANDLE or a VkSemaphore. -
event
is VK_NULL_HANDLE or a VkEvent. -
mtlSharedEvent
is the Metalid<MTLSharedEvent>
object underlying the VkSemaphore or VkEvent object insemaphore
orevent
, respectively. The implementation will return theMTLSharedEvent
in this member, or it will returnNULL
if noMTLSharedEvent
could 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.