Namespace in reactor_core.js
Graphics.FPSCounter
4 public functions in 3 groups · show internal (_) functions
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 sourceGraphics.FPSCounter.prototype.initialize()
Sets up a new instance.
Actions
startTick
method sourceGraphics.FPSCounter.prototype.startTick()
Starts the tick.
endTick
method sourceGraphics.FPSCounter.prototype.endTick(presented = true)
Count new pictures, rather than ticker callbacks which can reuse the same world frame.
Other
switchMode
method sourceGraphics.FPSCounter.prototype.switchMode()
Switch mode.