Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceGetMemoryBudget Method

Gets the memory budgets and usage for each memory heap in this GPU device. To see if this method is supported, check IsMemoryBudgetInfoAvailable property (supported on Vulkan API 1.1 and when the device supports the VK_EXT_memory_budget extension). If this is not supported, then an empty list is returned.

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public List<MemoryHeapBudget> GetMemoryBudget()

Return Value

ListMemoryHeapBudget
List of MemoryHeapBudget; empty List is returned when memory budget is not supported
See Also