FpsTracker Class
Displays average frames-per-second. NOTE: Enabling fps tracking causes a new frame to render on every tick of the render loop, which may negatively impact battery life.
Methods
Name | Description | |
---|---|---|
constructor(parent: HTMLElement, viewport: Viewport): FpsTracker | ||
dispose(): void |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.