namespace Brutal.VulkanApi { /// /// VkImportMemoryHostPointerInfoEXT - Import memory from a host pointer /// /// /// /// To import memory from a host pointer, add a /// VkImportMemoryHostPointerInfoEXT structure to the pNext chain of /// the VkMemoryAllocateInfo structure. /// The VkImportMemoryHostPointerInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_external_memory_host /// typedef struct VkImportMemoryHostPointerInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkExternalMemoryHandleTypeFlagBits handleType; /// void* pHostPointer; /// } VkImportMemoryHostPointerInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkImportMemoryHostPointerInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImportMemoryHostPointerInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// HandleType is a VkExternalMemoryHandleTypeFlags value specifying the handle type. /// [FieldOffset(16)] public VkExternalMemoryHandleTypeFlags HandleType; /// /// HostPointer is the host pointer to import from. /// [FieldOffset(24)] public void* HostPointer; } }