1 | interface HTMLCanvasElement extends HTMLElement {
|
2 | getContext(
|
3 | contextId: "webgl2" | "experimental-webgl2",
|
4 | contextAttributes?: WebGLContextAttributes,
|
5 | ): WebGL2RenderingContext | null;
|
6 | }
|
7 |
|
8 | interface ImageBitmap {
|
9 | readonly width: number;
|
10 | readonly height: number;
|
11 | close(): void;
|
12 | }
|
13 |
|
14 | interface WebGLQuery {
|
15 | }
|
16 |
|
17 | declare var WebGLQuery: {
|
18 | prototype: WebGLQuery;
|
19 | new(): WebGLQuery;
|
20 | };
|
21 |
|
22 | interface WebGLSampler {
|
23 | }
|
24 |
|
25 | declare var WebGLSampler: {
|
26 | prototype: WebGLSampler;
|
27 | new(): WebGLSampler;
|
28 | };
|
29 |
|
30 | interface WebGLSync {
|
31 | }
|
32 |
|
33 | declare var WebGLSync: {
|
34 | prototype: WebGLSync;
|
35 | new(): WebGLSync;
|
36 | };
|
37 |
|
38 | interface WebGLTransformFeedback {
|
39 | }
|
40 |
|
41 | declare var WebGLTransformFeedback: {
|
42 | prototype: WebGLTransformFeedback;
|
43 | new(): WebGLTransformFeedback;
|
44 | };
|
45 |
|
46 | interface WebGLVertexArrayObject {
|
47 | }
|
48 |
|
49 | declare var WebGLVertexArrayObject: {
|
50 | prototype: WebGLVertexArrayObject;
|
51 | new(): WebGLVertexArrayObject;
|
52 | };
|