Structures
VkImportMetalSharedEventInfoEXT
Structure that identifies a VkSemaphore or VkEvent object and corresponding Metal Shared Event object to use.
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:
typedef struct VkImportMetalSharedEventInfoEXT {
VkStructureType sType;
const void* pNext;
MTLSharedEvent_id mtlSharedEvent;
} VkImportMetalSharedEventInfoEXT;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.mtlSharedEventis the Metalid<MTLSharedEvent>object that is to underlie the VkSemaphore or VkEvent.
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.
Valid Usage (Implicit)
VUID-VkImportMetalSharedEventInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT