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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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