VkPhysicalDeviceMemoryBudgetPropertiesEXT - Structure specifying physical device memory budget and usage
Description
The values returned in this structure are not invariant. The
heapBudget and heapUsage values must be zero for array elements
greater than or equal to
PhysicalDeviceMemoryProperties::memoryHeapCount.
The heapBudget value must be non-zero for array elements less than
PhysicalDeviceMemoryProperties::memoryHeapCount.
The heapBudget value must be less than or equal to
MemoryHeap::size for each heap.
Structure Chaining
See Also
Constructors
PhysicalDeviceMemoryBudgetPropertiesEXTheapBudget :: Vector DeviceSizeheapBudgetis an array of MAX_MEMORY_HEAPS DeviceSize 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.heapUsage :: Vector DeviceSizeheapUsageis an array of MAX_MEMORY_HEAPS DeviceSize 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.
Instances5Show, Storable, FromCStruct, ToCStruct, Zero
Show PhysicalDeviceMemoryBudgetPropertiesEXTDefined in vulkan-3.27 · Vulkan.Extensions.VK_EXT_memory_budgetStorable PhysicalDeviceMemoryBudgetPropertiesEXTDefined in vulkan-3.27 · Vulkan.Extensions.VK_EXT_memory_budgetFromCStruct PhysicalDeviceMemoryBudgetPropertiesEXTDefined in vulkan-3.27 · Vulkan.Extensions.VK_EXT_memory_budgetToCStruct PhysicalDeviceMemoryBudgetPropertiesEXTDefined in vulkan-3.27 · Vulkan.Extensions.VK_EXT_memory_budgetZero PhysicalDeviceMemoryBudgetPropertiesEXTDefined in vulkan-3.27 · Vulkan.Extensions.VK_EXT_memory_budget