Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceGetMemoryBudgetInfo Method

Returns a string that shows the memory heaps usage and available budgets. To check if memory budget information is available call the IsMemoryBudgetInfoAvailable method.

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public string GetMemoryBudgetInfo(
	bool useMultipleLines = true,
	bool writeMemoryProperties = true
)

Parameters

useMultipleLines  Boolean  (Optional)
when true (by default) then string will be created with multiple lines
writeMemoryProperties  Boolean  (Optional)
when true (by default) then memory properties flags will be written for each heap

Return Value

String
string that shows the memory heaps usage and available budgets or error text if memory budget info is not available
See Also