using System.Runtime.Versioning; namespace Brutal.VulkanApi.Win32 { /// /// VkMemoryGetWin32HandleInfoKHR - Structure describing a Win32 handle memory export operation /// /// /// /// The VkMemoryGetWin32HandleInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_external_memory_win32 /// typedef struct VkMemoryGetWin32HandleInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkDeviceMemory memory; /// VkExternalMemoryHandleTypeFlagBits handleType; /// } VkMemoryGetWin32HandleInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] [SupportedOSPlatform("windows")] public unsafe partial struct VkMemoryGetWin32HandleInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryGetWin32HandleInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Memory is the memory object from which the handle will be exported. /// [FieldOffset(16)] public VkDeviceMemory Memory; /// /// HandleType is a VkExternalMemoryHandleTypeFlags value specifying the type of handle requested. /// [FieldOffset(24)] public VkExternalMemoryHandleTypeFlags HandleType; } }