Structures
VkExportSemaphoreCreateInfo
Structure specifying handle types that can be exported from a semaphore
To create a semaphore whose payload can be exported to external handles,
add a VkExportSemaphoreCreateInfo structure to the pNext
chain
of the VkSemaphoreCreateInfo structure.
The VkExportSemaphoreCreateInfo
structure is defined as:
typedef struct VkExportSemaphoreCreateInfo {
VkStructureType sType;
const void* pNext;
VkExternalSemaphoreHandleTypeFlags handleTypes;
} VkExportSemaphoreCreateInfo;
or the equivalent
typedef VkExportSemaphoreCreateInfo VkExportSemaphoreCreateInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.handleTypes
is a bitmask of VkExternalSemaphoreHandleTypeFlagBits specifying one or more semaphore handle types the application can export from the resulting semaphore. The application can request multiple handle types for the same semaphore.
Valid Usage
VUID-VkExportSemaphoreCreateInfo-handleTypes-01124
The bits in handleTypes
must be supported and compatible, as
reported by VkExternalSemaphoreProperties
Valid Usage (Implicit)
VUID-VkExportSemaphoreCreateInfo-sType-sType
sType
must be VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO
VUID-VkExportSemaphoreCreateInfo-handleTypes-parameter
handleTypes
must be a valid combination of VkExternalSemaphoreHandleTypeFlagBits values