Class VkImportFenceWin32HandleInfoKHR

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

    public class VkImportFenceWin32HandleInfoKHR
    extends Struct
    implements NativeResource
    (None).
    Description

    The handle types supported by handleType are:

    Handle Types Supported by VkImportFenceWin32HandleInfoKHR
    Handle TypeTransferencePermanence Supported
    EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BITReferenceTemporary,Permanent
    EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BITReferenceTemporary,Permanent
    Valid Usage
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR
    • pNext must be NULL
    • fence must be a valid VkFence handle
    • flags must be a valid combination of VkFenceImportFlagBits values
    • If handleType is not 0, handleType must be a valid VkExternalFenceHandleTypeFlagBits value
    Host Synchronization
    • Host access to fence must be externally synchronized
    See Also

    ImportFenceWin32HandleKHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • fence – the fence into which the state will be imported.
    • flags – a bitmask of VkFenceImportFlagBits specifying additional parameters for the fence payload import operation.
    • handleType – specifies the type of handle.
    • handle – the external handle to import, or NULL.
    • name – the NULL-terminated UTF-16 string naming the underlying synchronization primitive to import, or NULL.

    Layout

    
     struct VkImportFenceWin32HandleInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkFence fence;
         VkFenceImportFlags flags;
         VkExternalFenceHandleTypeFlagBits handleType;
         HANDLE handle;
         LPCWSTR name;
     }