|
VulkanDeviceDumpResources Method |
Writes string that contains details tracked resources (objected derived from
ComponentBase) to the console (when the application is debugged in Visual Studio the result is written to Output window or Immediate Window if started from there; in Rider the result is written to Debug Output window).
To get a meaningful result, enable tracking resource on application startup.
This can be done by setting static ComponentBase.ResourcesTracker.IsTrackingResources to true.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void DumpResources(
bool showFullTypeName = true,
bool groupByTypeName = false,
bool groupByIsDisposed = false
)
Parameters
- showFullTypeName Boolean (Optional)
- If true than type namespace will be also added to type name
- groupByTypeName Boolean (Optional)
- when true then resources are order by type name
- groupByIsDisposed Boolean (Optional)
- when true then first all alive resources are listed and then all disposed resources listed (false by default)
Return Value
string with report of tracked resource
See Also