Class VkImportMemoryWin32HandleInfoNV

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

    public class VkImportMemoryWin32HandleInfoNV
    extends Struct
    implements NativeResource
    import Win32 memory created on the same physical device.
    Description

    If handleType is 0, this structure is ignored by consumers of the VkMemoryAllocateInfo structure it is chained from.

    Valid Usage
    • handleType must not have more than one bit set.
    • handle must be a valid handle to memory, obtained as specified by handleType.
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • handleType – 0 or a VkExternalMemoryHandleTypeFlagBitsNV value specifying the type of memory handle in handle.
    • handle – a Windows HANDLE referring to the memory.

    Layout

    
     struct VkImportMemoryWin32HandleInfoNV {
         VkStructureType sType;
         void const * pNext;
         VkExternalMemoryHandleTypeFlagsNV handleType;
         HANDLE handle;
     }