mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
391 B
TypeScript
21 lines
391 B
TypeScript
// Type definitions for Stats.js r12
|
|
// Project: http://github.com/mrdoob/stats.js
|
|
// Definitions by: Gregory Dalton <https://github.com/gregolai>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare class Stats {
|
|
|
|
REVISION: number;
|
|
|
|
domElement: HTMLDivElement;
|
|
|
|
// 0: fps, 1: ms
|
|
setMode(value: number): void;
|
|
|
|
begin(): void;
|
|
|
|
end(): number;
|
|
|
|
update(): void;
|
|
}
|