 |
Scene.DumpFullMemoryUsage Method |
Writes string that shows full memory usage for this Scene, its GpuDevice and all used effects 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).
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void DumpFullMemoryUsage(
bool dumpAllActiveAllocations = true,
bool dumpBlockUsageTable = true,
bool listIndividualAllocations = true,
bool showSceneCachedObjects = true,
bool showDeviceCachedObjects = true,
bool showMemoryBudget = true,
bool showMemoryTypes = true
)
Parameters
- dumpAllActiveAllocations Boolean (Optional)
- when true (by default) then details for all active allocations are added to the report string
- dumpBlockUsageTable Boolean (Optional)
- when true (by default) then a map of block usage is shown with stars and dots showing used and free areas of the memory block
- listIndividualAllocations Boolean (Optional)
- when true (by default) then individual allocations are listed
- showSceneCachedObjects Boolean (Optional)
- when true (by default) then objects that are cached by this Scene are shown
- showDeviceCachedObjects Boolean (Optional)
- when true (by default) then objects that are cached by the GpuDevice are shown
- showMemoryBudget Boolean (Optional)
- when true (by default) then memory heap usage and available budget is shown (when that data is available)
- showMemoryTypes Boolean (Optional)
- when true (by default) then available memory types are shown
See Also