VkPhysicalDeviceExternalFenceInfo(3)

# VkPhysicalDeviceExternalFenceInfo(3) Manual Page

## Name

VkPhysicalDeviceExternalFenceInfo - Structure specifying fence creation parameters.

Loading... please wait.

## C Specification

The `VkPhysicalDeviceExternalFenceInfo` structure is defined as:

    typedef struct VkPhysicalDeviceExternalFenceInfo {
        VkStructureType                      sType;
        const void*                          pNext;
        VkExternalFenceHandleTypeFlagBits    handleType;
    } VkPhysicalDeviceExternalFenceInfo;

or the equivalent

    typedef VkPhysicalDeviceExternalFenceInfo VkPhysicalDeviceExternalFenceInfoKHR;

## Members

- `sType` is the type of this structure

- `pNext` is `NULL` or a pointer to an extension-specific structure.

- `handleType` is a VkExternalFenceHandleTypeFlagBits value indicating an external fence handle type for which capabilities will be returned.

## Description

| Note Handles of type `VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT` generated by the implementation may represent either Linux Sync Files or Android Fences at the implementation’s discretion. Applications should only use operations defined for both types of file descriptors, unless they know via means external to Vulkan the type of the file descriptor, or are prepared to deal with the system-defined operation failures resulting from using the wrong type.

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO`

- `pNext` must be `NULL`

- `handleType` must be a valid VkExternalFenceHandleTypeFlagBits value

## See Also

VkExternalFenceHandleTypeFlagBits, VkStructureType, vkGetPhysicalDeviceExternalFenceProperties, vkGetPhysicalDeviceExternalFencePropertiesKHR

## 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-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.