Namespace in reactor_core.js

Graphics.FPSCounter

4 public functions in 3 groups · show internal (_) functions

Core runtime: data, input and the ReactorEvents feed.

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Actions 2

startTick() Starts the tick.
endTick() Count new pictures, rather than ticker callbacks which can reuse the same world frame.

Other 1

switchMode() Switch mode.

Setup & Creation

initialize

method source
Graphics.FPSCounter.prototype.initialize()

Sets up a new instance.

Actions

startTick

method source
Graphics.FPSCounter.prototype.startTick()

Starts the tick.

endTick

method source
Graphics.FPSCounter.prototype.endTick(presented = true)

Count new pictures, rather than ticker callbacks which can reuse the same world frame.

Other

switchMode

method source
Graphics.FPSCounter.prototype.switchMode()

Switch mode.