Urho.DebugHud Class

Displays rendering stats and profiling information.

See Also: DebugHud

Syntax

public class DebugHud : UrhoObject

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.DebugHud are listed below.

See Also: UrhoObject

Public Constructors

Constructs a new instance of Urho.DebugHud which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.DebugHud, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.DebugHud linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

DefaultStyleXmlFile. Return the UI style file. Or Set UI elements' style from an XML file.
[read-only]
MemoryTextText. Return memory text.
ModeUInt32. Return currently shown elements. Or Set elements to show.
[read-only]
ModeTextText. Return rendering mode text.
ProfilerIntervalSingle. Return profiler accumulation interval in seconds Or Set profiler accumulation interval in seconds.
ProfilerMaxDepthUInt32. Return maximum profiler block depth. Or Set maximum profiler block depth, default unlimited.
[read-only]
ProfilerTextText. Return profiler text.
[read-only]
StatsTextText. Return rendering stats text.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
UseRendererStatsBoolean. Return whether showing 3D geometry primitive/batch count only. Or Set whether to show 3D geometry primitive/batch count only. Default false.

Public Methods

ClearAppStats()
Clear all application-specific stats.
ResetAppStats(String) : Boolean
Reset application-specific stats. Return true if it was erased successfully.
SetAppStats(String, String)
Set application-specific stats.
Toggle(UInt32)
Toggle elements.
ToggleAll()
Toggle all elements.
Update()
Update. Called by HandlePostUpdate().