Detector.d.ts

    typescript·声明文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Type definitions for three.js (Detector.js)
// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/Detector.js
// Definitions by: Satoru Kimura
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface DetectorStatic {
canvas: boolean;
webgl: boolean;
workers: boolean;
fileapi: boolean;

getWebGLErrorMessage(): HTMLElement;
addGetWebGLMessage(parameters?: { id?: string; parent?: HTMLElement }): void;
}
declare var Detector: DetectorStatic;

24 Mar 2017

page PV:  ・  site PV:  ・  site UV: