Class VkImportSemaphoreWin32HandleInfoKHR

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

    public class VkImportSemaphoreWin32HandleInfoKHR
    extends Struct
    implements NativeResource
    Structure specifying Windows handle to import to a semaphore.
    Description

    The handle types supported by handleType are:

    Handle Types Supported by VkImportSemaphoreWin32HandleInfoKHR
    Handle TypeTransferencePermanence Supported
    EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BITReferenceTemporary,Permanent
    EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BITReferenceTemporary,Permanent
    EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BITReferenceTemporary,Permanent
    Valid Usage
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR
    • pNext must be NULL
    • semaphore must be a valid VkSemaphore handle
    • flags must be a valid combination of VkSemaphoreImportFlagBits values
    • If handleType is not 0, handleType must be a valid VkExternalSemaphoreHandleTypeFlagBits value
    Host Synchronization
    • Host access to semaphore must be externally synchronized
    See Also

    ImportSemaphoreWin32HandleKHR

    Member documentation

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

    Layout

    
     struct VkImportSemaphoreWin32HandleInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkSemaphore semaphore;
         VkSemaphoreImportFlags flags;
         VkExternalSemaphoreHandleTypeFlagBits handleType;
         HANDLE handle;
         LPCWSTR name;
     }