C Specification
To import a Metal id<MTLSharedEvent>
object to underlie a
VkSemaphore or VkEvent object, include a
VkImportMetalSharedEventInfoEXT
structure in the pNext
chain of
the VkSemaphoreCreateInfo or VkEventCreateInfo structure in a
vkCreateSemaphore or vkCreateEvent command, respectively.
The VkImportMetalSharedEventInfoEXT
structure is defined as:
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
mtlSharedEvent
is the Metalid<MTLSharedEvent>
object that is to underlie the VkSemaphore or VkEvent.
Description
If the pNext
chain of the VkSemaphoreCreateInfo structure
includes both VkImportMetalSharedEventInfoEXT
and
VkSemaphoreTypeCreateInfo, the signaledValue
property of the
imported id<MTLSharedEvent>
object will be set to
VkSemaphoreTypeCreateInfo::initialValue
.
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.