Class VkMemoryGetWin32HandleInfoKHR

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

    public class VkMemoryGetWin32HandleInfoKHR
    extends Struct
    implements NativeResource
    Structure describing a Win32 handle semaphore export operation.

    The properties of the handle returned depend on the value of handleType. See VkExternalMemoryHandleTypeFlagBits for a description of the properties of the defined external memory handle types.

    Valid Usage
    • handleType must have been included in VkExportMemoryAllocateInfo::handleTypes when memory was created.
    • If handleType is defined as an NT handle, GetMemoryWin32HandleKHR must be called no more than once for each valid unique combination of memory and handleType.
    • handleType must be defined as an NT handle or a global share handle.
    Valid Usage (Implicit)
    See Also


    Member documentation

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


     struct VkMemoryGetWin32HandleInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkDeviceMemory memory;
         VkExternalMemoryHandleTypeFlagBits handleType;