namespace Brutal.VulkanApi { /// /// VkMemoryAllocateInfo - Structure containing parameters of a memory allocation /// /// /// /// The VkMemoryAllocateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkMemoryAllocateInfo { /// VkStructureType sType; /// const void* pNext; /// VkDeviceSize allocationSize; /// uint32_t memoryTypeIndex; /// } VkMemoryAllocateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkMemoryAllocateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.MemoryAllocateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AllocationSize is the size of the allocation in bytes. /// [FieldOffset(16)] public ByteSize64 AllocationSize; /// /// MemoryTypeIndex is an index identifying a memory type from the memoryTypes array of the VkPhysicalDeviceMemoryProperties structure. /// [FieldOffset(24)] public int MemoryTypeIndex; } }