PerformanceSingleton.getMonitor

Returns the value of one of the available monitors. You should provide one of this class's constants as the argument, like this:

More...
struct PerformanceSingleton
@nogc nothrow const
double
getMonitor
(
in long monitor
)

Detailed Description

print(Performance.get_monitor(Performance.TIME_FPS)) # Prints the FPS to the console

Meta