namespace Brutal.VulkanApi { /// /// VkMemoryRequirements - Structure specifying memory requirements /// /// /// /// The VkMemoryRequirements structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkMemoryRequirements { /// VkDeviceSize size; /// VkDeviceSize alignment; /// uint32_t memoryTypeBits; /// } VkMemoryRequirements; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public partial struct VkMemoryRequirements() { /// /// Size is the size, in bytes, of the memory allocation required: for the resource. /// [FieldOffset(0)] public ByteSize64 Size; /// /// Alignment is the alignment, in bytes, of the offset within the allocation required: for the resource. /// [FieldOffset(8)] public ByteSize64 Alignment; /// /// MemoryTypeBits is a bitmask and contains one bit set for every supported memory type for the resource. Bit `i` is set if and only if the memory type `i` in the VkPhysicalDeviceMemoryProperties structure for the physical device is supported for the resource. /// [FieldOffset(16)] public int MemoryTypeBits; } }