namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceMemoryBudgetPropertiesEXT - Structure specifying physical device memory budget and usage /// /// /// /// If the VkPhysicalDeviceMemoryBudgetPropertiesEXT structure is included /// in the pNext chain of VkPhysicalDeviceMemoryProperties2, it is /// filled with the current memory budgets and usages. /// /// /// The VkPhysicalDeviceMemoryBudgetPropertiesEXT structure is defined as: /// /// /// // Provided by VK_EXT_memory_budget /// typedef struct VkPhysicalDeviceMemoryBudgetPropertiesEXT { /// VkStructureType sType; /// void* pNext; /// VkDeviceSize heapBudget[VK_MAX_MEMORY_HEAPS]; /// VkDeviceSize heapUsage[VK_MAX_MEMORY_HEAPS]; /// } VkPhysicalDeviceMemoryBudgetPropertiesEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 272)] public unsafe partial struct VkPhysicalDeviceMemoryBudgetPropertiesEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceMemoryBudgetPropertiesEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// HeapBudget is an array of VK_MAX_MEMORY_HEAPS basetype:VkDeviceSize values in which memory budgets are returned, with one element for each memory heap. A heap's budget is a rough estimate of how much memory the process can allocate from that heap before allocations may: fail or cause performance degradation. The budget includes any currently allocated device memory. /// [FieldOffset(16)] public ByteSize64_16 HeapBudget; /// /// HeapUsage is an array of VK_MAX_MEMORY_HEAPS basetype:VkDeviceSize values in which memory usages are returned, with one element for each memory heap. A heap's usage is an estimate of how much memory the process is currently using in that heap. /// [FieldOffset(144)] public ByteSize64_16 HeapUsage; } }