vulkan-3.6.11: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_memory_budget

Synopsis

Documentation

data PhysicalDeviceMemoryBudgetPropertiesEXT Source #

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.

Valid Usage (Implicit)

See Also

DeviceSize, StructureType

Constructors

PhysicalDeviceMemoryBudgetPropertiesEXT 

Fields

  • heapBudget :: Vector DeviceSize

    heapBudget is 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 DeviceSize

    heapUsage is 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.

Instances

Instances details
Show PhysicalDeviceMemoryBudgetPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_budget

Storable PhysicalDeviceMemoryBudgetPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_budget

FromCStruct PhysicalDeviceMemoryBudgetPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_budget

ToCStruct PhysicalDeviceMemoryBudgetPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_budget

Zero PhysicalDeviceMemoryBudgetPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_memory_budget

pattern EXT_MEMORY_BUDGET_SPEC_VERSION :: forall a. Integral a => a Source #

type EXT_MEMORY_BUDGET_EXTENSION_NAME = "VK_EXT_memory_budget" Source #

pattern EXT_MEMORY_BUDGET_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #