RavEngine
Loading...
Searching...
No Matches
rcScopedTimer Class Reference

#include <Recast.h>

Public Member Functions

 rcScopedTimer (rcContext *ctx, const rcTimerLabel label)
 

Detailed Description

A helper to first start a timer and then stop it when this helper goes out of scope.

See also
rcContext

Constructor & Destructor Documentation

◆ rcScopedTimer()

rcScopedTimer::rcScopedTimer ( rcContext *  ctx,
const rcTimerLabel  label 
)
inline

Constructs an instance and starts the timer.

Parameters
[in]ctxThe context to use.
[in]labelThe category of the timer.

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