VkExportSemaphoreCreateInfo(3)

# VkExportSemaphoreCreateInfo(3) Manual Page

## Name

VkExportSemaphoreCreateInfo - Structure specifying handle types that can be exported from a semaphore

## C Specification

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;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to an extension-specific 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.

## Description

Valid Usage

- The bits in `handleTypes` must be supported and compatible, as reported by VkExternalSemaphoreProperties.

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO`

- `handleTypes` must be a valid combination of VkExternalSemaphoreHandleTypeFlagBits values

## See Also

VkExternalSemaphoreHandleTypeFlags, VkStructureType

## 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.

## Copyright

Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.