google-closure-compiler 20250412.0.0-nightly → 20250413.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +5 -30
  2. package/cli.js +3 -4
  3. package/externs/browser/decorators.js +276 -0
  4. package/externs/browser/deprecated.js +58 -0
  5. package/externs/browser/es6_proxy.js +143 -0
  6. package/externs/browser/fetchapi.js +449 -0
  7. package/externs/browser/fido.js +94 -0
  8. package/externs/browser/flash.js +226 -0
  9. package/externs/browser/gecko_css.js +126 -0
  10. package/externs/browser/gecko_dom.js +479 -0
  11. package/externs/browser/gecko_event.js +86 -0
  12. package/externs/browser/gecko_xml.js +73 -0
  13. package/externs/browser/google_legacy.js +31 -0
  14. package/externs/browser/html5.js +6647 -0
  15. package/externs/browser/ie_css.js +270 -0
  16. package/externs/browser/ie_dom.js +1232 -0
  17. package/externs/browser/ie_event.js +310 -0
  18. package/externs/browser/ie_vml.js +77 -0
  19. package/externs/browser/intersection_observer.js +178 -0
  20. package/externs/browser/intl.js +602 -0
  21. package/externs/browser/iphone.js +204 -0
  22. package/externs/browser/mediakeys.js +305 -0
  23. package/externs/browser/mediasource.js +155 -0
  24. package/externs/browser/nonstandard_anim_timing.js +97 -0
  25. package/externs/browser/nonstandard_audio.js +82 -0
  26. package/externs/browser/nonstandard_console.js +75 -0
  27. package/externs/browser/nonstandard_fileapi.js +1066 -0
  28. package/externs/browser/nonstandard_indexeddb.js +78 -0
  29. package/externs/browser/nonstandard_navigation_timing.js +38 -0
  30. package/externs/browser/nonstandard_selection.js +80 -0
  31. package/externs/browser/page_visibility.js +28 -0
  32. package/externs/browser/streamsapi.js +593 -0
  33. package/externs/browser/svg.js +10016 -0
  34. package/externs/browser/url.js +202 -0
  35. package/externs/browser/v8.js +134 -0
  36. package/externs/browser/w3c_abort.js +89 -0
  37. package/externs/browser/w3c_anim_timing.js +49 -0
  38. package/externs/browser/w3c_aria_mixin.js +286 -0
  39. package/externs/browser/w3c_audio.js +1660 -0
  40. package/externs/browser/w3c_batterystatus.js +85 -0
  41. package/externs/browser/w3c_clipboard.js +74 -0
  42. package/externs/browser/w3c_clipboardevent.js +47 -0
  43. package/externs/browser/w3c_composition_event.js +93 -0
  44. package/externs/browser/w3c_css.js +3790 -0
  45. package/externs/browser/w3c_css3d.js +199 -0
  46. package/externs/browser/w3c_device_sensor_event.js +122 -0
  47. package/externs/browser/w3c_dom1.js +1160 -0
  48. package/externs/browser/w3c_dom2.js +3151 -0
  49. package/externs/browser/w3c_dom3.js +555 -0
  50. package/externs/browser/w3c_dom4.js +289 -0
  51. package/externs/browser/w3c_elementtraversal.js +116 -0
  52. package/externs/browser/w3c_event.js +607 -0
  53. package/externs/browser/w3c_event3.js +77 -0
  54. package/externs/browser/w3c_eventsource.js +110 -0
  55. package/externs/browser/w3c_fileapi.js +302 -0
  56. package/externs/browser/w3c_gamepad.js +113 -0
  57. package/externs/browser/w3c_geolocation.js +130 -0
  58. package/externs/browser/w3c_geometry1.js +899 -0
  59. package/externs/browser/w3c_indexeddb.js +771 -0
  60. package/externs/browser/w3c_keyboardlock.js +47 -0
  61. package/externs/browser/w3c_mediacapabilities.js +206 -0
  62. package/externs/browser/w3c_midi.js +301 -0
  63. package/externs/browser/w3c_navigation.js +72 -0
  64. package/externs/browser/w3c_navigation_timing.js +437 -0
  65. package/externs/browser/w3c_netinfo.js +85 -0
  66. package/externs/browser/w3c_payment_request.js +401 -0
  67. package/externs/browser/w3c_permissions.js +112 -0
  68. package/externs/browser/w3c_permissions_policy.js +78 -0
  69. package/externs/browser/w3c_pointer_events.js +163 -0
  70. package/externs/browser/w3c_pointerlock.js +63 -0
  71. package/externs/browser/w3c_range.js +284 -0
  72. package/externs/browser/w3c_referrer_policy.js +36 -0
  73. package/externs/browser/w3c_requestidlecallback.js +76 -0
  74. package/externs/browser/w3c_rtc.js +3882 -0
  75. package/externs/browser/w3c_screen_orientation.js +53 -0
  76. package/externs/browser/w3c_screen_wake_lock.js +58 -0
  77. package/externs/browser/w3c_selection.js +209 -0
  78. package/externs/browser/w3c_selectors.js +113 -0
  79. package/externs/browser/w3c_serviceworker.js +739 -0
  80. package/externs/browser/w3c_speech.js +426 -0
  81. package/externs/browser/w3c_touch_event.js +296 -0
  82. package/externs/browser/w3c_trusted_types.js +142 -0
  83. package/externs/browser/w3c_vibration.js +38 -0
  84. package/externs/browser/w3c_webcodecs.js +1473 -0
  85. package/externs/browser/w3c_webcrypto.js +839 -0
  86. package/externs/browser/w3c_worklets.js +54 -0
  87. package/externs/browser/w3c_xml.js +533 -0
  88. package/externs/browser/web_animations.js +452 -0
  89. package/externs/browser/web_app_manifest.js +50 -0
  90. package/externs/browser/webassembly.js +223 -0
  91. package/externs/browser/webgl.js +3409 -0
  92. package/externs/browser/webgl2.js +2727 -0
  93. package/externs/browser/webgl2_compute.js +1609 -0
  94. package/externs/browser/webkit_css.js +456 -0
  95. package/externs/browser/webkit_dom.js +118 -0
  96. package/externs/browser/webkit_event.js +46 -0
  97. package/externs/browser/webkit_notifications.js +258 -0
  98. package/externs/browser/webkit_usercontent.js +55 -0
  99. package/externs/browser/weblocksapi.js +125 -0
  100. package/externs/browser/webstorage.js +171 -0
  101. package/externs/browser/whatwg_bitmap_context.js +37 -0
  102. package/externs/browser/whatwg_console.js +152 -0
  103. package/externs/browser/whatwg_encoding.js +99 -0
  104. package/externs/browser/whatwg_file_system.js +296 -0
  105. package/externs/browser/wicg_attribution_reporting.js +42 -0
  106. package/externs/browser/wicg_compression_stream.js +60 -0
  107. package/externs/browser/wicg_constructable_stylesheets.js +60 -0
  108. package/externs/browser/wicg_entries.js +169 -0
  109. package/externs/browser/wicg_file_handling.js +41 -0
  110. package/externs/browser/wicg_file_system_access.js +191 -0
  111. package/externs/browser/wicg_floc.js +41 -0
  112. package/externs/browser/wicg_ink.js +89 -0
  113. package/externs/browser/wicg_resizeobserver.js +100 -0
  114. package/externs/browser/wicg_scheduler.js +62 -0
  115. package/externs/browser/wicg_trust_token.js +89 -0
  116. package/externs/browser/wicg_uach.js +100 -0
  117. package/externs/browser/window.js +190 -0
  118. package/externs/es3.js +2716 -0
  119. package/externs/es5.js +284 -0
  120. package/externs/es6.js +2554 -0
  121. package/externs/es6_collections.js +323 -0
  122. package/index.js +13 -16
  123. package/lib/grunt/index.js +71 -92
  124. package/lib/grunt/vinyl-stream.js +12 -18
  125. package/lib/gulp/concat-to-json.js +30 -18
  126. package/lib/gulp/index.js +174 -181
  127. package/lib/gulp/json-to-vinyl.js +8 -8
  128. package/lib/node/{closure-compiler.js → index.js} +27 -51
  129. package/lib/utils.js +16 -14
  130. package/package.json +19 -16
  131. package/lib/logger.js +0 -89
@@ -0,0 +1,3409 @@
1
+ /*
2
+ * Copyright 2010 The Closure Compiler Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /**
18
+ * @fileoverview Definitions for WebGL functions as described at
19
+ * http://www.khronos.org/registry/webgl/specs/latest/
20
+ *
21
+ * This file is current up to the WebGL 1.0.1 spec, including extensions.
22
+ *
23
+ * This relies on html5.js being included for Canvas and Typed Array support.
24
+ *
25
+ * This includes some extensions defined at
26
+ * http://www.khronos.org/registry/webgl/extensions/
27
+ *
28
+ * @externs
29
+ */
30
+
31
+
32
+ /**
33
+ * @typedef {ImageBitmap|ImageData|HTMLImageElement|HTMLCanvasElement|
34
+ * HTMLVideoElement|OffscreenCanvas}
35
+ */
36
+ var TexImageSource;
37
+
38
+ /**
39
+ * @constructor
40
+ */
41
+ function WebGLRenderingContext() {}
42
+
43
+
44
+ /** @const {number} */
45
+ WebGLRenderingContext.DEPTH_BUFFER_BIT;
46
+
47
+ /** @const {number} */
48
+ WebGLRenderingContext.STENCIL_BUFFER_BIT;
49
+
50
+ /** @const {number} */
51
+ WebGLRenderingContext.COLOR_BUFFER_BIT;
52
+
53
+ /** @const {number} */
54
+ WebGLRenderingContext.POINTS;
55
+
56
+ /** @const {number} */
57
+ WebGLRenderingContext.LINES;
58
+
59
+ /** @const {number} */
60
+ WebGLRenderingContext.LINE_LOOP;
61
+
62
+ /** @const {number} */
63
+ WebGLRenderingContext.LINE_STRIP;
64
+
65
+ /** @const {number} */
66
+ WebGLRenderingContext.TRIANGLES;
67
+
68
+ /** @const {number} */
69
+ WebGLRenderingContext.TRIANGLE_STRIP;
70
+
71
+ /** @const {number} */
72
+ WebGLRenderingContext.TRIANGLE_FAN;
73
+
74
+ /** @const {number} */
75
+ WebGLRenderingContext.ZERO;
76
+
77
+ /** @const {number} */
78
+ WebGLRenderingContext.ONE;
79
+
80
+ /** @const {number} */
81
+ WebGLRenderingContext.SRC_COLOR;
82
+
83
+ /** @const {number} */
84
+ WebGLRenderingContext.ONE_MINUS_SRC_COLOR;
85
+
86
+ /** @const {number} */
87
+ WebGLRenderingContext.SRC_ALPHA;
88
+
89
+ /** @const {number} */
90
+ WebGLRenderingContext.ONE_MINUS_SRC_ALPHA;
91
+
92
+ /** @const {number} */
93
+ WebGLRenderingContext.DST_ALPHA;
94
+
95
+ /** @const {number} */
96
+ WebGLRenderingContext.ONE_MINUS_DST_ALPHA;
97
+
98
+ /** @const {number} */
99
+ WebGLRenderingContext.DST_COLOR;
100
+
101
+ /** @const {number} */
102
+ WebGLRenderingContext.ONE_MINUS_DST_COLOR;
103
+
104
+ /** @const {number} */
105
+ WebGLRenderingContext.SRC_ALPHA_SATURATE;
106
+
107
+ /** @const {number} */
108
+ WebGLRenderingContext.FUNC_ADD;
109
+
110
+ /** @const {number} */
111
+ WebGLRenderingContext.BLEND_EQUATION;
112
+
113
+ /** @const {number} */
114
+ WebGLRenderingContext.BLEND_EQUATION_RGB;
115
+
116
+ /** @const {number} */
117
+ WebGLRenderingContext.BLEND_EQUATION_ALPHA;
118
+
119
+ /** @const {number} */
120
+ WebGLRenderingContext.FUNC_SUBTRACT;
121
+
122
+ /** @const {number} */
123
+ WebGLRenderingContext.FUNC_REVERSE_SUBTRACT;
124
+
125
+ /** @const {number} */
126
+ WebGLRenderingContext.BLEND_DST_RGB;
127
+
128
+ /** @const {number} */
129
+ WebGLRenderingContext.BLEND_SRC_RGB;
130
+
131
+ /** @const {number} */
132
+ WebGLRenderingContext.BLEND_DST_ALPHA;
133
+
134
+ /** @const {number} */
135
+ WebGLRenderingContext.BLEND_SRC_ALPHA;
136
+
137
+ /** @const {number} */
138
+ WebGLRenderingContext.CONSTANT_COLOR;
139
+
140
+ /** @const {number} */
141
+ WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR;
142
+
143
+ /** @const {number} */
144
+ WebGLRenderingContext.CONSTANT_ALPHA;
145
+
146
+ /** @const {number} */
147
+ WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA;
148
+
149
+ /** @const {number} */
150
+ WebGLRenderingContext.BLEND_COLOR;
151
+
152
+ /** @const {number} */
153
+ WebGLRenderingContext.ARRAY_BUFFER;
154
+
155
+ /** @const {number} */
156
+ WebGLRenderingContext.ELEMENT_ARRAY_BUFFER;
157
+
158
+ /** @const {number} */
159
+ WebGLRenderingContext.ARRAY_BUFFER_BINDING;
160
+
161
+ /** @const {number} */
162
+ WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING;
163
+
164
+ /** @const {number} */
165
+ WebGLRenderingContext.STREAM_DRAW;
166
+
167
+ /** @const {number} */
168
+ WebGLRenderingContext.STATIC_DRAW;
169
+
170
+ /** @const {number} */
171
+ WebGLRenderingContext.DYNAMIC_DRAW;
172
+
173
+ /** @const {number} */
174
+ WebGLRenderingContext.BUFFER_SIZE;
175
+
176
+ /** @const {number} */
177
+ WebGLRenderingContext.BUFFER_USAGE;
178
+
179
+ /** @const {number} */
180
+ WebGLRenderingContext.CURRENT_VERTEX_ATTRIB;
181
+
182
+ /** @const {number} */
183
+ WebGLRenderingContext.FRONT;
184
+
185
+ /** @const {number} */
186
+ WebGLRenderingContext.BACK;
187
+
188
+ /** @const {number} */
189
+ WebGLRenderingContext.FRONT_AND_BACK;
190
+
191
+ /** @const {number} */
192
+ WebGLRenderingContext.CULL_FACE;
193
+
194
+ /** @const {number} */
195
+ WebGLRenderingContext.BLEND;
196
+
197
+ /** @const {number} */
198
+ WebGLRenderingContext.DITHER;
199
+
200
+ /** @const {number} */
201
+ WebGLRenderingContext.STENCIL_TEST;
202
+
203
+ /** @const {number} */
204
+ WebGLRenderingContext.DEPTH_TEST;
205
+
206
+ /** @const {number} */
207
+ WebGLRenderingContext.SCISSOR_TEST;
208
+
209
+ /** @const {number} */
210
+ WebGLRenderingContext.POLYGON_OFFSET_FILL;
211
+
212
+ /** @const {number} */
213
+ WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE;
214
+
215
+ /** @const {number} */
216
+ WebGLRenderingContext.SAMPLE_COVERAGE;
217
+
218
+ /** @const {number} */
219
+ WebGLRenderingContext.NO_ERROR;
220
+
221
+ /** @const {number} */
222
+ WebGLRenderingContext.INVALID_ENUM;
223
+
224
+ /** @const {number} */
225
+ WebGLRenderingContext.INVALID_VALUE;
226
+
227
+ /** @const {number} */
228
+ WebGLRenderingContext.INVALID_OPERATION;
229
+
230
+ /** @const {number} */
231
+ WebGLRenderingContext.OUT_OF_MEMORY;
232
+
233
+ /** @const {number} */
234
+ WebGLRenderingContext.CW;
235
+
236
+ /** @const {number} */
237
+ WebGLRenderingContext.CCW;
238
+
239
+ /** @const {number} */
240
+ WebGLRenderingContext.LINE_WIDTH;
241
+
242
+ /** @const {number} */
243
+ WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE;
244
+
245
+ /** @const {number} */
246
+ WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE;
247
+
248
+ /** @const {number} */
249
+ WebGLRenderingContext.CULL_FACE_MODE;
250
+
251
+ /** @const {number} */
252
+ WebGLRenderingContext.FRONT_FACE;
253
+
254
+ /** @const {number} */
255
+ WebGLRenderingContext.DEPTH_RANGE;
256
+
257
+ /** @const {number} */
258
+ WebGLRenderingContext.DEPTH_WRITEMASK;
259
+
260
+ /** @const {number} */
261
+ WebGLRenderingContext.DEPTH_CLEAR_VALUE;
262
+
263
+ /** @const {number} */
264
+ WebGLRenderingContext.DEPTH_FUNC;
265
+
266
+ /** @const {number} */
267
+ WebGLRenderingContext.STENCIL_CLEAR_VALUE;
268
+
269
+ /** @const {number} */
270
+ WebGLRenderingContext.STENCIL_FUNC;
271
+
272
+ /** @const {number} */
273
+ WebGLRenderingContext.STENCIL_FAIL;
274
+
275
+ /** @const {number} */
276
+ WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL;
277
+
278
+ /** @const {number} */
279
+ WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS;
280
+
281
+ /** @const {number} */
282
+ WebGLRenderingContext.STENCIL_REF;
283
+
284
+ /** @const {number} */
285
+ WebGLRenderingContext.STENCIL_VALUE_MASK;
286
+
287
+ /** @const {number} */
288
+ WebGLRenderingContext.STENCIL_WRITEMASK;
289
+
290
+ /** @const {number} */
291
+ WebGLRenderingContext.STENCIL_BACK_FUNC;
292
+
293
+ /** @const {number} */
294
+ WebGLRenderingContext.STENCIL_BACK_FAIL;
295
+
296
+ /** @const {number} */
297
+ WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL;
298
+
299
+ /** @const {number} */
300
+ WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS;
301
+
302
+ /** @const {number} */
303
+ WebGLRenderingContext.STENCIL_BACK_REF;
304
+
305
+ /** @const {number} */
306
+ WebGLRenderingContext.STENCIL_BACK_VALUE_MASK;
307
+
308
+ /** @const {number} */
309
+ WebGLRenderingContext.STENCIL_BACK_WRITEMASK;
310
+
311
+ /** @const {number} */
312
+ WebGLRenderingContext.VIEWPORT;
313
+
314
+ /** @const {number} */
315
+ WebGLRenderingContext.SCISSOR_BOX;
316
+
317
+ /** @const {number} */
318
+ WebGLRenderingContext.COLOR_CLEAR_VALUE;
319
+
320
+ /** @const {number} */
321
+ WebGLRenderingContext.COLOR_WRITEMASK;
322
+
323
+ /** @const {number} */
324
+ WebGLRenderingContext.UNPACK_ALIGNMENT;
325
+
326
+ /** @const {number} */
327
+ WebGLRenderingContext.PACK_ALIGNMENT;
328
+
329
+ /** @const {number} */
330
+ WebGLRenderingContext.MAX_TEXTURE_SIZE;
331
+
332
+ /** @const {number} */
333
+ WebGLRenderingContext.MAX_VIEWPORT_DIMS;
334
+
335
+ /** @const {number} */
336
+ WebGLRenderingContext.SUBPIXEL_BITS;
337
+
338
+ /** @const {number} */
339
+ WebGLRenderingContext.RED_BITS;
340
+
341
+ /** @const {number} */
342
+ WebGLRenderingContext.GREEN_BITS;
343
+
344
+ /** @const {number} */
345
+ WebGLRenderingContext.BLUE_BITS;
346
+
347
+ /** @const {number} */
348
+ WebGLRenderingContext.ALPHA_BITS;
349
+
350
+ /** @const {number} */
351
+ WebGLRenderingContext.DEPTH_BITS;
352
+
353
+ /** @const {number} */
354
+ WebGLRenderingContext.STENCIL_BITS;
355
+
356
+ /** @const {number} */
357
+ WebGLRenderingContext.POLYGON_OFFSET_UNITS;
358
+
359
+ /** @const {number} */
360
+ WebGLRenderingContext.POLYGON_OFFSET_FACTOR;
361
+
362
+ /** @const {number} */
363
+ WebGLRenderingContext.TEXTURE_BINDING_2D;
364
+
365
+ /** @const {number} */
366
+ WebGLRenderingContext.SAMPLE_BUFFERS;
367
+
368
+ /** @const {number} */
369
+ WebGLRenderingContext.SAMPLES;
370
+
371
+ /** @const {number} */
372
+ WebGLRenderingContext.SAMPLE_COVERAGE_VALUE;
373
+
374
+ /** @const {number} */
375
+ WebGLRenderingContext.SAMPLE_COVERAGE_INVERT;
376
+
377
+ /** @const {number} */
378
+ WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS;
379
+
380
+ /** @const {number} */
381
+ WebGLRenderingContext.DONT_CARE;
382
+
383
+ /** @const {number} */
384
+ WebGLRenderingContext.FASTEST;
385
+
386
+ /** @const {number} */
387
+ WebGLRenderingContext.NICEST;
388
+
389
+ /** @const {number} */
390
+ WebGLRenderingContext.GENERATE_MIPMAP_HINT;
391
+
392
+ /** @const {number} */
393
+ WebGLRenderingContext.BYTE;
394
+
395
+ /** @const {number} */
396
+ WebGLRenderingContext.UNSIGNED_BYTE;
397
+
398
+ /** @const {number} */
399
+ WebGLRenderingContext.SHORT;
400
+
401
+ /** @const {number} */
402
+ WebGLRenderingContext.UNSIGNED_SHORT;
403
+
404
+ /** @const {number} */
405
+ WebGLRenderingContext.INT;
406
+
407
+ /** @const {number} */
408
+ WebGLRenderingContext.UNSIGNED_INT;
409
+
410
+ /** @const {number} */
411
+ WebGLRenderingContext.FLOAT;
412
+
413
+ /** @const {number} */
414
+ WebGLRenderingContext.DEPTH_COMPONENT;
415
+
416
+ /** @const {number} */
417
+ WebGLRenderingContext.ALPHA;
418
+
419
+ /** @const {number} */
420
+ WebGLRenderingContext.RGB;
421
+
422
+ /** @const {number} */
423
+ WebGLRenderingContext.RGBA;
424
+
425
+ /** @const {number} */
426
+ WebGLRenderingContext.LUMINANCE;
427
+
428
+ /** @const {number} */
429
+ WebGLRenderingContext.LUMINANCE_ALPHA;
430
+
431
+ /** @const {number} */
432
+ WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4;
433
+
434
+ /** @const {number} */
435
+ WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1;
436
+
437
+ /** @const {number} */
438
+ WebGLRenderingContext.UNSIGNED_SHORT_5_6_5;
439
+
440
+ /** @const {number} */
441
+ WebGLRenderingContext.FRAGMENT_SHADER;
442
+
443
+ /** @const {number} */
444
+ WebGLRenderingContext.VERTEX_SHADER;
445
+
446
+ /** @const {number} */
447
+ WebGLRenderingContext.MAX_VERTEX_ATTRIBS;
448
+
449
+ /** @const {number} */
450
+ WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS;
451
+
452
+ /** @const {number} */
453
+ WebGLRenderingContext.MAX_VARYING_VECTORS;
454
+
455
+ /** @const {number} */
456
+ WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS;
457
+
458
+ /** @const {number} */
459
+ WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS;
460
+
461
+ /** @const {number} */
462
+ WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS;
463
+
464
+ /** @const {number} */
465
+ WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS;
466
+
467
+ /** @const {number} */
468
+ WebGLRenderingContext.SHADER_TYPE;
469
+
470
+ /** @const {number} */
471
+ WebGLRenderingContext.DELETE_STATUS;
472
+
473
+ /** @const {number} */
474
+ WebGLRenderingContext.LINK_STATUS;
475
+
476
+ /** @const {number} */
477
+ WebGLRenderingContext.VALIDATE_STATUS;
478
+
479
+ /** @const {number} */
480
+ WebGLRenderingContext.ATTACHED_SHADERS;
481
+
482
+ /** @const {number} */
483
+ WebGLRenderingContext.ACTIVE_UNIFORMS;
484
+
485
+ /** @const {number} */
486
+ WebGLRenderingContext.ACTIVE_ATTRIBUTES;
487
+
488
+ /** @const {number} */
489
+ WebGLRenderingContext.SHADING_LANGUAGE_VERSION;
490
+
491
+ /** @const {number} */
492
+ WebGLRenderingContext.CURRENT_PROGRAM;
493
+
494
+ /** @const {number} */
495
+ WebGLRenderingContext.NEVER;
496
+
497
+ /** @const {number} */
498
+ WebGLRenderingContext.LESS;
499
+
500
+ /** @const {number} */
501
+ WebGLRenderingContext.EQUAL;
502
+
503
+ /** @const {number} */
504
+ WebGLRenderingContext.LEQUAL;
505
+
506
+ /** @const {number} */
507
+ WebGLRenderingContext.GREATER;
508
+
509
+ /** @const {number} */
510
+ WebGLRenderingContext.NOTEQUAL;
511
+
512
+ /** @const {number} */
513
+ WebGLRenderingContext.GEQUAL;
514
+
515
+ /** @const {number} */
516
+ WebGLRenderingContext.ALWAYS;
517
+
518
+ /** @const {number} */
519
+ WebGLRenderingContext.KEEP;
520
+
521
+ /** @const {number} */
522
+ WebGLRenderingContext.REPLACE;
523
+
524
+ /** @const {number} */
525
+ WebGLRenderingContext.INCR;
526
+
527
+ /** @const {number} */
528
+ WebGLRenderingContext.DECR;
529
+
530
+ /** @const {number} */
531
+ WebGLRenderingContext.INVERT;
532
+
533
+ /** @const {number} */
534
+ WebGLRenderingContext.INCR_WRAP;
535
+
536
+ /** @const {number} */
537
+ WebGLRenderingContext.DECR_WRAP;
538
+
539
+ /** @const {number} */
540
+ WebGLRenderingContext.VENDOR;
541
+
542
+ /** @const {number} */
543
+ WebGLRenderingContext.RENDERER;
544
+
545
+ /** @const {number} */
546
+ WebGLRenderingContext.VERSION;
547
+
548
+ /** @const {number} */
549
+ WebGLRenderingContext.NEAREST;
550
+
551
+ /** @const {number} */
552
+ WebGLRenderingContext.LINEAR;
553
+
554
+ /** @const {number} */
555
+ WebGLRenderingContext.NEAREST_MIPMAP_NEAREST;
556
+
557
+ /** @const {number} */
558
+ WebGLRenderingContext.LINEAR_MIPMAP_NEAREST;
559
+
560
+ /** @const {number} */
561
+ WebGLRenderingContext.NEAREST_MIPMAP_LINEAR;
562
+
563
+ /** @const {number} */
564
+ WebGLRenderingContext.LINEAR_MIPMAP_LINEAR;
565
+
566
+ /** @const {number} */
567
+ WebGLRenderingContext.TEXTURE_MAG_FILTER;
568
+
569
+ /** @const {number} */
570
+ WebGLRenderingContext.TEXTURE_MIN_FILTER;
571
+
572
+ /** @const {number} */
573
+ WebGLRenderingContext.TEXTURE_WRAP_S;
574
+
575
+ /** @const {number} */
576
+ WebGLRenderingContext.TEXTURE_WRAP_T;
577
+
578
+ /** @const {number} */
579
+ WebGLRenderingContext.TEXTURE_2D;
580
+
581
+ /** @const {number} */
582
+ WebGLRenderingContext.TEXTURE;
583
+
584
+ /** @const {number} */
585
+ WebGLRenderingContext.TEXTURE_CUBE_MAP;
586
+
587
+ /** @const {number} */
588
+ WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP;
589
+
590
+ /** @const {number} */
591
+ WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X;
592
+
593
+ /** @const {number} */
594
+ WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X;
595
+
596
+ /** @const {number} */
597
+ WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y;
598
+
599
+ /** @const {number} */
600
+ WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y;
601
+
602
+ /** @const {number} */
603
+ WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z;
604
+
605
+ /** @const {number} */
606
+ WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z;
607
+
608
+ /** @const {number} */
609
+ WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE;
610
+
611
+ /** @const {number} */
612
+ WebGLRenderingContext.TEXTURE0;
613
+
614
+ /** @const {number} */
615
+ WebGLRenderingContext.TEXTURE1;
616
+
617
+ /** @const {number} */
618
+ WebGLRenderingContext.TEXTURE2;
619
+
620
+ /** @const {number} */
621
+ WebGLRenderingContext.TEXTURE3;
622
+
623
+ /** @const {number} */
624
+ WebGLRenderingContext.TEXTURE4;
625
+
626
+ /** @const {number} */
627
+ WebGLRenderingContext.TEXTURE5;
628
+
629
+ /** @const {number} */
630
+ WebGLRenderingContext.TEXTURE6;
631
+
632
+ /** @const {number} */
633
+ WebGLRenderingContext.TEXTURE7;
634
+
635
+ /** @const {number} */
636
+ WebGLRenderingContext.TEXTURE8;
637
+
638
+ /** @const {number} */
639
+ WebGLRenderingContext.TEXTURE9;
640
+
641
+ /** @const {number} */
642
+ WebGLRenderingContext.TEXTURE10;
643
+
644
+ /** @const {number} */
645
+ WebGLRenderingContext.TEXTURE11;
646
+
647
+ /** @const {number} */
648
+ WebGLRenderingContext.TEXTURE12;
649
+
650
+ /** @const {number} */
651
+ WebGLRenderingContext.TEXTURE13;
652
+
653
+ /** @const {number} */
654
+ WebGLRenderingContext.TEXTURE14;
655
+
656
+ /** @const {number} */
657
+ WebGLRenderingContext.TEXTURE15;
658
+
659
+ /** @const {number} */
660
+ WebGLRenderingContext.TEXTURE16;
661
+
662
+ /** @const {number} */
663
+ WebGLRenderingContext.TEXTURE17;
664
+
665
+ /** @const {number} */
666
+ WebGLRenderingContext.TEXTURE18;
667
+
668
+ /** @const {number} */
669
+ WebGLRenderingContext.TEXTURE19;
670
+
671
+ /** @const {number} */
672
+ WebGLRenderingContext.TEXTURE20;
673
+
674
+ /** @const {number} */
675
+ WebGLRenderingContext.TEXTURE21;
676
+
677
+ /** @const {number} */
678
+ WebGLRenderingContext.TEXTURE22;
679
+
680
+ /** @const {number} */
681
+ WebGLRenderingContext.TEXTURE23;
682
+
683
+ /** @const {number} */
684
+ WebGLRenderingContext.TEXTURE24;
685
+
686
+ /** @const {number} */
687
+ WebGLRenderingContext.TEXTURE25;
688
+
689
+ /** @const {number} */
690
+ WebGLRenderingContext.TEXTURE26;
691
+
692
+ /** @const {number} */
693
+ WebGLRenderingContext.TEXTURE27;
694
+
695
+ /** @const {number} */
696
+ WebGLRenderingContext.TEXTURE28;
697
+
698
+ /** @const {number} */
699
+ WebGLRenderingContext.TEXTURE29;
700
+
701
+ /** @const {number} */
702
+ WebGLRenderingContext.TEXTURE30;
703
+
704
+ /** @const {number} */
705
+ WebGLRenderingContext.TEXTURE31;
706
+
707
+ /** @const {number} */
708
+ WebGLRenderingContext.ACTIVE_TEXTURE;
709
+
710
+ /** @const {number} */
711
+ WebGLRenderingContext.REPEAT;
712
+
713
+ /** @const {number} */
714
+ WebGLRenderingContext.CLAMP_TO_EDGE;
715
+
716
+ /** @const {number} */
717
+ WebGLRenderingContext.MIRRORED_REPEAT;
718
+
719
+ /** @const {number} */
720
+ WebGLRenderingContext.FLOAT_VEC2;
721
+
722
+ /** @const {number} */
723
+ WebGLRenderingContext.FLOAT_VEC3;
724
+
725
+ /** @const {number} */
726
+ WebGLRenderingContext.FLOAT_VEC4;
727
+
728
+ /** @const {number} */
729
+ WebGLRenderingContext.INT_VEC2;
730
+
731
+ /** @const {number} */
732
+ WebGLRenderingContext.INT_VEC3;
733
+
734
+ /** @const {number} */
735
+ WebGLRenderingContext.INT_VEC4;
736
+
737
+ /** @const {number} */
738
+ WebGLRenderingContext.BOOL;
739
+
740
+ /** @const {number} */
741
+ WebGLRenderingContext.BOOL_VEC2;
742
+
743
+ /** @const {number} */
744
+ WebGLRenderingContext.BOOL_VEC3;
745
+
746
+ /** @const {number} */
747
+ WebGLRenderingContext.BOOL_VEC4;
748
+
749
+ /** @const {number} */
750
+ WebGLRenderingContext.FLOAT_MAT2;
751
+
752
+ /** @const {number} */
753
+ WebGLRenderingContext.FLOAT_MAT3;
754
+
755
+ /** @const {number} */
756
+ WebGLRenderingContext.FLOAT_MAT4;
757
+
758
+ /** @const {number} */
759
+ WebGLRenderingContext.SAMPLER_2D;
760
+
761
+ /** @const {number} */
762
+ WebGLRenderingContext.SAMPLER_CUBE;
763
+
764
+ /** @const {number} */
765
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED;
766
+
767
+ /** @const {number} */
768
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE;
769
+
770
+ /** @const {number} */
771
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE;
772
+
773
+ /** @const {number} */
774
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE;
775
+
776
+ /** @const {number} */
777
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED;
778
+
779
+ /** @const {number} */
780
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER;
781
+
782
+ /** @const {number} */
783
+ WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
784
+
785
+ /** @const {number} */
786
+ WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT;
787
+
788
+ /** @const {number} */
789
+ WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE;
790
+
791
+ /** @const {number} */
792
+ WebGLRenderingContext.COMPILE_STATUS;
793
+
794
+ /** @const {number} */
795
+ WebGLRenderingContext.LOW_FLOAT;
796
+
797
+ /** @const {number} */
798
+ WebGLRenderingContext.MEDIUM_FLOAT;
799
+
800
+ /** @const {number} */
801
+ WebGLRenderingContext.HIGH_FLOAT;
802
+
803
+ /** @const {number} */
804
+ WebGLRenderingContext.LOW_INT;
805
+
806
+ /** @const {number} */
807
+ WebGLRenderingContext.MEDIUM_INT;
808
+
809
+ /** @const {number} */
810
+ WebGLRenderingContext.HIGH_INT;
811
+
812
+ /** @const {number} */
813
+ WebGLRenderingContext.FRAMEBUFFER;
814
+
815
+ /** @const {number} */
816
+ WebGLRenderingContext.RENDERBUFFER;
817
+
818
+ /** @const {number} */
819
+ WebGLRenderingContext.RGBA4;
820
+
821
+ /** @const {number} */
822
+ WebGLRenderingContext.RGB5_A1;
823
+
824
+ /** @const {number} */
825
+ WebGLRenderingContext.RGB565;
826
+
827
+ /** @const {number} */
828
+ WebGLRenderingContext.DEPTH_COMPONENT16;
829
+
830
+ /** @const {number} */
831
+ WebGLRenderingContext.STENCIL_INDEX;
832
+
833
+ /** @const {number} */
834
+ WebGLRenderingContext.STENCIL_INDEX8;
835
+
836
+ /** @const {number} */
837
+ WebGLRenderingContext.DEPTH_STENCIL;
838
+
839
+ /** @const {number} */
840
+ WebGLRenderingContext.RENDERBUFFER_WIDTH;
841
+
842
+ /** @const {number} */
843
+ WebGLRenderingContext.RENDERBUFFER_HEIGHT;
844
+
845
+ /** @const {number} */
846
+ WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT;
847
+
848
+ /** @const {number} */
849
+ WebGLRenderingContext.RENDERBUFFER_RED_SIZE;
850
+
851
+ /** @const {number} */
852
+ WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE;
853
+
854
+ /** @const {number} */
855
+ WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE;
856
+
857
+ /** @const {number} */
858
+ WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE;
859
+
860
+ /** @const {number} */
861
+ WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE;
862
+
863
+ /** @const {number} */
864
+ WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE;
865
+
866
+ /** @const {number} */
867
+ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
868
+
869
+ /** @const {number} */
870
+ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
871
+
872
+ /** @const {number} */
873
+ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
874
+
875
+ /** @const {number} */
876
+ WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
877
+
878
+ /** @const {number} */
879
+ WebGLRenderingContext.COLOR_ATTACHMENT0;
880
+
881
+ /** @const {number} */
882
+ WebGLRenderingContext.DEPTH_ATTACHMENT;
883
+
884
+ /** @const {number} */
885
+ WebGLRenderingContext.STENCIL_ATTACHMENT;
886
+
887
+ /** @const {number} */
888
+ WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT;
889
+
890
+ /** @const {number} */
891
+ WebGLRenderingContext.NONE;
892
+
893
+ /** @const {number} */
894
+ WebGLRenderingContext.FRAMEBUFFER_COMPLETE;
895
+
896
+ /** @const {number} */
897
+ WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
898
+
899
+ /** @const {number} */
900
+ WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
901
+
902
+ /** @const {number} */
903
+ WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
904
+
905
+ /** @const {number} */
906
+ WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED;
907
+
908
+ /** @const {number} */
909
+ WebGLRenderingContext.FRAMEBUFFER_BINDING;
910
+
911
+ /** @const {number} */
912
+ WebGLRenderingContext.RENDERBUFFER_BINDING;
913
+
914
+ /** @const {number} */
915
+ WebGLRenderingContext.MAX_RENDERBUFFER_SIZE;
916
+
917
+ /** @const {number} */
918
+ WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION;
919
+
920
+ /** @const {number} */
921
+ WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL;
922
+
923
+ /** @const {number} */
924
+ WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL;
925
+
926
+ /** @const {number} */
927
+ WebGLRenderingContext.CONTEXT_LOST_WEBGL;
928
+
929
+ /** @const {number} */
930
+ WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL;
931
+
932
+ /** @const {number} */
933
+ WebGLRenderingContext.BROWSER_DEFAULT_WEBGL;
934
+
935
+
936
+ /** @const {number} */
937
+ WebGLRenderingContext.prototype.DEPTH_BUFFER_BIT;
938
+
939
+ /** @const {number} */
940
+ WebGLRenderingContext.prototype.STENCIL_BUFFER_BIT;
941
+
942
+ /** @const {number} */
943
+ WebGLRenderingContext.prototype.COLOR_BUFFER_BIT;
944
+
945
+ /** @const {number} */
946
+ WebGLRenderingContext.prototype.POINTS;
947
+
948
+ /** @const {number} */
949
+ WebGLRenderingContext.prototype.LINES;
950
+
951
+ /** @const {number} */
952
+ WebGLRenderingContext.prototype.LINE_LOOP;
953
+
954
+ /** @const {number} */
955
+ WebGLRenderingContext.prototype.LINE_STRIP;
956
+
957
+ /** @const {number} */
958
+ WebGLRenderingContext.prototype.TRIANGLES;
959
+
960
+ /** @const {number} */
961
+ WebGLRenderingContext.prototype.TRIANGLE_STRIP;
962
+
963
+ /** @const {number} */
964
+ WebGLRenderingContext.prototype.TRIANGLE_FAN;
965
+
966
+ /** @const {number} */
967
+ WebGLRenderingContext.prototype.ZERO;
968
+
969
+ /** @const {number} */
970
+ WebGLRenderingContext.prototype.ONE;
971
+
972
+ /** @const {number} */
973
+ WebGLRenderingContext.prototype.SRC_COLOR;
974
+
975
+ /** @const {number} */
976
+ WebGLRenderingContext.prototype.ONE_MINUS_SRC_COLOR;
977
+
978
+ /** @const {number} */
979
+ WebGLRenderingContext.prototype.SRC_ALPHA;
980
+
981
+ /** @const {number} */
982
+ WebGLRenderingContext.prototype.ONE_MINUS_SRC_ALPHA;
983
+
984
+ /** @const {number} */
985
+ WebGLRenderingContext.prototype.DST_ALPHA;
986
+
987
+ /** @const {number} */
988
+ WebGLRenderingContext.prototype.ONE_MINUS_DST_ALPHA;
989
+
990
+ /** @const {number} */
991
+ WebGLRenderingContext.prototype.DST_COLOR;
992
+
993
+ /** @const {number} */
994
+ WebGLRenderingContext.prototype.ONE_MINUS_DST_COLOR;
995
+
996
+ /** @const {number} */
997
+ WebGLRenderingContext.prototype.SRC_ALPHA_SATURATE;
998
+
999
+ /** @const {number} */
1000
+ WebGLRenderingContext.prototype.FUNC_ADD;
1001
+
1002
+ /** @const {number} */
1003
+ WebGLRenderingContext.prototype.BLEND_EQUATION;
1004
+
1005
+ /** @const {number} */
1006
+ WebGLRenderingContext.prototype.BLEND_EQUATION_RGB;
1007
+
1008
+ /** @const {number} */
1009
+ WebGLRenderingContext.prototype.BLEND_EQUATION_ALPHA;
1010
+
1011
+ /** @const {number} */
1012
+ WebGLRenderingContext.prototype.FUNC_SUBTRACT;
1013
+
1014
+ /** @const {number} */
1015
+ WebGLRenderingContext.prototype.FUNC_REVERSE_SUBTRACT;
1016
+
1017
+ /** @const {number} */
1018
+ WebGLRenderingContext.prototype.BLEND_DST_RGB;
1019
+
1020
+ /** @const {number} */
1021
+ WebGLRenderingContext.prototype.BLEND_SRC_RGB;
1022
+
1023
+ /** @const {number} */
1024
+ WebGLRenderingContext.prototype.BLEND_DST_ALPHA;
1025
+
1026
+ /** @const {number} */
1027
+ WebGLRenderingContext.prototype.BLEND_SRC_ALPHA;
1028
+
1029
+ /** @const {number} */
1030
+ WebGLRenderingContext.prototype.CONSTANT_COLOR;
1031
+
1032
+ /** @const {number} */
1033
+ WebGLRenderingContext.prototype.ONE_MINUS_CONSTANT_COLOR;
1034
+
1035
+ /** @const {number} */
1036
+ WebGLRenderingContext.prototype.CONSTANT_ALPHA;
1037
+
1038
+ /** @const {number} */
1039
+ WebGLRenderingContext.prototype.ONE_MINUS_CONSTANT_ALPHA;
1040
+
1041
+ /** @const {number} */
1042
+ WebGLRenderingContext.prototype.BLEND_COLOR;
1043
+
1044
+ /** @const {number} */
1045
+ WebGLRenderingContext.prototype.ARRAY_BUFFER;
1046
+
1047
+ /** @const {number} */
1048
+ WebGLRenderingContext.prototype.ELEMENT_ARRAY_BUFFER;
1049
+
1050
+ /** @const {number} */
1051
+ WebGLRenderingContext.prototype.ARRAY_BUFFER_BINDING;
1052
+
1053
+ /** @const {number} */
1054
+ WebGLRenderingContext.prototype.ELEMENT_ARRAY_BUFFER_BINDING;
1055
+
1056
+ /** @const {number} */
1057
+ WebGLRenderingContext.prototype.STREAM_DRAW;
1058
+
1059
+ /** @const {number} */
1060
+ WebGLRenderingContext.prototype.STATIC_DRAW;
1061
+
1062
+ /** @const {number} */
1063
+ WebGLRenderingContext.prototype.DYNAMIC_DRAW;
1064
+
1065
+ /** @const {number} */
1066
+ WebGLRenderingContext.prototype.BUFFER_SIZE;
1067
+
1068
+ /** @const {number} */
1069
+ WebGLRenderingContext.prototype.BUFFER_USAGE;
1070
+
1071
+ /** @const {number} */
1072
+ WebGLRenderingContext.prototype.CURRENT_VERTEX_ATTRIB;
1073
+
1074
+ /** @const {number} */
1075
+ WebGLRenderingContext.prototype.FRONT;
1076
+
1077
+ /** @const {number} */
1078
+ WebGLRenderingContext.prototype.BACK;
1079
+
1080
+ /** @const {number} */
1081
+ WebGLRenderingContext.prototype.FRONT_AND_BACK;
1082
+
1083
+ /** @const {number} */
1084
+ WebGLRenderingContext.prototype.CULL_FACE;
1085
+
1086
+ /** @const {number} */
1087
+ WebGLRenderingContext.prototype.BLEND;
1088
+
1089
+ /** @const {number} */
1090
+ WebGLRenderingContext.prototype.DITHER;
1091
+
1092
+ /** @const {number} */
1093
+ WebGLRenderingContext.prototype.STENCIL_TEST;
1094
+
1095
+ /** @const {number} */
1096
+ WebGLRenderingContext.prototype.DEPTH_TEST;
1097
+
1098
+ /** @const {number} */
1099
+ WebGLRenderingContext.prototype.SCISSOR_TEST;
1100
+
1101
+ /** @const {number} */
1102
+ WebGLRenderingContext.prototype.POLYGON_OFFSET_FILL;
1103
+
1104
+ /** @const {number} */
1105
+ WebGLRenderingContext.prototype.SAMPLE_ALPHA_TO_COVERAGE;
1106
+
1107
+ /** @const {number} */
1108
+ WebGLRenderingContext.prototype.SAMPLE_COVERAGE;
1109
+
1110
+ /** @const {number} */
1111
+ WebGLRenderingContext.prototype.NO_ERROR;
1112
+
1113
+ /** @const {number} */
1114
+ WebGLRenderingContext.prototype.INVALID_ENUM;
1115
+
1116
+ /** @const {number} */
1117
+ WebGLRenderingContext.prototype.INVALID_VALUE;
1118
+
1119
+ /** @const {number} */
1120
+ WebGLRenderingContext.prototype.INVALID_OPERATION;
1121
+
1122
+ /** @const {number} */
1123
+ WebGLRenderingContext.prototype.OUT_OF_MEMORY;
1124
+
1125
+ /** @const {number} */
1126
+ WebGLRenderingContext.prototype.CW;
1127
+
1128
+ /** @const {number} */
1129
+ WebGLRenderingContext.prototype.CCW;
1130
+
1131
+ /** @const {number} */
1132
+ WebGLRenderingContext.prototype.LINE_WIDTH;
1133
+
1134
+ /** @const {number} */
1135
+ WebGLRenderingContext.prototype.ALIASED_POINT_SIZE_RANGE;
1136
+
1137
+ /** @const {number} */
1138
+ WebGLRenderingContext.prototype.ALIASED_LINE_WIDTH_RANGE;
1139
+
1140
+ /** @const {number} */
1141
+ WebGLRenderingContext.prototype.CULL_FACE_MODE;
1142
+
1143
+ /** @const {number} */
1144
+ WebGLRenderingContext.prototype.FRONT_FACE;
1145
+
1146
+ /** @const {number} */
1147
+ WebGLRenderingContext.prototype.DEPTH_RANGE;
1148
+
1149
+ /** @const {number} */
1150
+ WebGLRenderingContext.prototype.DEPTH_WRITEMASK;
1151
+
1152
+ /** @const {number} */
1153
+ WebGLRenderingContext.prototype.DEPTH_CLEAR_VALUE;
1154
+
1155
+ /** @const {number} */
1156
+ WebGLRenderingContext.prototype.DEPTH_FUNC;
1157
+
1158
+ /** @const {number} */
1159
+ WebGLRenderingContext.prototype.STENCIL_CLEAR_VALUE;
1160
+
1161
+ /** @const {number} */
1162
+ WebGLRenderingContext.prototype.STENCIL_FUNC;
1163
+
1164
+ /** @const {number} */
1165
+ WebGLRenderingContext.prototype.STENCIL_FAIL;
1166
+
1167
+ /** @const {number} */
1168
+ WebGLRenderingContext.prototype.STENCIL_PASS_DEPTH_FAIL;
1169
+
1170
+ /** @const {number} */
1171
+ WebGLRenderingContext.prototype.STENCIL_PASS_DEPTH_PASS;
1172
+
1173
+ /** @const {number} */
1174
+ WebGLRenderingContext.prototype.STENCIL_REF;
1175
+
1176
+ /** @const {number} */
1177
+ WebGLRenderingContext.prototype.STENCIL_VALUE_MASK;
1178
+
1179
+ /** @const {number} */
1180
+ WebGLRenderingContext.prototype.STENCIL_WRITEMASK;
1181
+
1182
+ /** @const {number} */
1183
+ WebGLRenderingContext.prototype.STENCIL_BACK_FUNC;
1184
+
1185
+ /** @const {number} */
1186
+ WebGLRenderingContext.prototype.STENCIL_BACK_FAIL;
1187
+
1188
+ /** @const {number} */
1189
+ WebGLRenderingContext.prototype.STENCIL_BACK_PASS_DEPTH_FAIL;
1190
+
1191
+ /** @const {number} */
1192
+ WebGLRenderingContext.prototype.STENCIL_BACK_PASS_DEPTH_PASS;
1193
+
1194
+ /** @const {number} */
1195
+ WebGLRenderingContext.prototype.STENCIL_BACK_REF;
1196
+
1197
+ /** @const {number} */
1198
+ WebGLRenderingContext.prototype.STENCIL_BACK_VALUE_MASK;
1199
+
1200
+ /** @const {number} */
1201
+ WebGLRenderingContext.prototype.STENCIL_BACK_WRITEMASK;
1202
+
1203
+ /** @const {number} */
1204
+ WebGLRenderingContext.prototype.VIEWPORT;
1205
+
1206
+ /** @const {number} */
1207
+ WebGLRenderingContext.prototype.SCISSOR_BOX;
1208
+
1209
+ /** @const {number} */
1210
+ WebGLRenderingContext.prototype.COLOR_CLEAR_VALUE;
1211
+
1212
+ /** @const {number} */
1213
+ WebGLRenderingContext.prototype.COLOR_WRITEMASK;
1214
+
1215
+ /** @const {number} */
1216
+ WebGLRenderingContext.prototype.UNPACK_ALIGNMENT;
1217
+
1218
+ /** @const {number} */
1219
+ WebGLRenderingContext.prototype.PACK_ALIGNMENT;
1220
+
1221
+ /** @const {number} */
1222
+ WebGLRenderingContext.prototype.MAX_TEXTURE_SIZE;
1223
+
1224
+ /** @const {number} */
1225
+ WebGLRenderingContext.prototype.MAX_VIEWPORT_DIMS;
1226
+
1227
+ /** @const {number} */
1228
+ WebGLRenderingContext.prototype.SUBPIXEL_BITS;
1229
+
1230
+ /** @const {number} */
1231
+ WebGLRenderingContext.prototype.RED_BITS;
1232
+
1233
+ /** @const {number} */
1234
+ WebGLRenderingContext.prototype.GREEN_BITS;
1235
+
1236
+ /** @const {number} */
1237
+ WebGLRenderingContext.prototype.BLUE_BITS;
1238
+
1239
+ /** @const {number} */
1240
+ WebGLRenderingContext.prototype.ALPHA_BITS;
1241
+
1242
+ /** @const {number} */
1243
+ WebGLRenderingContext.prototype.DEPTH_BITS;
1244
+
1245
+ /** @const {number} */
1246
+ WebGLRenderingContext.prototype.STENCIL_BITS;
1247
+
1248
+ /** @const {number} */
1249
+ WebGLRenderingContext.prototype.POLYGON_OFFSET_UNITS;
1250
+
1251
+ /** @const {number} */
1252
+ WebGLRenderingContext.prototype.POLYGON_OFFSET_FACTOR;
1253
+
1254
+ /** @const {number} */
1255
+ WebGLRenderingContext.prototype.TEXTURE_BINDING_2D;
1256
+
1257
+ /** @const {number} */
1258
+ WebGLRenderingContext.prototype.SAMPLE_BUFFERS;
1259
+
1260
+ /** @const {number} */
1261
+ WebGLRenderingContext.prototype.SAMPLES;
1262
+
1263
+ /** @const {number} */
1264
+ WebGLRenderingContext.prototype.SAMPLE_COVERAGE_VALUE;
1265
+
1266
+ /** @const {number} */
1267
+ WebGLRenderingContext.prototype.SAMPLE_COVERAGE_INVERT;
1268
+
1269
+ /** @const {number} */
1270
+ WebGLRenderingContext.prototype.COMPRESSED_TEXTURE_FORMATS;
1271
+
1272
+ /** @const {number} */
1273
+ WebGLRenderingContext.prototype.DONT_CARE;
1274
+
1275
+ /** @const {number} */
1276
+ WebGLRenderingContext.prototype.FASTEST;
1277
+
1278
+ /** @const {number} */
1279
+ WebGLRenderingContext.prototype.NICEST;
1280
+
1281
+ /** @const {number} */
1282
+ WebGLRenderingContext.prototype.GENERATE_MIPMAP_HINT;
1283
+
1284
+ /** @const {number} */
1285
+ WebGLRenderingContext.prototype.BYTE;
1286
+
1287
+ /** @const {number} */
1288
+ WebGLRenderingContext.prototype.UNSIGNED_BYTE;
1289
+
1290
+ /** @const {number} */
1291
+ WebGLRenderingContext.prototype.SHORT;
1292
+
1293
+ /** @const {number} */
1294
+ WebGLRenderingContext.prototype.UNSIGNED_SHORT;
1295
+
1296
+ /** @const {number} */
1297
+ WebGLRenderingContext.prototype.INT;
1298
+
1299
+ /** @const {number} */
1300
+ WebGLRenderingContext.prototype.UNSIGNED_INT;
1301
+
1302
+ /** @const {number} */
1303
+ WebGLRenderingContext.prototype.FLOAT;
1304
+
1305
+ /** @const {number} */
1306
+ WebGLRenderingContext.prototype.DEPTH_COMPONENT;
1307
+
1308
+ /** @const {number} */
1309
+ WebGLRenderingContext.prototype.ALPHA;
1310
+
1311
+ /** @const {number} */
1312
+ WebGLRenderingContext.prototype.RGB;
1313
+
1314
+ /** @const {number} */
1315
+ WebGLRenderingContext.prototype.RGBA;
1316
+
1317
+ /** @const {number} */
1318
+ WebGLRenderingContext.prototype.LUMINANCE;
1319
+
1320
+ /** @const {number} */
1321
+ WebGLRenderingContext.prototype.LUMINANCE_ALPHA;
1322
+
1323
+ /** @const {number} */
1324
+ WebGLRenderingContext.prototype.UNSIGNED_SHORT_4_4_4_4;
1325
+
1326
+ /** @const {number} */
1327
+ WebGLRenderingContext.prototype.UNSIGNED_SHORT_5_5_5_1;
1328
+
1329
+ /** @const {number} */
1330
+ WebGLRenderingContext.prototype.UNSIGNED_SHORT_5_6_5;
1331
+
1332
+ /** @const {number} */
1333
+ WebGLRenderingContext.prototype.FRAGMENT_SHADER;
1334
+
1335
+ /** @const {number} */
1336
+ WebGLRenderingContext.prototype.VERTEX_SHADER;
1337
+
1338
+ /** @const {number} */
1339
+ WebGLRenderingContext.prototype.MAX_VERTEX_ATTRIBS;
1340
+
1341
+ /** @const {number} */
1342
+ WebGLRenderingContext.prototype.MAX_VERTEX_UNIFORM_VECTORS;
1343
+
1344
+ /** @const {number} */
1345
+ WebGLRenderingContext.prototype.MAX_VARYING_VECTORS;
1346
+
1347
+ /** @const {number} */
1348
+ WebGLRenderingContext.prototype.MAX_COMBINED_TEXTURE_IMAGE_UNITS;
1349
+
1350
+ /** @const {number} */
1351
+ WebGLRenderingContext.prototype.MAX_VERTEX_TEXTURE_IMAGE_UNITS;
1352
+
1353
+ /** @const {number} */
1354
+ WebGLRenderingContext.prototype.MAX_TEXTURE_IMAGE_UNITS;
1355
+
1356
+ /** @const {number} */
1357
+ WebGLRenderingContext.prototype.MAX_FRAGMENT_UNIFORM_VECTORS;
1358
+
1359
+ /** @const {number} */
1360
+ WebGLRenderingContext.prototype.SHADER_TYPE;
1361
+
1362
+ /** @const {number} */
1363
+ WebGLRenderingContext.prototype.DELETE_STATUS;
1364
+
1365
+ /** @const {number} */
1366
+ WebGLRenderingContext.prototype.LINK_STATUS;
1367
+
1368
+ /** @const {number} */
1369
+ WebGLRenderingContext.prototype.VALIDATE_STATUS;
1370
+
1371
+ /** @const {number} */
1372
+ WebGLRenderingContext.prototype.ATTACHED_SHADERS;
1373
+
1374
+ /** @const {number} */
1375
+ WebGLRenderingContext.prototype.ACTIVE_UNIFORMS;
1376
+
1377
+ /** @const {number} */
1378
+ WebGLRenderingContext.prototype.ACTIVE_ATTRIBUTES;
1379
+
1380
+ /** @const {number} */
1381
+ WebGLRenderingContext.prototype.SHADING_LANGUAGE_VERSION;
1382
+
1383
+ /** @const {number} */
1384
+ WebGLRenderingContext.prototype.CURRENT_PROGRAM;
1385
+
1386
+ /** @const {number} */
1387
+ WebGLRenderingContext.prototype.NEVER;
1388
+
1389
+ /** @const {number} */
1390
+ WebGLRenderingContext.prototype.LESS;
1391
+
1392
+ /** @const {number} */
1393
+ WebGLRenderingContext.prototype.EQUAL;
1394
+
1395
+ /** @const {number} */
1396
+ WebGLRenderingContext.prototype.LEQUAL;
1397
+
1398
+ /** @const {number} */
1399
+ WebGLRenderingContext.prototype.GREATER;
1400
+
1401
+ /** @const {number} */
1402
+ WebGLRenderingContext.prototype.NOTEQUAL;
1403
+
1404
+ /** @const {number} */
1405
+ WebGLRenderingContext.prototype.GEQUAL;
1406
+
1407
+ /** @const {number} */
1408
+ WebGLRenderingContext.prototype.ALWAYS;
1409
+
1410
+ /** @const {number} */
1411
+ WebGLRenderingContext.prototype.KEEP;
1412
+
1413
+ /** @const {number} */
1414
+ WebGLRenderingContext.prototype.REPLACE;
1415
+
1416
+ /** @const {number} */
1417
+ WebGLRenderingContext.prototype.INCR;
1418
+
1419
+ /** @const {number} */
1420
+ WebGLRenderingContext.prototype.DECR;
1421
+
1422
+ /** @const {number} */
1423
+ WebGLRenderingContext.prototype.INVERT;
1424
+
1425
+ /** @const {number} */
1426
+ WebGLRenderingContext.prototype.INCR_WRAP;
1427
+
1428
+ /** @const {number} */
1429
+ WebGLRenderingContext.prototype.DECR_WRAP;
1430
+
1431
+ /** @const {number} */
1432
+ WebGLRenderingContext.prototype.VENDOR;
1433
+
1434
+ /** @const {number} */
1435
+ WebGLRenderingContext.prototype.RENDERER;
1436
+
1437
+ /** @const {number} */
1438
+ WebGLRenderingContext.prototype.VERSION;
1439
+
1440
+ /** @const {number} */
1441
+ WebGLRenderingContext.prototype.NEAREST;
1442
+
1443
+ /** @const {number} */
1444
+ WebGLRenderingContext.prototype.LINEAR;
1445
+
1446
+ /** @const {number} */
1447
+ WebGLRenderingContext.prototype.NEAREST_MIPMAP_NEAREST;
1448
+
1449
+ /** @const {number} */
1450
+ WebGLRenderingContext.prototype.LINEAR_MIPMAP_NEAREST;
1451
+
1452
+ /** @const {number} */
1453
+ WebGLRenderingContext.prototype.NEAREST_MIPMAP_LINEAR;
1454
+
1455
+ /** @const {number} */
1456
+ WebGLRenderingContext.prototype.LINEAR_MIPMAP_LINEAR;
1457
+
1458
+ /** @const {number} */
1459
+ WebGLRenderingContext.prototype.TEXTURE_MAG_FILTER;
1460
+
1461
+ /** @const {number} */
1462
+ WebGLRenderingContext.prototype.TEXTURE_MIN_FILTER;
1463
+
1464
+ /** @const {number} */
1465
+ WebGLRenderingContext.prototype.TEXTURE_WRAP_S;
1466
+
1467
+ /** @const {number} */
1468
+ WebGLRenderingContext.prototype.TEXTURE_WRAP_T;
1469
+
1470
+ /** @const {number} */
1471
+ WebGLRenderingContext.prototype.TEXTURE_2D;
1472
+
1473
+ /** @const {number} */
1474
+ WebGLRenderingContext.prototype.TEXTURE;
1475
+
1476
+ /** @const {number} */
1477
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP;
1478
+
1479
+ /** @const {number} */
1480
+ WebGLRenderingContext.prototype.TEXTURE_BINDING_CUBE_MAP;
1481
+
1482
+ /** @const {number} */
1483
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP_POSITIVE_X;
1484
+
1485
+ /** @const {number} */
1486
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP_NEGATIVE_X;
1487
+
1488
+ /** @const {number} */
1489
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP_POSITIVE_Y;
1490
+
1491
+ /** @const {number} */
1492
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP_NEGATIVE_Y;
1493
+
1494
+ /** @const {number} */
1495
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP_POSITIVE_Z;
1496
+
1497
+ /** @const {number} */
1498
+ WebGLRenderingContext.prototype.TEXTURE_CUBE_MAP_NEGATIVE_Z;
1499
+
1500
+ /** @const {number} */
1501
+ WebGLRenderingContext.prototype.MAX_CUBE_MAP_TEXTURE_SIZE;
1502
+
1503
+ /** @const {number} */
1504
+ WebGLRenderingContext.prototype.TEXTURE0;
1505
+
1506
+ /** @const {number} */
1507
+ WebGLRenderingContext.prototype.TEXTURE1;
1508
+
1509
+ /** @const {number} */
1510
+ WebGLRenderingContext.prototype.TEXTURE2;
1511
+
1512
+ /** @const {number} */
1513
+ WebGLRenderingContext.prototype.TEXTURE3;
1514
+
1515
+ /** @const {number} */
1516
+ WebGLRenderingContext.prototype.TEXTURE4;
1517
+
1518
+ /** @const {number} */
1519
+ WebGLRenderingContext.prototype.TEXTURE5;
1520
+
1521
+ /** @const {number} */
1522
+ WebGLRenderingContext.prototype.TEXTURE6;
1523
+
1524
+ /** @const {number} */
1525
+ WebGLRenderingContext.prototype.TEXTURE7;
1526
+
1527
+ /** @const {number} */
1528
+ WebGLRenderingContext.prototype.TEXTURE8;
1529
+
1530
+ /** @const {number} */
1531
+ WebGLRenderingContext.prototype.TEXTURE9;
1532
+
1533
+ /** @const {number} */
1534
+ WebGLRenderingContext.prototype.TEXTURE10;
1535
+
1536
+ /** @const {number} */
1537
+ WebGLRenderingContext.prototype.TEXTURE11;
1538
+
1539
+ /** @const {number} */
1540
+ WebGLRenderingContext.prototype.TEXTURE12;
1541
+
1542
+ /** @const {number} */
1543
+ WebGLRenderingContext.prototype.TEXTURE13;
1544
+
1545
+ /** @const {number} */
1546
+ WebGLRenderingContext.prototype.TEXTURE14;
1547
+
1548
+ /** @const {number} */
1549
+ WebGLRenderingContext.prototype.TEXTURE15;
1550
+
1551
+ /** @const {number} */
1552
+ WebGLRenderingContext.prototype.TEXTURE16;
1553
+
1554
+ /** @const {number} */
1555
+ WebGLRenderingContext.prototype.TEXTURE17;
1556
+
1557
+ /** @const {number} */
1558
+ WebGLRenderingContext.prototype.TEXTURE18;
1559
+
1560
+ /** @const {number} */
1561
+ WebGLRenderingContext.prototype.TEXTURE19;
1562
+
1563
+ /** @const {number} */
1564
+ WebGLRenderingContext.prototype.TEXTURE20;
1565
+
1566
+ /** @const {number} */
1567
+ WebGLRenderingContext.prototype.TEXTURE21;
1568
+
1569
+ /** @const {number} */
1570
+ WebGLRenderingContext.prototype.TEXTURE22;
1571
+
1572
+ /** @const {number} */
1573
+ WebGLRenderingContext.prototype.TEXTURE23;
1574
+
1575
+ /** @const {number} */
1576
+ WebGLRenderingContext.prototype.TEXTURE24;
1577
+
1578
+ /** @const {number} */
1579
+ WebGLRenderingContext.prototype.TEXTURE25;
1580
+
1581
+ /** @const {number} */
1582
+ WebGLRenderingContext.prototype.TEXTURE26;
1583
+
1584
+ /** @const {number} */
1585
+ WebGLRenderingContext.prototype.TEXTURE27;
1586
+
1587
+ /** @const {number} */
1588
+ WebGLRenderingContext.prototype.TEXTURE28;
1589
+
1590
+ /** @const {number} */
1591
+ WebGLRenderingContext.prototype.TEXTURE29;
1592
+
1593
+ /** @const {number} */
1594
+ WebGLRenderingContext.prototype.TEXTURE30;
1595
+
1596
+ /** @const {number} */
1597
+ WebGLRenderingContext.prototype.TEXTURE31;
1598
+
1599
+ /** @const {number} */
1600
+ WebGLRenderingContext.prototype.ACTIVE_TEXTURE;
1601
+
1602
+ /** @const {number} */
1603
+ WebGLRenderingContext.prototype.REPEAT;
1604
+
1605
+ /** @const {number} */
1606
+ WebGLRenderingContext.prototype.CLAMP_TO_EDGE;
1607
+
1608
+ /** @const {number} */
1609
+ WebGLRenderingContext.prototype.MIRRORED_REPEAT;
1610
+
1611
+ /** @const {number} */
1612
+ WebGLRenderingContext.prototype.FLOAT_VEC2;
1613
+
1614
+ /** @const {number} */
1615
+ WebGLRenderingContext.prototype.FLOAT_VEC3;
1616
+
1617
+ /** @const {number} */
1618
+ WebGLRenderingContext.prototype.FLOAT_VEC4;
1619
+
1620
+ /** @const {number} */
1621
+ WebGLRenderingContext.prototype.INT_VEC2;
1622
+
1623
+ /** @const {number} */
1624
+ WebGLRenderingContext.prototype.INT_VEC3;
1625
+
1626
+ /** @const {number} */
1627
+ WebGLRenderingContext.prototype.INT_VEC4;
1628
+
1629
+ /** @const {number} */
1630
+ WebGLRenderingContext.prototype.BOOL;
1631
+
1632
+ /** @const {number} */
1633
+ WebGLRenderingContext.prototype.BOOL_VEC2;
1634
+
1635
+ /** @const {number} */
1636
+ WebGLRenderingContext.prototype.BOOL_VEC3;
1637
+
1638
+ /** @const {number} */
1639
+ WebGLRenderingContext.prototype.BOOL_VEC4;
1640
+
1641
+ /** @const {number} */
1642
+ WebGLRenderingContext.prototype.FLOAT_MAT2;
1643
+
1644
+ /** @const {number} */
1645
+ WebGLRenderingContext.prototype.FLOAT_MAT3;
1646
+
1647
+ /** @const {number} */
1648
+ WebGLRenderingContext.prototype.FLOAT_MAT4;
1649
+
1650
+ /** @const {number} */
1651
+ WebGLRenderingContext.prototype.SAMPLER_2D;
1652
+
1653
+ /** @const {number} */
1654
+ WebGLRenderingContext.prototype.SAMPLER_CUBE;
1655
+
1656
+ /** @const {number} */
1657
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_ENABLED;
1658
+
1659
+ /** @const {number} */
1660
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_SIZE;
1661
+
1662
+ /** @const {number} */
1663
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_STRIDE;
1664
+
1665
+ /** @const {number} */
1666
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_TYPE;
1667
+
1668
+ /** @const {number} */
1669
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_NORMALIZED;
1670
+
1671
+ /** @const {number} */
1672
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_POINTER;
1673
+
1674
+ /** @const {number} */
1675
+ WebGLRenderingContext.prototype.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
1676
+
1677
+ /** @const {number} */
1678
+ WebGLRenderingContext.prototype.COMPILE_STATUS;
1679
+
1680
+ /** @const {number} */
1681
+ WebGLRenderingContext.prototype.LOW_FLOAT;
1682
+
1683
+ /** @const {number} */
1684
+ WebGLRenderingContext.prototype.MEDIUM_FLOAT;
1685
+
1686
+ /** @const {number} */
1687
+ WebGLRenderingContext.prototype.HIGH_FLOAT;
1688
+
1689
+ /** @const {number} */
1690
+ WebGLRenderingContext.prototype.LOW_INT;
1691
+
1692
+ /** @const {number} */
1693
+ WebGLRenderingContext.prototype.MEDIUM_INT;
1694
+
1695
+ /** @const {number} */
1696
+ WebGLRenderingContext.prototype.HIGH_INT;
1697
+
1698
+ /** @const {number} */
1699
+ WebGLRenderingContext.prototype.FRAMEBUFFER;
1700
+
1701
+ /** @const {number} */
1702
+ WebGLRenderingContext.prototype.RENDERBUFFER;
1703
+
1704
+ /** @const {number} */
1705
+ WebGLRenderingContext.prototype.RGBA4;
1706
+
1707
+ /** @const {number} */
1708
+ WebGLRenderingContext.prototype.RGB5_A1;
1709
+
1710
+ /** @const {number} */
1711
+ WebGLRenderingContext.prototype.RGB565;
1712
+
1713
+ /** @const {number} */
1714
+ WebGLRenderingContext.prototype.DEPTH_COMPONENT16;
1715
+
1716
+ /** @const {number} */
1717
+ WebGLRenderingContext.prototype.STENCIL_INDEX;
1718
+
1719
+ /** @const {number} */
1720
+ WebGLRenderingContext.prototype.STENCIL_INDEX8;
1721
+
1722
+ /** @const {number} */
1723
+ WebGLRenderingContext.prototype.DEPTH_STENCIL;
1724
+
1725
+ /** @const {number} */
1726
+ WebGLRenderingContext.prototype.RENDERBUFFER_WIDTH;
1727
+
1728
+ /** @const {number} */
1729
+ WebGLRenderingContext.prototype.RENDERBUFFER_HEIGHT;
1730
+
1731
+ /** @const {number} */
1732
+ WebGLRenderingContext.prototype.RENDERBUFFER_INTERNAL_FORMAT;
1733
+
1734
+ /** @const {number} */
1735
+ WebGLRenderingContext.prototype.RENDERBUFFER_RED_SIZE;
1736
+
1737
+ /** @const {number} */
1738
+ WebGLRenderingContext.prototype.RENDERBUFFER_GREEN_SIZE;
1739
+
1740
+ /** @const {number} */
1741
+ WebGLRenderingContext.prototype.RENDERBUFFER_BLUE_SIZE;
1742
+
1743
+ /** @const {number} */
1744
+ WebGLRenderingContext.prototype.RENDERBUFFER_ALPHA_SIZE;
1745
+
1746
+ /** @const {number} */
1747
+ WebGLRenderingContext.prototype.RENDERBUFFER_DEPTH_SIZE;
1748
+
1749
+ /** @const {number} */
1750
+ WebGLRenderingContext.prototype.RENDERBUFFER_STENCIL_SIZE;
1751
+
1752
+ /** @const {number} */
1753
+ WebGLRenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
1754
+
1755
+ /** @const {number} */
1756
+ WebGLRenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
1757
+
1758
+ /** @const {number} */
1759
+ WebGLRenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
1760
+
1761
+ /** @const {number} */
1762
+ WebGLRenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
1763
+
1764
+ /** @const {number} */
1765
+ WebGLRenderingContext.prototype.COLOR_ATTACHMENT0;
1766
+
1767
+ /** @const {number} */
1768
+ WebGLRenderingContext.prototype.DEPTH_ATTACHMENT;
1769
+
1770
+ /** @const {number} */
1771
+ WebGLRenderingContext.prototype.STENCIL_ATTACHMENT;
1772
+
1773
+ /** @const {number} */
1774
+ WebGLRenderingContext.prototype.DEPTH_STENCIL_ATTACHMENT;
1775
+
1776
+ /** @const {number} */
1777
+ WebGLRenderingContext.prototype.NONE;
1778
+
1779
+ /** @const {number} */
1780
+ WebGLRenderingContext.prototype.FRAMEBUFFER_COMPLETE;
1781
+
1782
+ /** @const {number} */
1783
+ WebGLRenderingContext.prototype.FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
1784
+
1785
+ /** @const {number} */
1786
+ WebGLRenderingContext.prototype.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
1787
+
1788
+ /** @const {number} */
1789
+ WebGLRenderingContext.prototype.FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
1790
+
1791
+ /** @const {number} */
1792
+ WebGLRenderingContext.prototype.FRAMEBUFFER_UNSUPPORTED;
1793
+
1794
+ /** @const {number} */
1795
+ WebGLRenderingContext.prototype.FRAMEBUFFER_BINDING;
1796
+
1797
+ /** @const {number} */
1798
+ WebGLRenderingContext.prototype.RENDERBUFFER_BINDING;
1799
+
1800
+ /** @const {number} */
1801
+ WebGLRenderingContext.prototype.MAX_RENDERBUFFER_SIZE;
1802
+
1803
+ /** @const {number} */
1804
+ WebGLRenderingContext.prototype.INVALID_FRAMEBUFFER_OPERATION;
1805
+
1806
+ /** @const {number} */
1807
+ WebGLRenderingContext.prototype.UNPACK_FLIP_Y_WEBGL;
1808
+
1809
+ /** @const {number} */
1810
+ WebGLRenderingContext.prototype.UNPACK_PREMULTIPLY_ALPHA_WEBGL;
1811
+
1812
+ /** @const {number} */
1813
+ WebGLRenderingContext.prototype.CONTEXT_LOST_WEBGL;
1814
+
1815
+ /** @const {number} */
1816
+ WebGLRenderingContext.prototype.UNPACK_COLORSPACE_CONVERSION_WEBGL;
1817
+
1818
+ /** @const {number} */
1819
+ WebGLRenderingContext.prototype.BROWSER_DEFAULT_WEBGL;
1820
+
1821
+
1822
+ /**
1823
+ * @type {!HTMLCanvasElement}
1824
+ */
1825
+ WebGLRenderingContext.prototype.canvas;
1826
+
1827
+ /**
1828
+ * @type {string}
1829
+ */
1830
+ WebGLRenderingContext.prototype.drawingBufferColorSpace;
1831
+
1832
+ /**
1833
+ * @type {number}
1834
+ */
1835
+ WebGLRenderingContext.prototype.drawingBufferWidth;
1836
+
1837
+ /**
1838
+ * @type {number}
1839
+ */
1840
+ WebGLRenderingContext.prototype.drawingBufferHeight;
1841
+
1842
+ /**
1843
+ * @return {!WebGLContextAttributes}
1844
+ * @nosideeffects
1845
+ */
1846
+ WebGLRenderingContext.prototype.getContextAttributes = function() {};
1847
+
1848
+ /**
1849
+ * @return {boolean}
1850
+ * @nosideeffects
1851
+ */
1852
+ WebGLRenderingContext.prototype.isContextLost = function() {};
1853
+
1854
+ /**
1855
+ * @return {!Array<string>}
1856
+ * @nosideeffects
1857
+ */
1858
+ WebGLRenderingContext.prototype.getSupportedExtensions = function() {};
1859
+
1860
+ /**
1861
+ * Note that this has side effects by enabling the extension even if the
1862
+ * result is not used.
1863
+ * @param {string} name
1864
+ * @return {Object}
1865
+ */
1866
+ WebGLRenderingContext.prototype.getExtension = function(name) {};
1867
+
1868
+ /**
1869
+ * @param {number} texture
1870
+ * @return {undefined}
1871
+ */
1872
+ WebGLRenderingContext.prototype.activeTexture = function(texture) {};
1873
+
1874
+ /**
1875
+ * @param {WebGLProgram} program
1876
+ * @param {WebGLShader} shader
1877
+ * @return {undefined}
1878
+ */
1879
+ WebGLRenderingContext.prototype.attachShader = function(program, shader) {};
1880
+
1881
+ /**
1882
+ * @param {WebGLProgram} program
1883
+ * @param {number} index
1884
+ * @param {string} name
1885
+ * @return {undefined}
1886
+ */
1887
+ WebGLRenderingContext.prototype.bindAttribLocation = function(
1888
+ program, index, name) {};
1889
+
1890
+ /**
1891
+ * @param {number} target
1892
+ * @param {WebGLBuffer} buffer
1893
+ * @return {undefined}
1894
+ */
1895
+ WebGLRenderingContext.prototype.bindBuffer = function(target, buffer) {};
1896
+
1897
+ /**
1898
+ * @param {number} target
1899
+ * @param {WebGLFramebuffer} buffer
1900
+ * @return {undefined}
1901
+ */
1902
+ WebGLRenderingContext.prototype.bindFramebuffer = function(target, buffer) {};
1903
+
1904
+ /**
1905
+ * @param {number} target
1906
+ * @param {WebGLRenderbuffer} buffer
1907
+ * @return {undefined}
1908
+ */
1909
+ WebGLRenderingContext.prototype.bindRenderbuffer = function(target, buffer) {};
1910
+
1911
+ /**
1912
+ * @param {number} target
1913
+ * @param {WebGLTexture} texture
1914
+ * @return {undefined}
1915
+ */
1916
+ WebGLRenderingContext.prototype.bindTexture = function(target, texture) {};
1917
+
1918
+ /**
1919
+ * @param {number} red
1920
+ * @param {number} green
1921
+ * @param {number} blue
1922
+ * @param {number} alpha
1923
+ * @return {undefined}
1924
+ */
1925
+ WebGLRenderingContext.prototype.blendColor = function(
1926
+ red, green, blue, alpha) {};
1927
+
1928
+ /**
1929
+ * @param {number} mode
1930
+ * @return {undefined}
1931
+ */
1932
+ WebGLRenderingContext.prototype.blendEquation = function(mode) {};
1933
+
1934
+ /**
1935
+ * @param {number} modeRGB
1936
+ * @param {number} modeAlpha
1937
+ * @return {undefined}
1938
+ */
1939
+ WebGLRenderingContext.prototype.blendEquationSeparate = function(
1940
+ modeRGB, modeAlpha) {};
1941
+
1942
+ /**
1943
+ * @param {number} sfactor
1944
+ * @param {number} dfactor
1945
+ * @return {undefined}
1946
+ */
1947
+ WebGLRenderingContext.prototype.blendFunc = function(sfactor, dfactor) {};
1948
+
1949
+ /**
1950
+ * @param {number} srcRGB
1951
+ * @param {number} dstRGB
1952
+ * @param {number} srcAlpha
1953
+ * @param {number} dstAlpha
1954
+ * @return {undefined}
1955
+ */
1956
+ WebGLRenderingContext.prototype.blendFuncSeparate = function(
1957
+ srcRGB, dstRGB, srcAlpha, dstAlpha) {};
1958
+
1959
+ /**
1960
+ * @param {number} target
1961
+ * @param {ArrayBufferView|ArrayBuffer|number} data
1962
+ * @param {number} usage
1963
+ * @return {undefined}
1964
+ */
1965
+ WebGLRenderingContext.prototype.bufferData = function(target, data, usage) {};
1966
+
1967
+ /**
1968
+ * @param {number} target
1969
+ * @param {number} offset
1970
+ * @param {ArrayBufferView|ArrayBuffer} data
1971
+ * @return {undefined}
1972
+ */
1973
+ WebGLRenderingContext.prototype.bufferSubData = function(
1974
+ target, offset, data) {};
1975
+
1976
+ /**
1977
+ * @param {number} target
1978
+ * @return {number}
1979
+ */
1980
+ WebGLRenderingContext.prototype.checkFramebufferStatus = function(target) {};
1981
+
1982
+ /**
1983
+ * @param {number} mask
1984
+ * @return {undefined}
1985
+ */
1986
+ WebGLRenderingContext.prototype.clear = function(mask) {};
1987
+
1988
+ /**
1989
+ * @param {number} red
1990
+ * @param {number} green
1991
+ * @param {number} blue
1992
+ * @param {number} alpha
1993
+ * @return {undefined}
1994
+ */
1995
+ WebGLRenderingContext.prototype.clearColor = function(
1996
+ red, green, blue, alpha) {};
1997
+
1998
+ /**
1999
+ * @param {number} depth
2000
+ * @return {undefined}
2001
+ */
2002
+ WebGLRenderingContext.prototype.clearDepth = function(depth) {};
2003
+
2004
+ /**
2005
+ * @param {number} s
2006
+ * @return {undefined}
2007
+ */
2008
+ WebGLRenderingContext.prototype.clearStencil = function(s) {};
2009
+
2010
+ /**
2011
+ * @param {boolean} red
2012
+ * @param {boolean} green
2013
+ * @param {boolean} blue
2014
+ * @param {boolean} alpha
2015
+ * @return {undefined}
2016
+ */
2017
+ WebGLRenderingContext.prototype.colorMask = function(
2018
+ red, green, blue, alpha) {};
2019
+
2020
+ /**
2021
+ * @param {WebGLShader} shader
2022
+ * @return {undefined}
2023
+ */
2024
+ WebGLRenderingContext.prototype.compileShader = function(shader) {};
2025
+
2026
+ /**
2027
+ * @param {number} target
2028
+ * @param {number} level
2029
+ * @param {number} internalformat
2030
+ * @param {number} width
2031
+ * @param {number} height
2032
+ * @param {number} border
2033
+ * @param {ArrayBufferView} data
2034
+ * @return {undefined}
2035
+ */
2036
+ WebGLRenderingContext.prototype.compressedTexImage2D = function(
2037
+ target, level, internalformat, width, height, border, data) {};
2038
+
2039
+ /**
2040
+ * @param {number} target
2041
+ * @param {number} level
2042
+ * @param {number} xoffset
2043
+ * @param {number} yoffset
2044
+ * @param {number} width
2045
+ * @param {number} height
2046
+ * @param {number} format
2047
+ * @param {ArrayBufferView} data
2048
+ * @return {undefined}
2049
+ */
2050
+ WebGLRenderingContext.prototype.compressedTexSubImage2D = function(
2051
+ target, level, xoffset, yoffset, width, height, format, data) {};
2052
+
2053
+ /**
2054
+ * @param {number} target
2055
+ * @param {number} level
2056
+ * @param {number} format
2057
+ * @param {number} x
2058
+ * @param {number} y
2059
+ * @param {number} width
2060
+ * @param {number} height
2061
+ * @param {number} border
2062
+ * @return {undefined}
2063
+ */
2064
+ WebGLRenderingContext.prototype.copyTexImage2D = function(
2065
+ target, level, format, x, y, width, height, border) {};
2066
+
2067
+ /**
2068
+ * @param {number} target
2069
+ * @param {number} level
2070
+ * @param {number} xoffset
2071
+ * @param {number} yoffset
2072
+ * @param {number} x
2073
+ * @param {number} y
2074
+ * @param {number} width
2075
+ * @param {number} height
2076
+ * @return {undefined}
2077
+ */
2078
+ WebGLRenderingContext.prototype.copyTexSubImage2D = function(
2079
+ target, level, xoffset, yoffset, x, y, width, height) {};
2080
+
2081
+ /**
2082
+ * @return {!WebGLBuffer}
2083
+ * @nosideeffects
2084
+ */
2085
+ WebGLRenderingContext.prototype.createBuffer = function() {};
2086
+
2087
+ /**
2088
+ * @return {!WebGLFramebuffer}
2089
+ * @nosideeffects
2090
+ */
2091
+ WebGLRenderingContext.prototype.createFramebuffer = function() {};
2092
+
2093
+ /**
2094
+ * @return {!WebGLProgram}
2095
+ * @nosideeffects
2096
+ */
2097
+ WebGLRenderingContext.prototype.createProgram = function() {};
2098
+
2099
+ /**
2100
+ * @return {!WebGLRenderbuffer}
2101
+ * @nosideeffects
2102
+ */
2103
+ WebGLRenderingContext.prototype.createRenderbuffer = function() {};
2104
+
2105
+ /**
2106
+ * @param {number} type
2107
+ * @return {!WebGLShader}
2108
+ * @nosideeffects
2109
+ */
2110
+ WebGLRenderingContext.prototype.createShader = function(type) {};
2111
+
2112
+ /**
2113
+ * @return {!WebGLTexture}
2114
+ * @nosideeffects
2115
+ */
2116
+ WebGLRenderingContext.prototype.createTexture = function() {};
2117
+
2118
+ /**
2119
+ * @param {number} mode
2120
+ * @return {undefined}
2121
+ */
2122
+ WebGLRenderingContext.prototype.cullFace = function(mode) {};
2123
+
2124
+ /**
2125
+ * @param {WebGLBuffer} buffer
2126
+ * @return {undefined}
2127
+ */
2128
+ WebGLRenderingContext.prototype.deleteBuffer = function(buffer) {};
2129
+
2130
+ /**
2131
+ * @param {WebGLFramebuffer} buffer
2132
+ * @return {undefined}
2133
+ */
2134
+ WebGLRenderingContext.prototype.deleteFramebuffer = function(buffer) {};
2135
+
2136
+ /**
2137
+ * @param {WebGLProgram} program
2138
+ * @return {undefined}
2139
+ */
2140
+ WebGLRenderingContext.prototype.deleteProgram = function(program) {};
2141
+
2142
+ /**
2143
+ * @param {WebGLRenderbuffer} buffer
2144
+ * @return {undefined}
2145
+ */
2146
+ WebGLRenderingContext.prototype.deleteRenderbuffer = function(buffer) {};
2147
+
2148
+ /**
2149
+ * @param {WebGLShader} shader
2150
+ * @return {undefined}
2151
+ */
2152
+ WebGLRenderingContext.prototype.deleteShader = function(shader) {};
2153
+
2154
+ /**
2155
+ * @param {WebGLTexture} texture
2156
+ * @return {undefined}
2157
+ */
2158
+ WebGLRenderingContext.prototype.deleteTexture = function(texture) {};
2159
+
2160
+ /**
2161
+ * @param {number} func
2162
+ * @return {undefined}
2163
+ */
2164
+ WebGLRenderingContext.prototype.depthFunc = function(func) {};
2165
+
2166
+ /**
2167
+ * @param {boolean} flag
2168
+ * @return {undefined}
2169
+ */
2170
+ WebGLRenderingContext.prototype.depthMask = function(flag) {};
2171
+
2172
+ /**
2173
+ * @param {number} nearVal
2174
+ * @param {number} farVal
2175
+ * @return {undefined}
2176
+ */
2177
+ WebGLRenderingContext.prototype.depthRange = function(nearVal, farVal) {};
2178
+
2179
+ /**
2180
+ * @param {WebGLProgram} program
2181
+ * @param {WebGLShader} shader
2182
+ * @return {undefined}
2183
+ */
2184
+ WebGLRenderingContext.prototype.detachShader = function(program, shader) {};
2185
+
2186
+ /**
2187
+ * @param {number} flags
2188
+ * @return {undefined}
2189
+ */
2190
+ WebGLRenderingContext.prototype.disable = function(flags) {};
2191
+
2192
+ /**
2193
+ * @param {number} index
2194
+ * @return {undefined}
2195
+ */
2196
+ WebGLRenderingContext.prototype.disableVertexAttribArray = function(
2197
+ index) {};
2198
+
2199
+ /**
2200
+ * @param {number} mode
2201
+ * @param {number} first
2202
+ * @param {number} count
2203
+ * @return {undefined}
2204
+ */
2205
+ WebGLRenderingContext.prototype.drawArrays = function(mode, first, count) {};
2206
+
2207
+ /**
2208
+ * @param {number} mode
2209
+ * @param {number} count
2210
+ * @param {number} type
2211
+ * @param {number} offset
2212
+ * @return {undefined}
2213
+ */
2214
+ WebGLRenderingContext.prototype.drawElements = function(
2215
+ mode, count, type, offset) {};
2216
+
2217
+ /**
2218
+ * @param {number} cap
2219
+ * @return {undefined}
2220
+ */
2221
+ WebGLRenderingContext.prototype.enable = function(cap) {};
2222
+
2223
+ /**
2224
+ * @param {number} index
2225
+ * @return {undefined}
2226
+ */
2227
+ WebGLRenderingContext.prototype.enableVertexAttribArray = function(
2228
+ index) {};
2229
+
2230
+ WebGLRenderingContext.prototype.finish = function() {};
2231
+
2232
+ WebGLRenderingContext.prototype.flush = function() {};
2233
+
2234
+ /**
2235
+ * @param {number} target
2236
+ * @param {number} attachment
2237
+ * @param {number} renderbuffertarget
2238
+ * @param {WebGLRenderbuffer} renderbuffer
2239
+ * @return {undefined}
2240
+ */
2241
+ WebGLRenderingContext.prototype.framebufferRenderbuffer = function(
2242
+ target, attachment, renderbuffertarget, renderbuffer) {};
2243
+
2244
+ /**
2245
+ * @param {number} target
2246
+ * @param {number} attachment
2247
+ * @param {number} textarget
2248
+ * @param {WebGLTexture} texture
2249
+ * @param {number} level
2250
+ * @return {undefined}
2251
+ */
2252
+ WebGLRenderingContext.prototype.framebufferTexture2D = function(
2253
+ target, attachment, textarget, texture, level) {};
2254
+
2255
+ /**
2256
+ * @param {number} mode
2257
+ * @return {undefined}
2258
+ */
2259
+ WebGLRenderingContext.prototype.frontFace = function(mode) {};
2260
+
2261
+ /**
2262
+ * @param {number} target
2263
+ * @return {undefined}
2264
+ */
2265
+ WebGLRenderingContext.prototype.generateMipmap = function(target) {};
2266
+
2267
+ /**
2268
+ * @param {WebGLProgram} program
2269
+ * @param {number} index
2270
+ * @return {WebGLActiveInfo}
2271
+ * @nosideeffects
2272
+ */
2273
+ WebGLRenderingContext.prototype.getActiveAttrib = function(program, index) {};
2274
+
2275
+ /**
2276
+ * @param {WebGLProgram} program
2277
+ * @param {number} index
2278
+ * @return {WebGLActiveInfo}
2279
+ * @nosideeffects
2280
+ */
2281
+ WebGLRenderingContext.prototype.getActiveUniform = function(program, index) {};
2282
+
2283
+ /**
2284
+ * @param {WebGLProgram} program
2285
+ * @return {!Array<WebGLShader>}
2286
+ * @nosideeffects
2287
+ */
2288
+ WebGLRenderingContext.prototype.getAttachedShaders = function(program) {};
2289
+
2290
+ /**
2291
+ * @param {WebGLProgram} program
2292
+ * @param {string} name
2293
+ * @return {number}
2294
+ * @nosideeffects
2295
+ */
2296
+ WebGLRenderingContext.prototype.getAttribLocation = function(program, name) {};
2297
+
2298
+ /**
2299
+ * @param {number} target
2300
+ * @param {number} pname
2301
+ * @return {*}
2302
+ * @nosideeffects
2303
+ */
2304
+ WebGLRenderingContext.prototype.getBufferParameter = function(target, pname) {};
2305
+
2306
+ /**
2307
+ * @param {number} pname
2308
+ * @return {*}
2309
+ * @nosideeffects
2310
+ */
2311
+ WebGLRenderingContext.prototype.getParameter = function(pname) {};
2312
+
2313
+ /**
2314
+ * @return {number}
2315
+ * @nosideeffects
2316
+ */
2317
+ WebGLRenderingContext.prototype.getError = function() {};
2318
+
2319
+ /**
2320
+ * @param {number} target
2321
+ * @param {number} attachment
2322
+ * @param {number} pname
2323
+ * @return {*}
2324
+ * @nosideeffects
2325
+ */
2326
+ WebGLRenderingContext.prototype.getFramebufferAttachmentParameter = function(
2327
+ target, attachment, pname) {};
2328
+
2329
+ /**
2330
+ * @param {WebGLProgram} program
2331
+ * @param {number} pname
2332
+ * @return {*}
2333
+ * @nosideeffects
2334
+ */
2335
+ WebGLRenderingContext.prototype.getProgramParameter = function(
2336
+ program, pname) {};
2337
+
2338
+ /**
2339
+ * @param {WebGLProgram} program
2340
+ * @return {string}
2341
+ * @nosideeffects
2342
+ */
2343
+ WebGLRenderingContext.prototype.getProgramInfoLog = function(program) {};
2344
+
2345
+ /**
2346
+ * @param {number} target
2347
+ * @param {number} pname
2348
+ * @return {*}
2349
+ * @nosideeffects
2350
+ */
2351
+ WebGLRenderingContext.prototype.getRenderbufferParameter = function(
2352
+ target, pname) {};
2353
+
2354
+ /**
2355
+ * @param {WebGLShader} shader
2356
+ * @param {number} pname
2357
+ * @return {*}
2358
+ * @nosideeffects
2359
+ */
2360
+ WebGLRenderingContext.prototype.getShaderParameter = function(shader, pname) {};
2361
+
2362
+ /**
2363
+ * @param {number} shadertype
2364
+ * @param {number} precisiontype
2365
+ * @return {WebGLShaderPrecisionFormat}
2366
+ * @nosideeffects
2367
+ */
2368
+ WebGLRenderingContext.prototype.getShaderPrecisionFormat = function(shadertype,
2369
+ precisiontype) {};
2370
+
2371
+ /**
2372
+ * @param {WebGLShader} shader
2373
+ * @return {string}
2374
+ * @nosideeffects
2375
+ */
2376
+ WebGLRenderingContext.prototype.getShaderInfoLog = function(shader) {};
2377
+
2378
+ /**
2379
+ * @param {WebGLShader} shader
2380
+ * @return {string}
2381
+ * @nosideeffects
2382
+ */
2383
+ WebGLRenderingContext.prototype.getShaderSource = function(shader) {};
2384
+
2385
+ /**
2386
+ * @param {number} target
2387
+ * @param {number} pname
2388
+ * @return {*}
2389
+ * @nosideeffects
2390
+ */
2391
+ WebGLRenderingContext.prototype.getTexParameter = function(target, pname) {};
2392
+
2393
+ /**
2394
+ * @param {WebGLProgram} program
2395
+ * @param {WebGLUniformLocation} location
2396
+ * @return {*}
2397
+ * @nosideeffects
2398
+ */
2399
+ WebGLRenderingContext.prototype.getUniform = function(program, location) {};
2400
+
2401
+ /**
2402
+ * @param {WebGLProgram} program
2403
+ * @param {string} name
2404
+ * @return {WebGLUniformLocation}
2405
+ * @nosideeffects
2406
+ */
2407
+ WebGLRenderingContext.prototype.getUniformLocation = function(program, name) {};
2408
+
2409
+ /**
2410
+ * @param {number} index
2411
+ * @param {number} pname
2412
+ * @return {*}
2413
+ * @nosideeffects
2414
+ */
2415
+ WebGLRenderingContext.prototype.getVertexAttrib = function(index, pname) {};
2416
+
2417
+ /**
2418
+ * @param {number} index
2419
+ * @param {number} pname
2420
+ * @return {number}
2421
+ * @nosideeffects
2422
+ */
2423
+ WebGLRenderingContext.prototype.getVertexAttribOffset = function(
2424
+ index, pname) {};
2425
+
2426
+ /**
2427
+ * @param {number} target
2428
+ * @param {number} mode
2429
+ * @return {undefined}
2430
+ */
2431
+ WebGLRenderingContext.prototype.hint = function(target, mode) {};
2432
+
2433
+ /**
2434
+ * @param {WebGLObject} buffer
2435
+ * @return {boolean}
2436
+ * @nosideeffects
2437
+ */
2438
+ WebGLRenderingContext.prototype.isBuffer = function(buffer) {};
2439
+
2440
+ /**
2441
+ * @param {number} cap
2442
+ * @return {boolean}
2443
+ * @nosideeffects
2444
+ */
2445
+ WebGLRenderingContext.prototype.isEnabled = function(cap) {};
2446
+
2447
+ /**
2448
+ * @param {WebGLObject} framebuffer
2449
+ * @return {boolean}
2450
+ * @nosideeffects
2451
+ */
2452
+ WebGLRenderingContext.prototype.isFramebuffer = function(framebuffer) {};
2453
+
2454
+ /**
2455
+ * @param {WebGLObject} program
2456
+ * @return {boolean}
2457
+ * @nosideeffects
2458
+ */
2459
+ WebGLRenderingContext.prototype.isProgram = function(program) {};
2460
+
2461
+ /**
2462
+ * @param {WebGLObject} renderbuffer
2463
+ * @return {boolean}
2464
+ * @nosideeffects
2465
+ */
2466
+ WebGLRenderingContext.prototype.isRenderbuffer = function(renderbuffer) {};
2467
+
2468
+ /**
2469
+ * @param {WebGLObject} shader
2470
+ * @return {boolean}
2471
+ * @nosideeffects
2472
+ */
2473
+ WebGLRenderingContext.prototype.isShader = function(shader) {};
2474
+
2475
+ /**
2476
+ * @param {WebGLObject} texture
2477
+ * @return {boolean}
2478
+ * @nosideeffects
2479
+ */
2480
+ WebGLRenderingContext.prototype.isTexture = function(texture) {};
2481
+
2482
+ /**
2483
+ * @param {number} width
2484
+ * @return {undefined}
2485
+ */
2486
+ WebGLRenderingContext.prototype.lineWidth = function(width) {};
2487
+
2488
+ /**
2489
+ * @param {WebGLProgram} program
2490
+ * @return {undefined}
2491
+ */
2492
+ WebGLRenderingContext.prototype.linkProgram = function(program) {};
2493
+
2494
+ /**
2495
+ * @param {number} pname
2496
+ * @param {number|boolean} param
2497
+ * @return {undefined}
2498
+ */
2499
+ WebGLRenderingContext.prototype.pixelStorei = function(pname, param) {};
2500
+
2501
+ /**
2502
+ * @param {number} factor
2503
+ * @param {number} units
2504
+ * @return {undefined}
2505
+ */
2506
+ WebGLRenderingContext.prototype.polygonOffset = function(factor, units) {};
2507
+
2508
+ /**
2509
+ * @param {number} x
2510
+ * @param {number} y
2511
+ * @param {number} width
2512
+ * @param {number} height
2513
+ * @param {number} format
2514
+ * @param {number} type
2515
+ * @param {ArrayBufferView} pixels
2516
+ * @return {undefined}
2517
+ */
2518
+ WebGLRenderingContext.prototype.readPixels = function(
2519
+ x, y, width, height, format, type, pixels) {};
2520
+
2521
+ /**
2522
+ * @param {number} target
2523
+ * @param {number} internalformat
2524
+ * @param {number} width
2525
+ * @param {number} height
2526
+ * @return {undefined}
2527
+ */
2528
+ WebGLRenderingContext.prototype.renderbufferStorage = function(
2529
+ target, internalformat, width, height) {};
2530
+
2531
+ /**
2532
+ * @param {number} coverage
2533
+ * @param {boolean} invert
2534
+ * @return {undefined}
2535
+ */
2536
+ WebGLRenderingContext.prototype.sampleCoverage = function(coverage, invert) {};
2537
+
2538
+ /**
2539
+ * @param {number} x
2540
+ * @param {number} y
2541
+ * @param {number} width
2542
+ * @param {number} height
2543
+ * @return {undefined}
2544
+ */
2545
+ WebGLRenderingContext.prototype.scissor = function(x, y, width, height) {};
2546
+
2547
+ /**
2548
+ * @param {WebGLShader} shader
2549
+ * @param {string} source
2550
+ * @return {undefined}
2551
+ */
2552
+ WebGLRenderingContext.prototype.shaderSource = function(shader, source) {};
2553
+
2554
+ /**
2555
+ * @param {number} func
2556
+ * @param {number} ref
2557
+ * @param {number} mask
2558
+ * @return {undefined}
2559
+ */
2560
+ WebGLRenderingContext.prototype.stencilFunc = function(func, ref, mask) {};
2561
+
2562
+ /**
2563
+ * @param {number} face
2564
+ * @param {number} func
2565
+ * @param {number} ref
2566
+ * @param {number} mask
2567
+ * @return {undefined}
2568
+ */
2569
+ WebGLRenderingContext.prototype.stencilFuncSeparate = function(
2570
+ face, func, ref, mask) {};
2571
+
2572
+ /**
2573
+ * @param {number} mask
2574
+ * @return {undefined}
2575
+ */
2576
+ WebGLRenderingContext.prototype.stencilMask = function(mask) {};
2577
+
2578
+ /**
2579
+ * @param {number} face
2580
+ * @param {number} mask
2581
+ * @return {undefined}
2582
+ */
2583
+ WebGLRenderingContext.prototype.stencilMaskSeparate = function(face, mask) {};
2584
+
2585
+ /**
2586
+ * @param {number} fail
2587
+ * @param {number} zfail
2588
+ * @param {number} zpass
2589
+ * @return {undefined}
2590
+ */
2591
+ WebGLRenderingContext.prototype.stencilOp = function(fail, zfail, zpass) {};
2592
+
2593
+ /**
2594
+ * @param {number} face
2595
+ * @param {number} fail
2596
+ * @param {number} zfail
2597
+ * @param {number} zpass
2598
+ * @return {undefined}
2599
+ */
2600
+ WebGLRenderingContext.prototype.stencilOpSeparate = function(
2601
+ face, fail, zfail, zpass) {};
2602
+
2603
+ /**
2604
+ * @param {number} target
2605
+ * @param {number} level
2606
+ * @param {number} internalformat
2607
+ * @param {number} format or width
2608
+ * @param {number} type or height
2609
+ * @param {?TexImageSource|number} img or border
2610
+ * @param {number=} opt_format
2611
+ * @param {number=} opt_type
2612
+ * @param {ArrayBufferView=} opt_pixels
2613
+ * @return {undefined}
2614
+ */
2615
+ WebGLRenderingContext.prototype.texImage2D = function(
2616
+ target, level, internalformat, format, type, img, opt_format, opt_type,
2617
+ opt_pixels) {};
2618
+
2619
+ /**
2620
+ * @param {number} target
2621
+ * @param {number} pname
2622
+ * @param {number} param
2623
+ * @return {undefined}
2624
+ */
2625
+ WebGLRenderingContext.prototype.texParameterf = function(
2626
+ target, pname, param) {};
2627
+
2628
+ /**
2629
+ * @param {number} target
2630
+ * @param {number} pname
2631
+ * @param {number} param
2632
+ * @return {undefined}
2633
+ */
2634
+ WebGLRenderingContext.prototype.texParameteri = function(
2635
+ target, pname, param) {};
2636
+
2637
+ /**
2638
+ * @param {number} target
2639
+ * @param {number} level
2640
+ * @param {number} xoffset
2641
+ * @param {number} yoffset
2642
+ * @param {number} format or width
2643
+ * @param {number} type or height
2644
+ * @param {?TexImageSource|number} data or format
2645
+ * @param {number=} opt_type
2646
+ * @param {ArrayBufferView=} opt_pixels
2647
+ * @return {undefined}
2648
+ */
2649
+ WebGLRenderingContext.prototype.texSubImage2D = function(
2650
+ target, level, xoffset, yoffset, format, type, data, opt_type,
2651
+ opt_pixels) {};
2652
+
2653
+ /**
2654
+ * @param {WebGLUniformLocation} location
2655
+ * @param {number} value
2656
+ * @return {undefined}
2657
+ */
2658
+ WebGLRenderingContext.prototype.uniform1f = function(location, value) {};
2659
+
2660
+ /**
2661
+ * @param {WebGLUniformLocation} location
2662
+ * @param {Float32Array|Array<number>} value
2663
+ * @return {undefined}
2664
+ */
2665
+ WebGLRenderingContext.prototype.uniform1fv = function(location, value) {};
2666
+
2667
+ /**
2668
+ * @param {WebGLUniformLocation} location
2669
+ * @param {number|boolean} value
2670
+ * @return {undefined}
2671
+ */
2672
+ WebGLRenderingContext.prototype.uniform1i = function(location, value) {};
2673
+
2674
+ /**
2675
+ * @param {WebGLUniformLocation} location
2676
+ * @param {Int32Array|Array<number>|Array<boolean>} value
2677
+ * @return {undefined}
2678
+ */
2679
+ WebGLRenderingContext.prototype.uniform1iv = function(location, value) {};
2680
+
2681
+ /**
2682
+ * @param {WebGLUniformLocation} location
2683
+ * @param {number} value1
2684
+ * @param {number} value2
2685
+ * @return {undefined}
2686
+ */
2687
+ WebGLRenderingContext.prototype.uniform2f = function(
2688
+ location, value1, value2) {};
2689
+
2690
+ /**
2691
+ * @param {WebGLUniformLocation} location
2692
+ * @param {Float32Array|Array<number>} value
2693
+ * @return {undefined}
2694
+ */
2695
+ WebGLRenderingContext.prototype.uniform2fv = function(location, value) {};
2696
+
2697
+ /**
2698
+ * @param {WebGLUniformLocation} location
2699
+ * @param {number|boolean} value1
2700
+ * @param {number|boolean} value2
2701
+ * @return {undefined}
2702
+ */
2703
+ WebGLRenderingContext.prototype.uniform2i = function(
2704
+ location, value1, value2) {};
2705
+
2706
+ /**
2707
+ * @param {WebGLUniformLocation} location
2708
+ * @param {Int32Array|Array<number>|Array<boolean>} value
2709
+ * @return {undefined}
2710
+ */
2711
+ WebGLRenderingContext.prototype.uniform2iv = function(location, value) {};
2712
+
2713
+ /**
2714
+ * @param {WebGLUniformLocation} location
2715
+ * @param {number} value1
2716
+ * @param {number} value2
2717
+ * @param {number} value3
2718
+ * @return {undefined}
2719
+ */
2720
+ WebGLRenderingContext.prototype.uniform3f = function(
2721
+ location, value1, value2, value3) {};
2722
+
2723
+ /**
2724
+ * @param {WebGLUniformLocation} location
2725
+ * @param {Float32Array|Array<number>} value
2726
+ * @return {undefined}
2727
+ */
2728
+ WebGLRenderingContext.prototype.uniform3fv = function(location, value) {};
2729
+
2730
+ /**
2731
+ * @param {WebGLUniformLocation} location
2732
+ * @param {number|boolean} value1
2733
+ * @param {number|boolean} value2
2734
+ * @param {number|boolean} value3
2735
+ * @return {undefined}
2736
+ */
2737
+ WebGLRenderingContext.prototype.uniform3i = function(
2738
+ location, value1, value2, value3) {};
2739
+
2740
+ /**
2741
+ * @param {WebGLUniformLocation} location
2742
+ * @param {Int32Array|Array<number>|Array<boolean>} value
2743
+ * @return {undefined}
2744
+ */
2745
+ WebGLRenderingContext.prototype.uniform3iv = function(location, value) {};
2746
+
2747
+ /**
2748
+ * @param {WebGLUniformLocation} location
2749
+ * @param {number} value1
2750
+ * @param {number} value2
2751
+ * @param {number} value3
2752
+ * @param {number} value4
2753
+ * @return {undefined}
2754
+ */
2755
+ WebGLRenderingContext.prototype.uniform4f = function(
2756
+ location, value1, value2, value3, value4) {};
2757
+
2758
+ /**
2759
+ * @param {WebGLUniformLocation} location
2760
+ * @param {Float32Array|Array<number>} value
2761
+ * @return {undefined}
2762
+ */
2763
+ WebGLRenderingContext.prototype.uniform4fv = function(location, value) {};
2764
+
2765
+ /**
2766
+ * @param {WebGLUniformLocation} location
2767
+ * @param {number|boolean} value1
2768
+ * @param {number|boolean} value2
2769
+ * @param {number|boolean} value3
2770
+ * @param {number|boolean} value4
2771
+ * @return {undefined}
2772
+ */
2773
+ WebGLRenderingContext.prototype.uniform4i = function(
2774
+ location, value1, value2, value3, value4) {};
2775
+
2776
+ /**
2777
+ * @param {WebGLUniformLocation} location
2778
+ * @param {Int32Array|Array<number>|Array<boolean>} value
2779
+ * @return {undefined}
2780
+ */
2781
+ WebGLRenderingContext.prototype.uniform4iv = function(location, value) {};
2782
+
2783
+ /**
2784
+ * @param {WebGLUniformLocation} location
2785
+ * @param {boolean} transpose
2786
+ * @param {Float32Array|Array<number>} data
2787
+ * @return {undefined}
2788
+ */
2789
+ WebGLRenderingContext.prototype.uniformMatrix2fv = function(
2790
+ location, transpose, data) {};
2791
+
2792
+ /**
2793
+ * @param {WebGLUniformLocation} location
2794
+ * @param {boolean} transpose
2795
+ * @param {Float32Array|Array<number>} data
2796
+ * @return {undefined}
2797
+ */
2798
+ WebGLRenderingContext.prototype.uniformMatrix3fv = function(
2799
+ location, transpose, data) {};
2800
+
2801
+ /**
2802
+ * @param {WebGLUniformLocation} location
2803
+ * @param {boolean} transpose
2804
+ * @param {Float32Array|Array<number>} data
2805
+ * @return {undefined}
2806
+ */
2807
+ WebGLRenderingContext.prototype.uniformMatrix4fv = function(
2808
+ location, transpose, data) {};
2809
+
2810
+ /**
2811
+ * @param {WebGLProgram} program
2812
+ * @return {undefined}
2813
+ */
2814
+ WebGLRenderingContext.prototype.useProgram = function(program) {};
2815
+
2816
+ /**
2817
+ * @param {WebGLProgram} program
2818
+ * @return {undefined}
2819
+ */
2820
+ WebGLRenderingContext.prototype.validateProgram = function(program) {};
2821
+
2822
+ /**
2823
+ * @param {number} indx
2824
+ * @param {number} x
2825
+ * @return {undefined}
2826
+ */
2827
+ WebGLRenderingContext.prototype.vertexAttrib1f = function(indx, x) {};
2828
+
2829
+ /**
2830
+ * @param {number} indx
2831
+ * @param {Float32Array|Array<number>} values
2832
+ * @return {undefined}
2833
+ */
2834
+ WebGLRenderingContext.prototype.vertexAttrib1fv = function(indx, values) {};
2835
+
2836
+ /**
2837
+ * @param {number} indx
2838
+ * @param {number} x
2839
+ * @param {number} y
2840
+ * @return {undefined}
2841
+ */
2842
+ WebGLRenderingContext.prototype.vertexAttrib2f = function(
2843
+ indx, x, y) {};
2844
+
2845
+ /**
2846
+ * @param {number} indx
2847
+ * @param {Float32Array|Array<number>} values
2848
+ * @return {undefined}
2849
+ */
2850
+ WebGLRenderingContext.prototype.vertexAttrib2fv = function(
2851
+ indx, values) {};
2852
+
2853
+ /**
2854
+ * @param {number} indx
2855
+ * @param {number} x
2856
+ * @param {number} y
2857
+ * @param {number} z
2858
+ * @return {undefined}
2859
+ */
2860
+ WebGLRenderingContext.prototype.vertexAttrib3f = function(
2861
+ indx, x, y, z) {};
2862
+
2863
+ /**
2864
+ * @param {number} indx
2865
+ * @param {Float32Array|Array<number>} values
2866
+ * @return {undefined}
2867
+ */
2868
+ WebGLRenderingContext.prototype.vertexAttrib3fv = function(indx, values) {};
2869
+
2870
+ /**
2871
+ * @param {number} indx
2872
+ * @param {number} x
2873
+ * @param {number} y
2874
+ * @param {number} z
2875
+ * @param {number} w
2876
+ * @return {undefined}
2877
+ */
2878
+ WebGLRenderingContext.prototype.vertexAttrib4f = function(
2879
+ indx, x, y, z, w) {};
2880
+
2881
+ /**
2882
+ * @param {number} indx
2883
+ * @param {Float32Array|Array<number>} values
2884
+ * @return {undefined}
2885
+ */
2886
+ WebGLRenderingContext.prototype.vertexAttrib4fv = function(indx, values) {};
2887
+
2888
+ /**
2889
+ * @param {number} indx
2890
+ * @param {number} size
2891
+ * @param {number} type
2892
+ * @param {boolean} normalized
2893
+ * @param {number} stride
2894
+ * @param {number} offset
2895
+ * @return {undefined}
2896
+ */
2897
+ WebGLRenderingContext.prototype.vertexAttribPointer = function(
2898
+ indx, size, type, normalized, stride, offset) {};
2899
+
2900
+ /**
2901
+ * @param {number} x
2902
+ * @param {number} y
2903
+ * @param {number} width
2904
+ * @param {number} height
2905
+ * @return {undefined}
2906
+ */
2907
+ WebGLRenderingContext.prototype.viewport = function(x, y, width, height) {};
2908
+
2909
+
2910
+ /**
2911
+ * @constructor
2912
+ */
2913
+ function WebGLContextAttributes() {}
2914
+
2915
+ /**
2916
+ * @type {boolean}
2917
+ */
2918
+ WebGLContextAttributes.prototype.alpha;
2919
+
2920
+ /**
2921
+ * @type {boolean}
2922
+ */
2923
+ WebGLContextAttributes.prototype.depth;
2924
+
2925
+ /**
2926
+ * @type {boolean}
2927
+ */
2928
+ WebGLContextAttributes.prototype.stencil;
2929
+
2930
+ /**
2931
+ * @type {boolean}
2932
+ */
2933
+ WebGLContextAttributes.prototype.antialias;
2934
+
2935
+ /**
2936
+ * @type {boolean}
2937
+ */
2938
+ WebGLContextAttributes.prototype.premultipliedAlpha;
2939
+
2940
+ /**
2941
+ * @type {boolean}
2942
+ */
2943
+ WebGLContextAttributes.prototype.preserveDrawingBuffer;
2944
+
2945
+ /**
2946
+ * @type {boolean}
2947
+ */
2948
+ WebGLContextAttributes.prototype.desynchronized;
2949
+
2950
+ /**
2951
+ * @type {boolean}
2952
+ */
2953
+ WebGLContextAttributes.prototype.failIfMajorPerformanceCaveat;
2954
+
2955
+ /**
2956
+ * Possible values: 'default', 'low-power', 'high-performance'
2957
+ * @type {string}
2958
+ */
2959
+ WebGLContextAttributes.prototype.powerPreference;
2960
+
2961
+ /**
2962
+ * @param {string} eventType
2963
+ * @constructor
2964
+ * @extends {Event}
2965
+ */
2966
+ function WebGLContextEvent(eventType) {}
2967
+
2968
+ /**
2969
+ * @type {string}
2970
+ */
2971
+ WebGLContextEvent.prototype.statusMessage;
2972
+
2973
+
2974
+ /**
2975
+ * @constructor
2976
+ */
2977
+ function WebGLShaderPrecisionFormat() {}
2978
+
2979
+ /**
2980
+ * @type {number}
2981
+ */
2982
+ WebGLShaderPrecisionFormat.prototype.rangeMin;
2983
+
2984
+ /**
2985
+ * @type {number}
2986
+ */
2987
+ WebGLShaderPrecisionFormat.prototype.rangeMax;
2988
+
2989
+ /**
2990
+ * @type {number}
2991
+ */
2992
+ WebGLShaderPrecisionFormat.prototype.precision;
2993
+
2994
+ /**
2995
+ * @typedef {{
2996
+ * COMPLETION_STATUS_KHR: number
2997
+ * }}
2998
+ */
2999
+ var KHR_parallel_shader_compile;
3000
+
3001
+ /**
3002
+ * @constructor
3003
+ */
3004
+ function WebGLObject() {}
3005
+
3006
+
3007
+ /**
3008
+ * @constructor
3009
+ * @extends {WebGLObject}
3010
+ */
3011
+ function WebGLBuffer() {}
3012
+
3013
+
3014
+ /**
3015
+ * @constructor
3016
+ * @extends {WebGLObject}
3017
+ */
3018
+ function WebGLFramebuffer() {}
3019
+
3020
+
3021
+ /**
3022
+ * @constructor
3023
+ * @extends {WebGLObject}
3024
+ */
3025
+ function WebGLProgram() {}
3026
+
3027
+
3028
+ /**
3029
+ * @constructor
3030
+ * @extends {WebGLObject}
3031
+ */
3032
+ function WebGLRenderbuffer() {}
3033
+
3034
+
3035
+ /**
3036
+ * @constructor
3037
+ * @extends {WebGLObject}
3038
+ */
3039
+ function WebGLShader() {}
3040
+
3041
+
3042
+ /**
3043
+ * @constructor
3044
+ * @extends {WebGLObject}
3045
+ */
3046
+ function WebGLTexture() {}
3047
+
3048
+
3049
+ /**
3050
+ * @constructor
3051
+ */
3052
+ function WebGLActiveInfo() {}
3053
+
3054
+ /** @type {number} */
3055
+ WebGLActiveInfo.prototype.size;
3056
+
3057
+ /** @type {number} */
3058
+ WebGLActiveInfo.prototype.type;
3059
+
3060
+ /** @type {string} */
3061
+ WebGLActiveInfo.prototype.name;
3062
+
3063
+
3064
+ /**
3065
+ * @constructor
3066
+ */
3067
+ function WebGLUniformLocation() {}
3068
+
3069
+
3070
+ /**
3071
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
3072
+ * @constructor
3073
+ */
3074
+ function OES_texture_float() {}
3075
+
3076
+
3077
+ /**
3078
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
3079
+ * @constructor
3080
+ */
3081
+ function OES_texture_half_float() {}
3082
+
3083
+ /** @type {number} */
3084
+ OES_texture_half_float.prototype.HALF_FLOAT_OES;
3085
+
3086
+
3087
+ /**
3088
+ * @see http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
3089
+ * @constructor
3090
+ */
3091
+ function WEBGL_lose_context() {}
3092
+
3093
+ WEBGL_lose_context.prototype.loseContext = function() {};
3094
+
3095
+ WEBGL_lose_context.prototype.restoreContext = function() {};
3096
+
3097
+
3098
+ /**
3099
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
3100
+ * @constructor
3101
+ */
3102
+ function OES_standard_derivatives() {}
3103
+
3104
+ /** @type {number} */
3105
+ OES_standard_derivatives.prototype.FRAGMENT_SHADER_DERIVATIVE_HINT_OES;
3106
+
3107
+
3108
+ /**
3109
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3110
+ * @constructor
3111
+ * @extends {WebGLObject}
3112
+ */
3113
+ function WebGLVertexArrayObjectOES() {}
3114
+
3115
+
3116
+ /**
3117
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3118
+ * @constructor
3119
+ */
3120
+ function OES_vertex_array_object() {}
3121
+
3122
+ /** @type {number} */
3123
+ OES_vertex_array_object.prototype.VERTEX_ARRAY_BINDING_OES;
3124
+
3125
+ /**
3126
+ * @return {WebGLVertexArrayObjectOES}
3127
+ * @nosideeffects
3128
+ */
3129
+ OES_vertex_array_object.prototype.createVertexArrayOES = function() {};
3130
+
3131
+ /**
3132
+ * @param {WebGLVertexArrayObjectOES} arrayObject
3133
+ * @return {undefined}
3134
+ */
3135
+ OES_vertex_array_object.prototype.deleteVertexArrayOES =
3136
+ function(arrayObject) {};
3137
+
3138
+ /**
3139
+ * @param {WebGLVertexArrayObjectOES} arrayObject
3140
+ * @return {boolean}
3141
+ * @nosideeffects
3142
+ */
3143
+ OES_vertex_array_object.prototype.isVertexArrayOES = function(arrayObject) {};
3144
+
3145
+ /**
3146
+ * @param {WebGLVertexArrayObjectOES} arrayObject
3147
+ * @return {undefined}
3148
+ */
3149
+ OES_vertex_array_object.prototype.bindVertexArrayOES = function(arrayObject) {};
3150
+
3151
+
3152
+ /**
3153
+ * @see http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
3154
+ * @constructor
3155
+ */
3156
+ function WEBGL_debug_renderer_info() {}
3157
+
3158
+ /** @const {number} */
3159
+ WEBGL_debug_renderer_info.prototype.UNMASKED_VENDOR_WEBGL;
3160
+
3161
+ /** @const {number} */
3162
+ WEBGL_debug_renderer_info.prototype.UNMASKED_RENDERER_WEBGL;
3163
+
3164
+
3165
+ /**
3166
+ * @see http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
3167
+ * @constructor
3168
+ */
3169
+ function WEBGL_debug_shaders() {}
3170
+
3171
+ /**
3172
+ * @param {WebGLShader} shader
3173
+ * @return {string}
3174
+ * @nosideeffects
3175
+ */
3176
+ WEBGL_debug_shaders.prototype.getTranslatedShaderSource = function(shader) {};
3177
+
3178
+
3179
+ /**
3180
+ * @see http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/
3181
+ * @constructor
3182
+ */
3183
+ function WEBGL_compressed_texture_s3tc() {}
3184
+
3185
+ /** @const {number} */
3186
+ WEBGL_compressed_texture_s3tc.prototype.COMPRESSED_RGB_S3TC_DXT1_EXT;
3187
+
3188
+ /** @const {number} */
3189
+ WEBGL_compressed_texture_s3tc.prototype.COMPRESSED_RGBA_S3TC_DXT1_EXT;
3190
+
3191
+ /** @const {number} */
3192
+ WEBGL_compressed_texture_s3tc.prototype.COMPRESSED_RGBA_S3TC_DXT3_EXT;
3193
+
3194
+ /** @const {number} */
3195
+ WEBGL_compressed_texture_s3tc.prototype.COMPRESSED_RGBA_S3TC_DXT5_EXT;
3196
+
3197
+
3198
+ /**
3199
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_depth_texture/
3200
+ * @constructor
3201
+ */
3202
+ function OES_depth_texture() {}
3203
+
3204
+
3205
+ /**
3206
+ * @see http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
3207
+ * @constructor
3208
+ */
3209
+ function OES_element_index_uint() {}
3210
+
3211
+
3212
+ /**
3213
+ * @see http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/
3214
+ * @constructor
3215
+ */
3216
+ function EXT_texture_filter_anisotropic() {}
3217
+
3218
+ /** @const {number} */
3219
+ EXT_texture_filter_anisotropic.prototype.TEXTURE_MAX_ANISOTROPY_EXT;
3220
+
3221
+ /** @const {number} */
3222
+ EXT_texture_filter_anisotropic.prototype.MAX_TEXTURE_MAX_ANISOTROPY_EXT;
3223
+
3224
+
3225
+ /**
3226
+ * @see https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_buffers/
3227
+ * @constructor
3228
+ */
3229
+ function WEBGL_draw_buffers() {}
3230
+
3231
+ /** @const {number} */
3232
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT0_WEBGL;
3233
+
3234
+ /** @const {number} */
3235
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT1_WEBGL;
3236
+
3237
+ /** @const {number} */
3238
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT2_WEBGL;
3239
+
3240
+ /** @const {number} */
3241
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT3_WEBGL;
3242
+
3243
+ /** @const {number} */
3244
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT4_WEBGL;
3245
+
3246
+ /** @const {number} */
3247
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT5_WEBGL;
3248
+
3249
+ /** @const {number} */
3250
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT6_WEBGL;
3251
+
3252
+ /** @const {number} */
3253
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT7_WEBGL;
3254
+
3255
+ /** @const {number} */
3256
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT8_WEBGL;
3257
+
3258
+ /** @const {number} */
3259
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT9_WEBGL;
3260
+
3261
+ /** @const {number} */
3262
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT10_WEBGL;
3263
+
3264
+ /** @const {number} */
3265
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT11_WEBGL;
3266
+
3267
+ /** @const {number} */
3268
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT12_WEBGL;
3269
+
3270
+ /** @const {number} */
3271
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT13_WEBGL;
3272
+
3273
+ /** @const {number} */
3274
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT14_WEBGL;
3275
+
3276
+ /** @const {number} */
3277
+ WEBGL_draw_buffers.prototype.COLOR_ATTACHMENT15_WEBGL;
3278
+
3279
+ /** @const {number} */
3280
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER0_WEBGL;
3281
+
3282
+ /** @const {number} */
3283
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER1_WEBGL;
3284
+
3285
+ /** @const {number} */
3286
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER2_WEBGL;
3287
+
3288
+ /** @const {number} */
3289
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER3_WEBGL;
3290
+
3291
+ /** @const {number} */
3292
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER4_WEBGL;
3293
+
3294
+ /** @const {number} */
3295
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER5_WEBGL;
3296
+
3297
+ /** @const {number} */
3298
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER6_WEBGL;
3299
+
3300
+ /** @const {number} */
3301
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER7_WEBGL;
3302
+
3303
+ /** @const {number} */
3304
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER8_WEBGL;
3305
+
3306
+ /** @const {number} */
3307
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER9_WEBGL;
3308
+
3309
+ /** @const {number} */
3310
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER10_WEBGL;
3311
+
3312
+ /** @const {number} */
3313
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER11_WEBGL;
3314
+
3315
+ /** @const {number} */
3316
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER12_WEBGL;
3317
+
3318
+ /** @const {number} */
3319
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER13_WEBGL;
3320
+
3321
+ /** @const {number} */
3322
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER14_WEBGL;
3323
+
3324
+ /** @const {number} */
3325
+ WEBGL_draw_buffers.prototype.DRAW_BUFFER15_WEBGL;
3326
+
3327
+ /** @const {number} */
3328
+ WEBGL_draw_buffers.prototype.MAX_COLOR_ATTACHMENTS_WEBGL;
3329
+
3330
+ /** @const {number} */
3331
+ WEBGL_draw_buffers.prototype.MAX_DRAW_BUFFERS_WEBGL;
3332
+
3333
+ /**
3334
+ * @param {Array<number>} buffers Draw buffers.
3335
+ * @return {undefined}
3336
+ */
3337
+ WEBGL_draw_buffers.prototype.drawBuffersWEBGL = function(buffers) {};
3338
+
3339
+
3340
+ /**
3341
+ * @see http://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/
3342
+ * @constructor
3343
+ */
3344
+ function ANGLE_instanced_arrays() {}
3345
+
3346
+
3347
+ /** @const {number} */
3348
+ ANGLE_instanced_arrays.prototype.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE;
3349
+
3350
+
3351
+ /**
3352
+ * @param {number} mode Primitive type.
3353
+ * @param {number} first First vertex.
3354
+ * @param {number} count Number of vertices per instance.
3355
+ * @param {number} primcount Number of instances.
3356
+ * @return {undefined}
3357
+ */
3358
+ ANGLE_instanced_arrays.prototype.drawArraysInstancedANGLE = function(
3359
+ mode, first, count, primcount) {};
3360
+
3361
+
3362
+ /**
3363
+ * @param {number} mode Primitive type.
3364
+ * @param {number} count Number of vertex indices per instance.
3365
+ * @param {number} type Type of a vertex index.
3366
+ * @param {number} offset Offset to the first vertex index.
3367
+ * @param {number} primcount Number of instances.
3368
+ * @return {undefined}
3369
+ */
3370
+ ANGLE_instanced_arrays.prototype.drawElementsInstancedANGLE = function(
3371
+ mode, count, type, offset, primcount) {};
3372
+
3373
+
3374
+ /**
3375
+ * @param {number} index Attribute index.
3376
+ * @param {number} divisor Instance divisor.
3377
+ * @return {undefined}
3378
+ */
3379
+ ANGLE_instanced_arrays.prototype.vertexAttribDivisorANGLE = function(
3380
+ index, divisor) {};
3381
+
3382
+
3383
+ /**
3384
+ * @see https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/
3385
+ * @interface
3386
+ */
3387
+ function EXT_color_buffer_half_float() {}
3388
+
3389
+ /** @const {number} */
3390
+ EXT_color_buffer_half_float.prototype.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT;
3391
+
3392
+ /** @const {number} */
3393
+ EXT_color_buffer_half_float.prototype.RGB16F_EXT;
3394
+
3395
+ /** @const {number} */
3396
+ EXT_color_buffer_half_float.prototype.RGBA16F_EXT;
3397
+
3398
+ /** @const {number} */
3399
+ EXT_color_buffer_half_float.prototype.UNSIGNED_NORMALIZED_EXT;
3400
+
3401
+
3402
+ /**
3403
+ * @see https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc1/
3404
+ * @interface
3405
+ */
3406
+ function WEBGL_compressed_texture_etc1() {}
3407
+
3408
+ /** @const {number} */
3409
+ WEBGL_compressed_texture_etc1.prototype.COMPRESSED_RGB_ETC1_WEBGL;