nw::demo::DebugUtility Class

Syntax

class DebugUtility

Description

Collection of utility functions used for demo debugging.

Member Functions

Show Load
S CalcLoadMeter Calculates the load.
S DrawLoadMeterText Renders the load calculation results string.
S DrawLoadMeter Renders the load calculation results image.
S DumpLoadMeter Outputs the load measurement results to a log file.
S IsCpuProfilingMode Gets whether CPU performance measurement mode is enabled.
Tests
S InitializeAutoTest Initializes the auto test.
S FinalizeAutoTest Finalizes the auto test.
S AdvanceAutoTestFrame Advances the auto test frame.
S PostInitializeScenes Runs the test after InitializeScenes.
S PreTerminateScenes Runs the test after TerminateScenes.
Memory Leak Tests
S SetAllocatorForTest Specifies the allocator to test for memory leak detection and other purposes.
S ResetMemoryLeakTester Resets the memory leak test feature.
S TestMemoryLeak Tests for memory leaks.
Log Output Control
S SetSilentMode Disable log output from the debug utility class.

CONFIDENTIAL