UNPKG

@itwin/frontend-devtools

Version:

Debug menu and supporting UI widgets

20 lines 628 B
/** @packageDocumentation * @module Widgets */ import { Viewport } from "@itwin/core-frontend"; /** 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. * @beta */ export declare class FpsTracker { private readonly _label; private _metrics?; private _curIntervalId?; private readonly _vp; constructor(parent: HTMLElement, viewport: Viewport); [Symbol.dispose](): void; private clearInterval; private toggle; private updateFPS; } //# sourceMappingURL=FpsTracker.d.ts.map