namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceMemoryProperties - Structure specifying physical device memory properties /// /// /// /// The VkPhysicalDeviceMemoryProperties structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPhysicalDeviceMemoryProperties { /// uint32_t memoryTypeCount; /// VkMemoryType memoryTypes[VK_MAX_MEMORY_TYPES]; /// uint32_t memoryHeapCount; /// VkMemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS]; /// } VkPhysicalDeviceMemoryProperties; /// /// [StructLayout(LayoutKind.Explicit, Size = 520)] public partial struct VkPhysicalDeviceMemoryProperties() { /// /// MemoryTypeCount is the number of valid elements in the memoryTypes array. /// [FieldOffset(0)] public int MemoryTypeCount; /// /// MemoryTypes is an array of VK_MAX_MEMORY_TYPES VkMemoryType structures describing the memory types that can be used to access memory allocated from the heaps specified by memoryHeaps. /// [FieldOffset(4)] public VkMemoryType_32 MemoryTypes; /// /// MemoryHeapCount is the number of valid elements in the memoryHeaps array. /// [FieldOffset(260)] public int MemoryHeapCount; /// /// MemoryHeaps is an array of VK_MAX_MEMORY_HEAPS VkMemoryHeap structures describing the memory heaps from which memory can be allocated. /// [FieldOffset(264)] public VkMemoryHeap_16 MemoryHeaps; } }