 |
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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic 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