Class VkFenceGetFdInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkFenceGetFdInfoKHR
    extends Struct
    implements NativeResource
    Structure describing a POSIX FD fence export operation.

    The properties of the file descriptor returned depend on the value of handleType. See VkExternalFenceHandleTypeFlagBits for a description of the properties of the defined external fence handle types.

    Valid Usage
    • handleType must have been included in VkExportFenceCreateInfo::handleTypes when fence’s current payload was created.
    • If handleType refers to a handle type with copy payload transference semantics, fence must be signaled, or have an associated fence signal operation pending execution.
    • fence must not currently have its payload replaced by an imported payload as described below in Importing Fence Payloads unless that imported payload’s handle type was included in VkExternalFenceProperties::exportFromImportedHandleTypes for handleType.
    • handleType must be defined as a POSIX file descriptor handle.
    Valid Usage (Implicit)
    See Also


    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • fence – the fence from which state will be exported.
    • handleType – the type of handle requested.


     struct VkFenceGetFdInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkFence fence;
         VkExternalFenceHandleTypeFlagBits handleType;