1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00
Oinktube/node_modules/three/examples/jsm/libs/stats.module.d.ts
2023-12-11 11:59:56 -03:00

24 lines
506 B
TypeScript

declare interface Stats {
REVISION: number;
dom: HTMLDivElement;
addPanel( panel: Stats.Panel ): Stats.Panel;
showPanel( id: number ): void;
begin(): void;
end(): void;
update(): void;
domElement: HTMLDivElement;
setMode( id: number ): void;
}
declare function Stats(): Stats;
declare namespace Stats {
interface Panel {
dom: HTMLCanvasElement;
update( value: number, maxValue: number ): void;
}
function Panel( name?: string, fg?: string, bg?: string ): Panel;
}
export default Stats;