Vulkan-Docs/appendices/VK_EXT_memory_budget.txt

46 lines
1.2 KiB
Plaintext
Raw Normal View History

// Copyright (c) 2018-2019 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
include::meta/VK_EXT_memory_budget.txt[]
Last Modified Date::
2018-10-08
Contributors::
- Jeff Bolz, NVIDIA
- Jeff Juliano, NVIDIA
This extension adds support for querying the amount of memory used and the
total memory budget for a memory heap.
The values returned by this query are implementation-dependent and can
depend on a variety of factors including operating system and system load.
The pname:heapBudget values can be used as a guideline for how much total
memory from each heap the process can use at any given time, before
allocations may start failing or causing performance degradation.
The values may change based on other activity in the system that is outside
the scope and control of the Vulkan implementation.
=== New Enum Constants
* Extending elink:VkStructureType:
** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT
=== New Enums
None.
=== New Structures
* slink:VkPhysicalDeviceMemoryBudgetPropertiesEXT
=== New Functions
None.
=== Version History
* Revision 1, 2018-10-08 (Jeff Bolz)
- Initial revision