namespace Brutal.VulkanApi { /// /// VkExportMemoryAllocateInfo - Specify exportable handle types for a device memory object /// /// /// /// When allocating memory whose payload may: be exported to another process or /// Vulkan instance, add a VkExportMemoryAllocateInfo structure to the /// pNext chain of the VkMemoryAllocateInfo structure, specifying /// the handle types that may: be exported. /// /// /// The VkExportMemoryAllocateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkExportMemoryAllocateInfo { /// VkStructureType sType; /// const void* pNext; /// VkExternalMemoryHandleTypeFlags handleTypes; /// } VkExportMemoryAllocateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkExportMemoryAllocateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ExportMemoryAllocateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// HandleTypes is zero or a bitmask of VkExternalMemoryHandleTypeFlags specifying one or more memory handle types the application can export from the resulting allocation. The application can request multiple handle types for the same allocation. /// [FieldOffset(16)] public VkExternalMemoryHandleTypeFlags HandleTypes; } }