Class VkMemoryGetWin32HandleInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkMemoryGetWin32HandleInfoKHR>
org.lwjgl.vulkan.VkMemoryGetWin32HandleInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkMemoryGetWin32HandleInfoKHR extends org.lwjgl.system.Struct<VkMemoryGetWin32HandleInfoKHR> implements org.lwjgl.system.NativeResource
Structure describing a Win32 handle memory export operation.
Description

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

GetMemoryWin32HandleKHR

Layout


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