Class VkPhysicalDeviceExternalFenceInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer
    Direct Known Subclasses:
    VkPhysicalDeviceExternalFenceInfoKHR

    public class VkPhysicalDeviceExternalFenceInfo
    extends Struct
    implements NativeResource
    Structure specifying fence creation parameters.
    Description
    Note

    Handles of type 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)
    See Also

    GetPhysicalDeviceExternalFenceProperties, GetPhysicalDeviceExternalFencePropertiesKHR

    Member documentation

    • sType – the type of this structure
    • pNext – NULL or a pointer to an extension-specific structure.
    • handleType – a VkExternalFenceHandleTypeFlagBits value indicating an external fence handle type for which capabilities will be returned.

    Layout

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