Loading...
Searching...
No Matches
OFT.Rendering.Context.Profiler Class Reference

A store for counters to display for debugging. More...

Public Member Functions

void Lock ()
 
void Unlock ()
 
void Update ()
 
void Reset ()
 
void Subscribe (Action action)
 

Properties

bool Locked [get]
 Gets profiler state. If locked no writes should be done This is needed to exclude debug overlay drawing calls to print them properly.
 
Dictionary< string, UnitWatcher > Watchers = new Dictionary<string, UnitWatcher>() [get]
 
Dictionary< string, string > CustomCounters = new Dictionary<string, string>() [get]
 

Detailed Description

A store for counters to display for debugging.

Member Function Documentation

◆ Lock()

void OFT.Rendering.Context.Profiler.Lock ( )

◆ Reset()

void OFT.Rendering.Context.Profiler.Reset ( )

◆ Subscribe()

void OFT.Rendering.Context.Profiler.Subscribe ( Action  action)

◆ Unlock()

void OFT.Rendering.Context.Profiler.Unlock ( )

◆ Update()

void OFT.Rendering.Context.Profiler.Update ( )

Property Documentation

◆ CustomCounters

Dictionary<string, string> OFT.Rendering.Context.Profiler.CustomCounters = new Dictionary<string, string>()
get

◆ Locked

bool OFT.Rendering.Context.Profiler.Locked
get

Gets profiler state. If locked no writes should be done This is needed to exclude debug overlay drawing calls to print them properly.

◆ Watchers

Dictionary<string, UnitWatcher> OFT.Rendering.Context.Profiler.Watchers = new Dictionary<string, UnitWatcher>()
get

The documentation for this class was generated from the following file: