Click or drag to resize
Ab4d.SharpEngine logo

SceneDumpFullMemoryUsage 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.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void DumpFullMemoryUsage(
	bool dumpAllActiveAllocations = true,
	bool dumpBlockUsageTable = true,
	bool listIndividualAllocations = true,
	bool showSceneCachedObjects = true,
	bool showDeviceCachedObjects = 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
See Also