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,2727 @@
1
+ /*
2
+ * Copyright 2018 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 2.0 spec.
22
+ *
23
+ * This relies on webgl.js and html5.js being included for WebGL1, Canvas and
24
+ * Typed Array support.
25
+ *
26
+ * @externs
27
+ */
28
+
29
+
30
+ /**
31
+ * @constructor
32
+ * @extends {WebGLRenderingContext}
33
+ */
34
+ function WebGL2RenderingContext() {}
35
+
36
+
37
+
38
+ /** @const {number} */
39
+ WebGL2RenderingContext.UNPACK_ROW_LENGTH;
40
+
41
+ /** @const {number} */
42
+ WebGL2RenderingContext.UNPACK_SKIP_ROWS;
43
+
44
+ /** @const {number} */
45
+ WebGL2RenderingContext.UNPACK_SKIP_PIXELS;
46
+
47
+ /** @const {number} */
48
+ WebGL2RenderingContext.PACK_ROW_LENGTH;
49
+
50
+ /** @const {number} */
51
+ WebGL2RenderingContext.PACK_SKIP_ROWS;
52
+
53
+ /** @const {number} */
54
+ WebGL2RenderingContext.PACK_SKIP_PIXELS;
55
+
56
+ /** @const {number} */
57
+ WebGL2RenderingContext.COLOR;
58
+
59
+ /** @const {number} */
60
+ WebGL2RenderingContext.DEPTH;
61
+
62
+ /** @const {number} */
63
+ WebGL2RenderingContext.STENCIL;
64
+
65
+ /** @const {number} */
66
+ WebGL2RenderingContext.RED;
67
+
68
+ /** @const {number} */
69
+ WebGL2RenderingContext.RGB8;
70
+
71
+ /** @const {number} */
72
+ WebGL2RenderingContext.RGBA8;
73
+
74
+ /** @const {number} */
75
+ WebGL2RenderingContext.RGB10_A2;
76
+
77
+ /** @const {number} */
78
+ WebGL2RenderingContext.TEXTURE_BINDING_3D;
79
+
80
+ /** @const {number} */
81
+ WebGL2RenderingContext.UNPACK_SKIP_IMAGES;
82
+
83
+ /** @const {number} */
84
+ WebGL2RenderingContext.UNPACK_IMAGE_HEIGHT;
85
+
86
+ /** @const {number} */
87
+ WebGL2RenderingContext.TEXTURE_3D;
88
+
89
+ /** @const {number} */
90
+ WebGL2RenderingContext.TEXTURE_WRAP_R;
91
+
92
+ /** @const {number} */
93
+ WebGL2RenderingContext.MAX_3D_TEXTURE_SIZE;
94
+
95
+ /** @const {number} */
96
+ WebGL2RenderingContext.UNSIGNED_INT_2_10_10_10_REV;
97
+
98
+ /** @const {number} */
99
+ WebGL2RenderingContext.MAX_ELEMENTS_VERTICES;
100
+
101
+ /** @const {number} */
102
+ WebGL2RenderingContext.MAX_ELEMENTS_INDICES;
103
+
104
+ /** @const {number} */
105
+ WebGL2RenderingContext.TEXTURE_MIN_LOD;
106
+
107
+ /** @const {number} */
108
+ WebGL2RenderingContext.TEXTURE_MAX_LOD;
109
+
110
+ /** @const {number} */
111
+ WebGL2RenderingContext.TEXTURE_BASE_LEVEL;
112
+
113
+ /** @const {number} */
114
+ WebGL2RenderingContext.TEXTURE_MAX_LEVEL;
115
+
116
+ /** @const {number} */
117
+ WebGL2RenderingContext.MIN;
118
+
119
+ /** @const {number} */
120
+ WebGL2RenderingContext.MAX;
121
+
122
+ /** @const {number} */
123
+ WebGL2RenderingContext.DEPTH_COMPONENT24;
124
+
125
+ /** @const {number} */
126
+ WebGL2RenderingContext.MAX_TEXTURE_LOD_BIAS;
127
+
128
+ /** @const {number} */
129
+ WebGL2RenderingContext.TEXTURE_COMPARE_MODE;
130
+
131
+ /** @const {number} */
132
+ WebGL2RenderingContext.TEXTURE_COMPARE_FUNC;
133
+
134
+ /** @const {number} */
135
+ WebGL2RenderingContext.CURRENT_QUERY;
136
+
137
+ /** @const {number} */
138
+ WebGL2RenderingContext.QUERY_RESULT;
139
+
140
+ /** @const {number} */
141
+ WebGL2RenderingContext.QUERY_RESULT_AVAILABLE;
142
+
143
+ /** @const {number} */
144
+ WebGL2RenderingContext.STREAM_READ;
145
+
146
+ /** @const {number} */
147
+ WebGL2RenderingContext.STREAM_COPY;
148
+
149
+ /** @const {number} */
150
+ WebGL2RenderingContext.STATIC_READ;
151
+
152
+ /** @const {number} */
153
+ WebGL2RenderingContext.STATIC_COPY;
154
+
155
+ /** @const {number} */
156
+ WebGL2RenderingContext.DYNAMIC_READ;
157
+
158
+ /** @const {number} */
159
+ WebGL2RenderingContext.DYNAMIC_COPY;
160
+
161
+ /** @const {number} */
162
+ WebGL2RenderingContext.MAX_DRAW_BUFFERS;
163
+
164
+ /** @const {number} */
165
+ WebGL2RenderingContext.DRAW_BUFFER0;
166
+
167
+ /** @const {number} */
168
+ WebGL2RenderingContext.DRAW_BUFFER1;
169
+
170
+ /** @const {number} */
171
+ WebGL2RenderingContext.DRAW_BUFFER2;
172
+
173
+ /** @const {number} */
174
+ WebGL2RenderingContext.DRAW_BUFFER3;
175
+
176
+ /** @const {number} */
177
+ WebGL2RenderingContext.DRAW_BUFFER4;
178
+
179
+ /** @const {number} */
180
+ WebGL2RenderingContext.DRAW_BUFFER5;
181
+
182
+ /** @const {number} */
183
+ WebGL2RenderingContext.DRAW_BUFFER6;
184
+
185
+ /** @const {number} */
186
+ WebGL2RenderingContext.DRAW_BUFFER7;
187
+
188
+ /** @const {number} */
189
+ WebGL2RenderingContext.DRAW_BUFFER8;
190
+
191
+ /** @const {number} */
192
+ WebGL2RenderingContext.DRAW_BUFFER9;
193
+
194
+ /** @const {number} */
195
+ WebGL2RenderingContext.DRAW_BUFFER10;
196
+
197
+ /** @const {number} */
198
+ WebGL2RenderingContext.DRAW_BUFFER11;
199
+
200
+ /** @const {number} */
201
+ WebGL2RenderingContext.DRAW_BUFFER12;
202
+
203
+ /** @const {number} */
204
+ WebGL2RenderingContext.DRAW_BUFFER13;
205
+
206
+ /** @const {number} */
207
+ WebGL2RenderingContext.DRAW_BUFFER14;
208
+
209
+ /** @const {number} */
210
+ WebGL2RenderingContext.DRAW_BUFFER15;
211
+
212
+ /** @const {number} */
213
+ WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_COMPONENTS;
214
+
215
+ /** @const {number} */
216
+ WebGL2RenderingContext.MAX_VERTEX_UNIFORM_COMPONENTS;
217
+
218
+ /** @const {number} */
219
+ WebGL2RenderingContext.SAMPLER_3D;
220
+
221
+ /** @const {number} */
222
+ WebGL2RenderingContext.SAMPLER_2D_SHADOW;
223
+
224
+ /** @const {number} */
225
+ WebGL2RenderingContext.FRAGMENT_SHADER_DERIVATIVE_HINT;
226
+
227
+ /** @const {number} */
228
+ WebGL2RenderingContext.PIXEL_PACK_BUFFER;
229
+
230
+ /** @const {number} */
231
+ WebGL2RenderingContext.PIXEL_UNPACK_BUFFER;
232
+
233
+ /** @const {number} */
234
+ WebGL2RenderingContext.PIXEL_PACK_BUFFER_BINDING;
235
+
236
+ /** @const {number} */
237
+ WebGL2RenderingContext.PIXEL_UNPACK_BUFFER_BINDING;
238
+
239
+ /** @const {number} */
240
+ WebGL2RenderingContext.FLOAT_MAT2x3;
241
+
242
+ /** @const {number} */
243
+ WebGL2RenderingContext.FLOAT_MAT2x4;
244
+
245
+ /** @const {number} */
246
+ WebGL2RenderingContext.FLOAT_MAT3x2;
247
+
248
+ /** @const {number} */
249
+ WebGL2RenderingContext.FLOAT_MAT3x4;
250
+
251
+ /** @const {number} */
252
+ WebGL2RenderingContext.FLOAT_MAT4x2;
253
+
254
+ /** @const {number} */
255
+ WebGL2RenderingContext.FLOAT_MAT4x3;
256
+
257
+ /** @const {number} */
258
+ WebGL2RenderingContext.SRGB;
259
+
260
+ /** @const {number} */
261
+ WebGL2RenderingContext.SRGB8;
262
+
263
+ /** @const {number} */
264
+ WebGL2RenderingContext.SRGB8_ALPHA8;
265
+
266
+ /** @const {number} */
267
+ WebGL2RenderingContext.COMPARE_REF_TO_TEXTURE;
268
+
269
+ /** @const {number} */
270
+ WebGL2RenderingContext.RGBA32F;
271
+
272
+ /** @const {number} */
273
+ WebGL2RenderingContext.RGB32F;
274
+
275
+ /** @const {number} */
276
+ WebGL2RenderingContext.RGBA16F;
277
+
278
+ /** @const {number} */
279
+ WebGL2RenderingContext.RGB16F;
280
+
281
+ /** @const {number} */
282
+ WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_INTEGER;
283
+
284
+ /** @const {number} */
285
+ WebGL2RenderingContext.MAX_ARRAY_TEXTURE_LAYERS;
286
+
287
+ /** @const {number} */
288
+ WebGL2RenderingContext.MIN_PROGRAM_TEXEL_OFFSET;
289
+
290
+ /** @const {number} */
291
+ WebGL2RenderingContext.MAX_PROGRAM_TEXEL_OFFSET;
292
+
293
+ /** @const {number} */
294
+ WebGL2RenderingContext.MAX_VARYING_COMPONENTS;
295
+
296
+ /** @const {number} */
297
+ WebGL2RenderingContext.TEXTURE_2D_ARRAY;
298
+
299
+ /** @const {number} */
300
+ WebGL2RenderingContext.TEXTURE_BINDING_2D_ARRAY;
301
+
302
+ /** @const {number} */
303
+ WebGL2RenderingContext.R11F_G11F_B10F;
304
+
305
+ /** @const {number} */
306
+ WebGL2RenderingContext.UNSIGNED_INT_10F_11F_11F_REV;
307
+
308
+ /** @const {number} */
309
+ WebGL2RenderingContext.RGB9_E5;
310
+
311
+ /** @const {number} */
312
+ WebGL2RenderingContext.UNSIGNED_INT_5_9_9_9_REV;
313
+
314
+ /** @const {number} */
315
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_MODE;
316
+
317
+ /** @const {number} */
318
+ WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS;
319
+
320
+ /** @const {number} */
321
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_VARYINGS;
322
+
323
+ /** @const {number} */
324
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_START;
325
+
326
+ /** @const {number} */
327
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_SIZE;
328
+
329
+ /** @const {number} */
330
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN;
331
+
332
+ /** @const {number} */
333
+ WebGL2RenderingContext.RASTERIZER_DISCARD;
334
+
335
+ /** @const {number} */
336
+ WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS;
337
+
338
+ /** @const {number} */
339
+ WebGL2RenderingContext.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS;
340
+
341
+ /** @const {number} */
342
+ WebGL2RenderingContext.INTERLEAVED_ATTRIBS;
343
+
344
+ /** @const {number} */
345
+ WebGL2RenderingContext.SEPARATE_ATTRIBS;
346
+
347
+ /** @const {number} */
348
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER;
349
+
350
+ /** @const {number} */
351
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_BUFFER_BINDING;
352
+
353
+ /** @const {number} */
354
+ WebGL2RenderingContext.RGBA32UI;
355
+
356
+ /** @const {number} */
357
+ WebGL2RenderingContext.RGB32UI;
358
+
359
+ /** @const {number} */
360
+ WebGL2RenderingContext.RGBA16UI;
361
+
362
+ /** @const {number} */
363
+ WebGL2RenderingContext.RGB16UI;
364
+
365
+ /** @const {number} */
366
+ WebGL2RenderingContext.RGBA8UI;
367
+
368
+ /** @const {number} */
369
+ WebGL2RenderingContext.RGB8UI;
370
+
371
+ /** @const {number} */
372
+ WebGL2RenderingContext.RGBA32I;
373
+
374
+ /** @const {number} */
375
+ WebGL2RenderingContext.RGB32I;
376
+
377
+ /** @const {number} */
378
+ WebGL2RenderingContext.RGBA16I;
379
+
380
+ /** @const {number} */
381
+ WebGL2RenderingContext.RGB16I;
382
+
383
+ /** @const {number} */
384
+ WebGL2RenderingContext.RGBA8I;
385
+
386
+ /** @const {number} */
387
+ WebGL2RenderingContext.RGB8I;
388
+
389
+ /** @const {number} */
390
+ WebGL2RenderingContext.RED_INTEGER;
391
+
392
+ /** @const {number} */
393
+ WebGL2RenderingContext.RGB_INTEGER;
394
+
395
+ /** @const {number} */
396
+ WebGL2RenderingContext.RGBA_INTEGER;
397
+
398
+ /** @const {number} */
399
+ WebGL2RenderingContext.SAMPLER_2D_ARRAY;
400
+
401
+ /** @const {number} */
402
+ WebGL2RenderingContext.SAMPLER_2D_ARRAY_SHADOW;
403
+
404
+ /** @const {number} */
405
+ WebGL2RenderingContext.SAMPLER_CUBE_SHADOW;
406
+
407
+ /** @const {number} */
408
+ WebGL2RenderingContext.UNSIGNED_INT_VEC2;
409
+
410
+ /** @const {number} */
411
+ WebGL2RenderingContext.UNSIGNED_INT_VEC3;
412
+
413
+ /** @const {number} */
414
+ WebGL2RenderingContext.UNSIGNED_INT_VEC4;
415
+
416
+ /** @const {number} */
417
+ WebGL2RenderingContext.INT_SAMPLER_2D;
418
+
419
+ /** @const {number} */
420
+ WebGL2RenderingContext.INT_SAMPLER_3D;
421
+
422
+ /** @const {number} */
423
+ WebGL2RenderingContext.INT_SAMPLER_CUBE;
424
+
425
+ /** @const {number} */
426
+ WebGL2RenderingContext.INT_SAMPLER_2D_ARRAY;
427
+
428
+ /** @const {number} */
429
+ WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D;
430
+
431
+ /** @const {number} */
432
+ WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_3D;
433
+
434
+ /** @const {number} */
435
+ WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_CUBE;
436
+
437
+ /** @const {number} */
438
+ WebGL2RenderingContext.UNSIGNED_INT_SAMPLER_2D_ARRAY;
439
+
440
+ /** @const {number} */
441
+ WebGL2RenderingContext.DEPTH_COMPONENT32F;
442
+
443
+ /** @const {number} */
444
+ WebGL2RenderingContext.DEPTH32F_STENCIL8;
445
+
446
+ /** @const {number} */
447
+ WebGL2RenderingContext.FLOAT_32_UNSIGNED_INT_24_8_REV;
448
+
449
+ /** @const {number} */
450
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING;
451
+
452
+ /** @const {number} */
453
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE;
454
+
455
+ /** @const {number} */
456
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_RED_SIZE;
457
+
458
+ /** @const {number} */
459
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE;
460
+
461
+ /** @const {number} */
462
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE;
463
+
464
+ /** @const {number} */
465
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE;
466
+
467
+ /** @const {number} */
468
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE;
469
+
470
+ /** @const {number} */
471
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE;
472
+
473
+ /** @const {number} */
474
+ WebGL2RenderingContext.FRAMEBUFFER_DEFAULT;
475
+
476
+ /** @const {number} */
477
+ WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT;
478
+
479
+ /** @const {number} */
480
+ WebGL2RenderingContext.DEPTH_STENCIL;
481
+
482
+ /** @const {number} */
483
+ WebGL2RenderingContext.UNSIGNED_INT_24_8;
484
+
485
+ /** @const {number} */
486
+ WebGL2RenderingContext.DEPTH24_STENCIL8;
487
+
488
+ /** @const {number} */
489
+ WebGL2RenderingContext.UNSIGNED_NORMALIZED;
490
+
491
+ /** @const {number} */
492
+ WebGL2RenderingContext.DRAW_FRAMEBUFFER_BINDING;
493
+
494
+ /** @const {number} */
495
+ WebGL2RenderingContext.READ_FRAMEBUFFER;
496
+
497
+ /** @const {number} */
498
+ WebGL2RenderingContext.DRAW_FRAMEBUFFER;
499
+
500
+ /** @const {number} */
501
+ WebGL2RenderingContext.READ_FRAMEBUFFER_BINDING;
502
+
503
+ /** @const {number} */
504
+ WebGL2RenderingContext.RENDERBUFFER_SAMPLES;
505
+
506
+ /** @const {number} */
507
+ WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER;
508
+
509
+ /** @const {number} */
510
+ WebGL2RenderingContext.MAX_COLOR_ATTACHMENTS;
511
+
512
+ /** @const {number} */
513
+ WebGL2RenderingContext.COLOR_ATTACHMENT1;
514
+
515
+ /** @const {number} */
516
+ WebGL2RenderingContext.COLOR_ATTACHMENT2;
517
+
518
+ /** @const {number} */
519
+ WebGL2RenderingContext.COLOR_ATTACHMENT3;
520
+
521
+ /** @const {number} */
522
+ WebGL2RenderingContext.COLOR_ATTACHMENT4;
523
+
524
+ /** @const {number} */
525
+ WebGL2RenderingContext.COLOR_ATTACHMENT5;
526
+
527
+ /** @const {number} */
528
+ WebGL2RenderingContext.COLOR_ATTACHMENT6;
529
+
530
+ /** @const {number} */
531
+ WebGL2RenderingContext.COLOR_ATTACHMENT7;
532
+
533
+ /** @const {number} */
534
+ WebGL2RenderingContext.COLOR_ATTACHMENT8;
535
+
536
+ /** @const {number} */
537
+ WebGL2RenderingContext.COLOR_ATTACHMENT9;
538
+
539
+ /** @const {number} */
540
+ WebGL2RenderingContext.COLOR_ATTACHMENT10;
541
+
542
+ /** @const {number} */
543
+ WebGL2RenderingContext.COLOR_ATTACHMENT11;
544
+
545
+ /** @const {number} */
546
+ WebGL2RenderingContext.COLOR_ATTACHMENT12;
547
+
548
+ /** @const {number} */
549
+ WebGL2RenderingContext.COLOR_ATTACHMENT13;
550
+
551
+ /** @const {number} */
552
+ WebGL2RenderingContext.COLOR_ATTACHMENT14;
553
+
554
+ /** @const {number} */
555
+ WebGL2RenderingContext.COLOR_ATTACHMENT15;
556
+
557
+ /** @const {number} */
558
+ WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE;
559
+
560
+ /** @const {number} */
561
+ WebGL2RenderingContext.MAX_SAMPLES;
562
+
563
+ /** @const {number} */
564
+ WebGL2RenderingContext.HALF_FLOAT;
565
+
566
+ /** @const {number} */
567
+ WebGL2RenderingContext.RG;
568
+
569
+ /** @const {number} */
570
+ WebGL2RenderingContext.RG_INTEGER;
571
+
572
+ /** @const {number} */
573
+ WebGL2RenderingContext.R8;
574
+
575
+ /** @const {number} */
576
+ WebGL2RenderingContext.RG8;
577
+
578
+ /** @const {number} */
579
+ WebGL2RenderingContext.R16F;
580
+
581
+ /** @const {number} */
582
+ WebGL2RenderingContext.R32F;
583
+
584
+ /** @const {number} */
585
+ WebGL2RenderingContext.RG16F;
586
+
587
+ /** @const {number} */
588
+ WebGL2RenderingContext.RG32F;
589
+
590
+ /** @const {number} */
591
+ WebGL2RenderingContext.R8I;
592
+
593
+ /** @const {number} */
594
+ WebGL2RenderingContext.R8UI;
595
+
596
+ /** @const {number} */
597
+ WebGL2RenderingContext.R16I;
598
+
599
+ /** @const {number} */
600
+ WebGL2RenderingContext.R16UI;
601
+
602
+ /** @const {number} */
603
+ WebGL2RenderingContext.R32I;
604
+
605
+ /** @const {number} */
606
+ WebGL2RenderingContext.R32UI;
607
+
608
+ /** @const {number} */
609
+ WebGL2RenderingContext.RG8I;
610
+
611
+ /** @const {number} */
612
+ WebGL2RenderingContext.RG8UI;
613
+
614
+ /** @const {number} */
615
+ WebGL2RenderingContext.RG16I;
616
+
617
+ /** @const {number} */
618
+ WebGL2RenderingContext.RG16UI;
619
+
620
+ /** @const {number} */
621
+ WebGL2RenderingContext.RG32I;
622
+
623
+ /** @const {number} */
624
+ WebGL2RenderingContext.RG32UI;
625
+
626
+ /** @const {number} */
627
+ WebGL2RenderingContext.VERTEX_ARRAY_BINDING;
628
+
629
+ /** @const {number} */
630
+ WebGL2RenderingContext.R8_SNORM;
631
+
632
+ /** @const {number} */
633
+ WebGL2RenderingContext.RG8_SNORM;
634
+
635
+ /** @const {number} */
636
+ WebGL2RenderingContext.RGB8_SNORM;
637
+
638
+ /** @const {number} */
639
+ WebGL2RenderingContext.RGBA8_SNORM;
640
+
641
+ /** @const {number} */
642
+ WebGL2RenderingContext.SIGNED_NORMALIZED;
643
+
644
+ /** @const {number} */
645
+ WebGL2RenderingContext.COPY_READ_BUFFER;
646
+
647
+ /** @const {number} */
648
+ WebGL2RenderingContext.COPY_WRITE_BUFFER;
649
+
650
+ /** @const {number} */
651
+ WebGL2RenderingContext.COPY_READ_BUFFER_BINDING;
652
+
653
+ /** @const {number} */
654
+ WebGL2RenderingContext.COPY_WRITE_BUFFER_BINDING;
655
+
656
+ /** @const {number} */
657
+ WebGL2RenderingContext.UNIFORM_BUFFER;
658
+
659
+ /** @const {number} */
660
+ WebGL2RenderingContext.UNIFORM_BUFFER_BINDING;
661
+
662
+ /** @const {number} */
663
+ WebGL2RenderingContext.UNIFORM_BUFFER_START;
664
+
665
+ /** @const {number} */
666
+ WebGL2RenderingContext.UNIFORM_BUFFER_SIZE;
667
+
668
+ /** @const {number} */
669
+ WebGL2RenderingContext.MAX_VERTEX_UNIFORM_BLOCKS;
670
+
671
+ /** @const {number} */
672
+ WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_BLOCKS;
673
+
674
+ /** @const {number} */
675
+ WebGL2RenderingContext.MAX_COMBINED_UNIFORM_BLOCKS;
676
+
677
+ /** @const {number} */
678
+ WebGL2RenderingContext.MAX_UNIFORM_BUFFER_BINDINGS;
679
+
680
+ /** @const {number} */
681
+ WebGL2RenderingContext.MAX_UNIFORM_BLOCK_SIZE;
682
+
683
+ /** @const {number} */
684
+ WebGL2RenderingContext.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS;
685
+
686
+ /** @const {number} */
687
+ WebGL2RenderingContext.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS;
688
+
689
+ /** @const {number} */
690
+ WebGL2RenderingContext.UNIFORM_BUFFER_OFFSET_ALIGNMENT;
691
+
692
+ /** @const {number} */
693
+ WebGL2RenderingContext.ACTIVE_UNIFORM_BLOCKS;
694
+
695
+ /** @const {number} */
696
+ WebGL2RenderingContext.UNIFORM_TYPE;
697
+
698
+ /** @const {number} */
699
+ WebGL2RenderingContext.UNIFORM_SIZE;
700
+
701
+ /** @const {number} */
702
+ WebGL2RenderingContext.UNIFORM_BLOCK_INDEX;
703
+
704
+ /** @const {number} */
705
+ WebGL2RenderingContext.UNIFORM_OFFSET;
706
+
707
+ /** @const {number} */
708
+ WebGL2RenderingContext.UNIFORM_ARRAY_STRIDE;
709
+
710
+ /** @const {number} */
711
+ WebGL2RenderingContext.UNIFORM_MATRIX_STRIDE;
712
+
713
+ /** @const {number} */
714
+ WebGL2RenderingContext.UNIFORM_IS_ROW_MAJOR;
715
+
716
+ /** @const {number} */
717
+ WebGL2RenderingContext.UNIFORM_BLOCK_BINDING;
718
+
719
+ /** @const {number} */
720
+ WebGL2RenderingContext.UNIFORM_BLOCK_DATA_SIZE;
721
+
722
+ /** @const {number} */
723
+ WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORMS;
724
+
725
+ /** @const {number} */
726
+ WebGL2RenderingContext.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES;
727
+
728
+ /** @const {number} */
729
+ WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER;
730
+
731
+ /** @const {number} */
732
+ WebGL2RenderingContext.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER;
733
+
734
+ /** @const {number} */
735
+ WebGL2RenderingContext.INVALID_INDEX;
736
+
737
+ /** @const {number} */
738
+ WebGL2RenderingContext.MAX_VERTEX_OUTPUT_COMPONENTS;
739
+
740
+ /** @const {number} */
741
+ WebGL2RenderingContext.MAX_FRAGMENT_INPUT_COMPONENTS;
742
+
743
+ /** @const {number} */
744
+ WebGL2RenderingContext.MAX_SERVER_WAIT_TIMEOUT;
745
+
746
+ /** @const {number} */
747
+ WebGL2RenderingContext.OBJECT_TYPE;
748
+
749
+ /** @const {number} */
750
+ WebGL2RenderingContext.SYNC_CONDITION;
751
+
752
+ /** @const {number} */
753
+ WebGL2RenderingContext.SYNC_STATUS;
754
+
755
+ /** @const {number} */
756
+ WebGL2RenderingContext.SYNC_FLAGS;
757
+
758
+ /** @const {number} */
759
+ WebGL2RenderingContext.SYNC_FENCE;
760
+
761
+ /** @const {number} */
762
+ WebGL2RenderingContext.SYNC_GPU_COMMANDS_COMPLETE;
763
+
764
+ /** @const {number} */
765
+ WebGL2RenderingContext.UNSIGNALED;
766
+
767
+ /** @const {number} */
768
+ WebGL2RenderingContext.SIGNALED;
769
+
770
+ /** @const {number} */
771
+ WebGL2RenderingContext.ALREADY_SIGNALED;
772
+
773
+ /** @const {number} */
774
+ WebGL2RenderingContext.TIMEOUT_EXPIRED;
775
+
776
+ /** @const {number} */
777
+ WebGL2RenderingContext.CONDITION_SATISFIED;
778
+
779
+ /** @const {number} */
780
+ WebGL2RenderingContext.WAIT_FAILED;
781
+
782
+ /** @const {number} */
783
+ WebGL2RenderingContext.SYNC_FLUSH_COMMANDS_BIT;
784
+
785
+ /** @const {number} */
786
+ WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_DIVISOR;
787
+
788
+ /** @const {number} */
789
+ WebGL2RenderingContext.ANY_SAMPLES_PASSED;
790
+
791
+ /** @const {number} */
792
+ WebGL2RenderingContext.ANY_SAMPLES_PASSED_CONSERVATIVE;
793
+
794
+ /** @const {number} */
795
+ WebGL2RenderingContext.SAMPLER_BINDING;
796
+
797
+ /** @const {number} */
798
+ WebGL2RenderingContext.RGB10_A2UI;
799
+
800
+ /** @const {number} */
801
+ WebGL2RenderingContext.INT_2_10_10_10_REV;
802
+
803
+ /** @const {number} */
804
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK;
805
+
806
+ /** @const {number} */
807
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_PAUSED;
808
+
809
+ /** @const {number} */
810
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_ACTIVE;
811
+
812
+ /** @const {number} */
813
+ WebGL2RenderingContext.TRANSFORM_FEEDBACK_BINDING;
814
+
815
+ /** @const {number} */
816
+ WebGL2RenderingContext.TEXTURE_IMMUTABLE_FORMAT;
817
+
818
+ /** @const {number} */
819
+ WebGL2RenderingContext.MAX_ELEMENT_INDEX;
820
+
821
+ /** @const {number} */
822
+ WebGL2RenderingContext.TEXTURE_IMMUTABLE_LEVELS;
823
+
824
+ /** @const {number} */
825
+ WebGL2RenderingContext.TIMEOUT_IGNORED;
826
+
827
+ /** @const {number} */
828
+ WebGL2RenderingContext.MAX_CLIENT_WAIT_TIMEOUT_WEBGL;
829
+
830
+
831
+ /** @const {number} */
832
+ WebGL2RenderingContext.prototype.UNPACK_ROW_LENGTH;
833
+
834
+ /** @const {number} */
835
+ WebGL2RenderingContext.prototype.UNPACK_SKIP_ROWS;
836
+
837
+ /** @const {number} */
838
+ WebGL2RenderingContext.prototype.UNPACK_SKIP_PIXELS;
839
+
840
+ /** @const {number} */
841
+ WebGL2RenderingContext.prototype.PACK_ROW_LENGTH;
842
+
843
+ /** @const {number} */
844
+ WebGL2RenderingContext.prototype.PACK_SKIP_ROWS;
845
+
846
+ /** @const {number} */
847
+ WebGL2RenderingContext.prototype.PACK_SKIP_PIXELS;
848
+
849
+ /** @const {number} */
850
+ WebGL2RenderingContext.prototype.COLOR;
851
+
852
+ /** @const {number} */
853
+ WebGL2RenderingContext.prototype.DEPTH;
854
+
855
+ /** @const {number} */
856
+ WebGL2RenderingContext.prototype.STENCIL;
857
+
858
+ /** @const {number} */
859
+ WebGL2RenderingContext.prototype.RED;
860
+
861
+ /** @const {number} */
862
+ WebGL2RenderingContext.prototype.RGB8;
863
+
864
+ /** @const {number} */
865
+ WebGL2RenderingContext.prototype.RGBA8;
866
+
867
+ /** @const {number} */
868
+ WebGL2RenderingContext.prototype.RGB10_A2;
869
+
870
+ /** @const {number} */
871
+ WebGL2RenderingContext.prototype.TEXTURE_BINDING_3D;
872
+
873
+ /** @const {number} */
874
+ WebGL2RenderingContext.prototype.UNPACK_SKIP_IMAGES;
875
+
876
+ /** @const {number} */
877
+ WebGL2RenderingContext.prototype.UNPACK_IMAGE_HEIGHT;
878
+
879
+ /** @const {number} */
880
+ WebGL2RenderingContext.prototype.TEXTURE_3D;
881
+
882
+ /** @const {number} */
883
+ WebGL2RenderingContext.prototype.TEXTURE_WRAP_R;
884
+
885
+ /** @const {number} */
886
+ WebGL2RenderingContext.prototype.MAX_3D_TEXTURE_SIZE;
887
+
888
+ /** @const {number} */
889
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_2_10_10_10_REV;
890
+
891
+ /** @const {number} */
892
+ WebGL2RenderingContext.prototype.MAX_ELEMENTS_VERTICES;
893
+
894
+ /** @const {number} */
895
+ WebGL2RenderingContext.prototype.MAX_ELEMENTS_INDICES;
896
+
897
+ /** @const {number} */
898
+ WebGL2RenderingContext.prototype.TEXTURE_MIN_LOD;
899
+
900
+ /** @const {number} */
901
+ WebGL2RenderingContext.prototype.TEXTURE_MAX_LOD;
902
+
903
+ /** @const {number} */
904
+ WebGL2RenderingContext.prototype.TEXTURE_BASE_LEVEL;
905
+
906
+ /** @const {number} */
907
+ WebGL2RenderingContext.prototype.TEXTURE_MAX_LEVEL;
908
+
909
+ /** @const {number} */
910
+ WebGL2RenderingContext.prototype.MIN;
911
+
912
+ /** @const {number} */
913
+ WebGL2RenderingContext.prototype.MAX;
914
+
915
+ /** @const {number} */
916
+ WebGL2RenderingContext.prototype.DEPTH_COMPONENT24;
917
+
918
+ /** @const {number} */
919
+ WebGL2RenderingContext.prototype.MAX_TEXTURE_LOD_BIAS;
920
+
921
+ /** @const {number} */
922
+ WebGL2RenderingContext.prototype.TEXTURE_COMPARE_MODE;
923
+
924
+ /** @const {number} */
925
+ WebGL2RenderingContext.prototype.TEXTURE_COMPARE_FUNC;
926
+
927
+ /** @const {number} */
928
+ WebGL2RenderingContext.prototype.CURRENT_QUERY;
929
+
930
+ /** @const {number} */
931
+ WebGL2RenderingContext.prototype.QUERY_RESULT;
932
+
933
+ /** @const {number} */
934
+ WebGL2RenderingContext.prototype.QUERY_RESULT_AVAILABLE;
935
+
936
+ /** @const {number} */
937
+ WebGL2RenderingContext.prototype.STREAM_READ;
938
+
939
+ /** @const {number} */
940
+ WebGL2RenderingContext.prototype.STREAM_COPY;
941
+
942
+ /** @const {number} */
943
+ WebGL2RenderingContext.prototype.STATIC_READ;
944
+
945
+ /** @const {number} */
946
+ WebGL2RenderingContext.prototype.STATIC_COPY;
947
+
948
+ /** @const {number} */
949
+ WebGL2RenderingContext.prototype.DYNAMIC_READ;
950
+
951
+ /** @const {number} */
952
+ WebGL2RenderingContext.prototype.DYNAMIC_COPY;
953
+
954
+ /** @const {number} */
955
+ WebGL2RenderingContext.prototype.MAX_DRAW_BUFFERS;
956
+
957
+ /** @const {number} */
958
+ WebGL2RenderingContext.prototype.DRAW_BUFFER0;
959
+
960
+ /** @const {number} */
961
+ WebGL2RenderingContext.prototype.DRAW_BUFFER1;
962
+
963
+ /** @const {number} */
964
+ WebGL2RenderingContext.prototype.DRAW_BUFFER2;
965
+
966
+ /** @const {number} */
967
+ WebGL2RenderingContext.prototype.DRAW_BUFFER3;
968
+
969
+ /** @const {number} */
970
+ WebGL2RenderingContext.prototype.DRAW_BUFFER4;
971
+
972
+ /** @const {number} */
973
+ WebGL2RenderingContext.prototype.DRAW_BUFFER5;
974
+
975
+ /** @const {number} */
976
+ WebGL2RenderingContext.prototype.DRAW_BUFFER6;
977
+
978
+ /** @const {number} */
979
+ WebGL2RenderingContext.prototype.DRAW_BUFFER7;
980
+
981
+ /** @const {number} */
982
+ WebGL2RenderingContext.prototype.DRAW_BUFFER8;
983
+
984
+ /** @const {number} */
985
+ WebGL2RenderingContext.prototype.DRAW_BUFFER9;
986
+
987
+ /** @const {number} */
988
+ WebGL2RenderingContext.prototype.DRAW_BUFFER10;
989
+
990
+ /** @const {number} */
991
+ WebGL2RenderingContext.prototype.DRAW_BUFFER11;
992
+
993
+ /** @const {number} */
994
+ WebGL2RenderingContext.prototype.DRAW_BUFFER12;
995
+
996
+ /** @const {number} */
997
+ WebGL2RenderingContext.prototype.DRAW_BUFFER13;
998
+
999
+ /** @const {number} */
1000
+ WebGL2RenderingContext.prototype.DRAW_BUFFER14;
1001
+
1002
+ /** @const {number} */
1003
+ WebGL2RenderingContext.prototype.DRAW_BUFFER15;
1004
+
1005
+ /** @const {number} */
1006
+ WebGL2RenderingContext.prototype.MAX_FRAGMENT_UNIFORM_COMPONENTS;
1007
+
1008
+ /** @const {number} */
1009
+ WebGL2RenderingContext.prototype.MAX_VERTEX_UNIFORM_COMPONENTS;
1010
+
1011
+ /** @const {number} */
1012
+ WebGL2RenderingContext.prototype.SAMPLER_3D;
1013
+
1014
+ /** @const {number} */
1015
+ WebGL2RenderingContext.prototype.SAMPLER_2D_SHADOW;
1016
+
1017
+ /** @const {number} */
1018
+ WebGL2RenderingContext.prototype.FRAGMENT_SHADER_DERIVATIVE_HINT;
1019
+
1020
+ /** @const {number} */
1021
+ WebGL2RenderingContext.prototype.PIXEL_PACK_BUFFER;
1022
+
1023
+ /** @const {number} */
1024
+ WebGL2RenderingContext.prototype.PIXEL_UNPACK_BUFFER;
1025
+
1026
+ /** @const {number} */
1027
+ WebGL2RenderingContext.prototype.PIXEL_PACK_BUFFER_BINDING;
1028
+
1029
+ /** @const {number} */
1030
+ WebGL2RenderingContext.prototype.PIXEL_UNPACK_BUFFER_BINDING;
1031
+
1032
+ /** @const {number} */
1033
+ WebGL2RenderingContext.prototype.FLOAT_MAT2x3;
1034
+
1035
+ /** @const {number} */
1036
+ WebGL2RenderingContext.prototype.FLOAT_MAT2x4;
1037
+
1038
+ /** @const {number} */
1039
+ WebGL2RenderingContext.prototype.FLOAT_MAT3x2;
1040
+
1041
+ /** @const {number} */
1042
+ WebGL2RenderingContext.prototype.FLOAT_MAT3x4;
1043
+
1044
+ /** @const {number} */
1045
+ WebGL2RenderingContext.prototype.FLOAT_MAT4x2;
1046
+
1047
+ /** @const {number} */
1048
+ WebGL2RenderingContext.prototype.FLOAT_MAT4x3;
1049
+
1050
+ /** @const {number} */
1051
+ WebGL2RenderingContext.prototype.SRGB;
1052
+
1053
+ /** @const {number} */
1054
+ WebGL2RenderingContext.prototype.SRGB8;
1055
+
1056
+ /** @const {number} */
1057
+ WebGL2RenderingContext.prototype.SRGB8_ALPHA8;
1058
+
1059
+ /** @const {number} */
1060
+ WebGL2RenderingContext.prototype.COMPARE_REF_TO_TEXTURE;
1061
+
1062
+ /** @const {number} */
1063
+ WebGL2RenderingContext.prototype.RGBA32F;
1064
+
1065
+ /** @const {number} */
1066
+ WebGL2RenderingContext.prototype.RGB32F;
1067
+
1068
+ /** @const {number} */
1069
+ WebGL2RenderingContext.prototype.RGBA16F;
1070
+
1071
+ /** @const {number} */
1072
+ WebGL2RenderingContext.prototype.RGB16F;
1073
+
1074
+ /** @const {number} */
1075
+ WebGL2RenderingContext.prototype.VERTEX_ATTRIB_ARRAY_INTEGER;
1076
+
1077
+ /** @const {number} */
1078
+ WebGL2RenderingContext.prototype.MAX_ARRAY_TEXTURE_LAYERS;
1079
+
1080
+ /** @const {number} */
1081
+ WebGL2RenderingContext.prototype.MIN_PROGRAM_TEXEL_OFFSET;
1082
+
1083
+ /** @const {number} */
1084
+ WebGL2RenderingContext.prototype.MAX_PROGRAM_TEXEL_OFFSET;
1085
+
1086
+ /** @const {number} */
1087
+ WebGL2RenderingContext.prototype.MAX_VARYING_COMPONENTS;
1088
+
1089
+ /** @const {number} */
1090
+ WebGL2RenderingContext.prototype.TEXTURE_2D_ARRAY;
1091
+
1092
+ /** @const {number} */
1093
+ WebGL2RenderingContext.prototype.TEXTURE_BINDING_2D_ARRAY;
1094
+
1095
+ /** @const {number} */
1096
+ WebGL2RenderingContext.prototype.R11F_G11F_B10F;
1097
+
1098
+ /** @const {number} */
1099
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_10F_11F_11F_REV;
1100
+
1101
+ /** @const {number} */
1102
+ WebGL2RenderingContext.prototype.RGB9_E5;
1103
+
1104
+ /** @const {number} */
1105
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_5_9_9_9_REV;
1106
+
1107
+ /** @const {number} */
1108
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_BUFFER_MODE;
1109
+
1110
+ /** @const {number} */
1111
+ WebGL2RenderingContext.prototype.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS;
1112
+
1113
+ /** @const {number} */
1114
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_VARYINGS;
1115
+
1116
+ /** @const {number} */
1117
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_BUFFER_START;
1118
+
1119
+ /** @const {number} */
1120
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_BUFFER_SIZE;
1121
+
1122
+ /** @const {number} */
1123
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN;
1124
+
1125
+ /** @const {number} */
1126
+ WebGL2RenderingContext.prototype.RASTERIZER_DISCARD;
1127
+
1128
+ /** @const {number} */
1129
+ WebGL2RenderingContext.prototype.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS =
1130
+ 0x8C8A;
1131
+
1132
+ /** @const {number} */
1133
+ WebGL2RenderingContext.prototype.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS;
1134
+
1135
+ /** @const {number} */
1136
+ WebGL2RenderingContext.prototype.INTERLEAVED_ATTRIBS;
1137
+
1138
+ /** @const {number} */
1139
+ WebGL2RenderingContext.prototype.SEPARATE_ATTRIBS;
1140
+
1141
+ /** @const {number} */
1142
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_BUFFER;
1143
+
1144
+ /** @const {number} */
1145
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_BUFFER_BINDING;
1146
+
1147
+ /** @const {number} */
1148
+ WebGL2RenderingContext.prototype.RGBA32UI;
1149
+
1150
+ /** @const {number} */
1151
+ WebGL2RenderingContext.prototype.RGB32UI;
1152
+
1153
+ /** @const {number} */
1154
+ WebGL2RenderingContext.prototype.RGBA16UI;
1155
+
1156
+ /** @const {number} */
1157
+ WebGL2RenderingContext.prototype.RGB16UI;
1158
+
1159
+ /** @const {number} */
1160
+ WebGL2RenderingContext.prototype.RGBA8UI;
1161
+
1162
+ /** @const {number} */
1163
+ WebGL2RenderingContext.prototype.RGB8UI;
1164
+
1165
+ /** @const {number} */
1166
+ WebGL2RenderingContext.prototype.RGBA32I;
1167
+
1168
+ /** @const {number} */
1169
+ WebGL2RenderingContext.prototype.RGB32I;
1170
+
1171
+ /** @const {number} */
1172
+ WebGL2RenderingContext.prototype.RGBA16I;
1173
+
1174
+ /** @const {number} */
1175
+ WebGL2RenderingContext.prototype.RGB16I;
1176
+
1177
+ /** @const {number} */
1178
+ WebGL2RenderingContext.prototype.RGBA8I;
1179
+
1180
+ /** @const {number} */
1181
+ WebGL2RenderingContext.prototype.RGB8I;
1182
+
1183
+ /** @const {number} */
1184
+ WebGL2RenderingContext.prototype.RED_INTEGER;
1185
+
1186
+ /** @const {number} */
1187
+ WebGL2RenderingContext.prototype.RGB_INTEGER;
1188
+
1189
+ /** @const {number} */
1190
+ WebGL2RenderingContext.prototype.RGBA_INTEGER;
1191
+
1192
+ /** @const {number} */
1193
+ WebGL2RenderingContext.prototype.SAMPLER_2D_ARRAY;
1194
+
1195
+ /** @const {number} */
1196
+ WebGL2RenderingContext.prototype.SAMPLER_2D_ARRAY_SHADOW;
1197
+
1198
+ /** @const {number} */
1199
+ WebGL2RenderingContext.prototype.SAMPLER_CUBE_SHADOW;
1200
+
1201
+ /** @const {number} */
1202
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_VEC2;
1203
+
1204
+ /** @const {number} */
1205
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_VEC3;
1206
+
1207
+ /** @const {number} */
1208
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_VEC4;
1209
+
1210
+ /** @const {number} */
1211
+ WebGL2RenderingContext.prototype.INT_SAMPLER_2D;
1212
+
1213
+ /** @const {number} */
1214
+ WebGL2RenderingContext.prototype.INT_SAMPLER_3D;
1215
+
1216
+ /** @const {number} */
1217
+ WebGL2RenderingContext.prototype.INT_SAMPLER_CUBE;
1218
+
1219
+ /** @const {number} */
1220
+ WebGL2RenderingContext.prototype.INT_SAMPLER_2D_ARRAY;
1221
+
1222
+ /** @const {number} */
1223
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_SAMPLER_2D;
1224
+
1225
+ /** @const {number} */
1226
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_SAMPLER_3D;
1227
+
1228
+ /** @const {number} */
1229
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_SAMPLER_CUBE;
1230
+
1231
+ /** @const {number} */
1232
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_SAMPLER_2D_ARRAY;
1233
+
1234
+ /** @const {number} */
1235
+ WebGL2RenderingContext.prototype.DEPTH_COMPONENT32F;
1236
+
1237
+ /** @const {number} */
1238
+ WebGL2RenderingContext.prototype.DEPTH32F_STENCIL8;
1239
+
1240
+ /** @const {number} */
1241
+ WebGL2RenderingContext.prototype.FLOAT_32_UNSIGNED_INT_24_8_REV;
1242
+
1243
+ /** @const {number} */
1244
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING;
1245
+
1246
+ /** @const {number} */
1247
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE;
1248
+
1249
+ /** @const {number} */
1250
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_RED_SIZE;
1251
+
1252
+ /** @const {number} */
1253
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE;
1254
+
1255
+ /** @const {number} */
1256
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE;
1257
+
1258
+ /** @const {number} */
1259
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE;
1260
+
1261
+ /** @const {number} */
1262
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE;
1263
+
1264
+ /** @const {number} */
1265
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE;
1266
+
1267
+ /** @const {number} */
1268
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_DEFAULT;
1269
+
1270
+ /** @const {number} */
1271
+ WebGL2RenderingContext.prototype.DEPTH_STENCIL_ATTACHMENT;
1272
+
1273
+ /** @const {number} */
1274
+ WebGL2RenderingContext.prototype.DEPTH_STENCIL;
1275
+
1276
+ /** @const {number} */
1277
+ WebGL2RenderingContext.prototype.UNSIGNED_INT_24_8;
1278
+
1279
+ /** @const {number} */
1280
+ WebGL2RenderingContext.prototype.DEPTH24_STENCIL8;
1281
+
1282
+ /** @const {number} */
1283
+ WebGL2RenderingContext.prototype.UNSIGNED_NORMALIZED;
1284
+
1285
+ /** @const {number} */
1286
+ WebGL2RenderingContext.prototype.DRAW_FRAMEBUFFER_BINDING;
1287
+
1288
+ /** @const {number} */
1289
+ WebGL2RenderingContext.prototype.READ_FRAMEBUFFER;
1290
+
1291
+ /** @const {number} */
1292
+ WebGL2RenderingContext.prototype.DRAW_FRAMEBUFFER;
1293
+
1294
+ /** @const {number} */
1295
+ WebGL2RenderingContext.prototype.READ_FRAMEBUFFER_BINDING;
1296
+
1297
+ /** @const {number} */
1298
+ WebGL2RenderingContext.prototype.RENDERBUFFER_SAMPLES;
1299
+
1300
+ /** @const {number} */
1301
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER;
1302
+
1303
+ /** @const {number} */
1304
+ WebGL2RenderingContext.prototype.MAX_COLOR_ATTACHMENTS;
1305
+
1306
+ /** @const {number} */
1307
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT1;
1308
+
1309
+ /** @const {number} */
1310
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT2;
1311
+
1312
+ /** @const {number} */
1313
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT3;
1314
+
1315
+ /** @const {number} */
1316
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT4;
1317
+
1318
+ /** @const {number} */
1319
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT5;
1320
+
1321
+ /** @const {number} */
1322
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT6;
1323
+
1324
+ /** @const {number} */
1325
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT7;
1326
+
1327
+ /** @const {number} */
1328
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT8;
1329
+
1330
+ /** @const {number} */
1331
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT9;
1332
+
1333
+ /** @const {number} */
1334
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT10;
1335
+
1336
+ /** @const {number} */
1337
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT11;
1338
+
1339
+ /** @const {number} */
1340
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT12;
1341
+
1342
+ /** @const {number} */
1343
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT13;
1344
+
1345
+ /** @const {number} */
1346
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT14;
1347
+
1348
+ /** @const {number} */
1349
+ WebGL2RenderingContext.prototype.COLOR_ATTACHMENT15;
1350
+
1351
+ /** @const {number} */
1352
+ WebGL2RenderingContext.prototype.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE;
1353
+
1354
+ /** @const {number} */
1355
+ WebGL2RenderingContext.prototype.MAX_SAMPLES;
1356
+
1357
+ /** @const {number} */
1358
+ WebGL2RenderingContext.prototype.HALF_FLOAT;
1359
+
1360
+ /** @const {number} */
1361
+ WebGL2RenderingContext.prototype.RG;
1362
+
1363
+ /** @const {number} */
1364
+ WebGL2RenderingContext.prototype.RG_INTEGER;
1365
+
1366
+ /** @const {number} */
1367
+ WebGL2RenderingContext.prototype.R8;
1368
+
1369
+ /** @const {number} */
1370
+ WebGL2RenderingContext.prototype.RG8;
1371
+
1372
+ /** @const {number} */
1373
+ WebGL2RenderingContext.prototype.R16F;
1374
+
1375
+ /** @const {number} */
1376
+ WebGL2RenderingContext.prototype.R32F;
1377
+
1378
+ /** @const {number} */
1379
+ WebGL2RenderingContext.prototype.RG16F;
1380
+
1381
+ /** @const {number} */
1382
+ WebGL2RenderingContext.prototype.RG32F;
1383
+
1384
+ /** @const {number} */
1385
+ WebGL2RenderingContext.prototype.R8I;
1386
+
1387
+ /** @const {number} */
1388
+ WebGL2RenderingContext.prototype.R8UI;
1389
+
1390
+ /** @const {number} */
1391
+ WebGL2RenderingContext.prototype.R16I;
1392
+
1393
+ /** @const {number} */
1394
+ WebGL2RenderingContext.prototype.R16UI;
1395
+
1396
+ /** @const {number} */
1397
+ WebGL2RenderingContext.prototype.R32I;
1398
+
1399
+ /** @const {number} */
1400
+ WebGL2RenderingContext.prototype.R32UI;
1401
+
1402
+ /** @const {number} */
1403
+ WebGL2RenderingContext.prototype.RG8I;
1404
+
1405
+ /** @const {number} */
1406
+ WebGL2RenderingContext.prototype.RG8UI;
1407
+
1408
+ /** @const {number} */
1409
+ WebGL2RenderingContext.prototype.RG16I;
1410
+
1411
+ /** @const {number} */
1412
+ WebGL2RenderingContext.prototype.RG16UI;
1413
+
1414
+ /** @const {number} */
1415
+ WebGL2RenderingContext.prototype.RG32I;
1416
+
1417
+ /** @const {number} */
1418
+ WebGL2RenderingContext.prototype.RG32UI;
1419
+
1420
+ /** @const {number} */
1421
+ WebGL2RenderingContext.prototype.VERTEX_ARRAY_BINDING;
1422
+
1423
+ /** @const {number} */
1424
+ WebGL2RenderingContext.prototype.R8_SNORM;
1425
+
1426
+ /** @const {number} */
1427
+ WebGL2RenderingContext.prototype.RG8_SNORM;
1428
+
1429
+ /** @const {number} */
1430
+ WebGL2RenderingContext.prototype.RGB8_SNORM;
1431
+
1432
+ /** @const {number} */
1433
+ WebGL2RenderingContext.prototype.RGBA8_SNORM;
1434
+
1435
+ /** @const {number} */
1436
+ WebGL2RenderingContext.prototype.SIGNED_NORMALIZED;
1437
+
1438
+ /** @const {number} */
1439
+ WebGL2RenderingContext.prototype.COPY_READ_BUFFER;
1440
+
1441
+ /** @const {number} */
1442
+ WebGL2RenderingContext.prototype.COPY_WRITE_BUFFER;
1443
+
1444
+ /** @const {number} */
1445
+ WebGL2RenderingContext.prototype.COPY_READ_BUFFER_BINDING;
1446
+
1447
+ /** @const {number} */
1448
+ WebGL2RenderingContext.prototype.COPY_WRITE_BUFFER_BINDING;
1449
+
1450
+ /** @const {number} */
1451
+ WebGL2RenderingContext.prototype.UNIFORM_BUFFER;
1452
+
1453
+ /** @const {number} */
1454
+ WebGL2RenderingContext.prototype.UNIFORM_BUFFER_BINDING;
1455
+
1456
+ /** @const {number} */
1457
+ WebGL2RenderingContext.prototype.UNIFORM_BUFFER_START;
1458
+
1459
+ /** @const {number} */
1460
+ WebGL2RenderingContext.prototype.UNIFORM_BUFFER_SIZE;
1461
+
1462
+ /** @const {number} */
1463
+ WebGL2RenderingContext.prototype.MAX_VERTEX_UNIFORM_BLOCKS;
1464
+
1465
+ /** @const {number} */
1466
+ WebGL2RenderingContext.prototype.MAX_FRAGMENT_UNIFORM_BLOCKS;
1467
+
1468
+ /** @const {number} */
1469
+ WebGL2RenderingContext.prototype.MAX_COMBINED_UNIFORM_BLOCKS;
1470
+
1471
+ /** @const {number} */
1472
+ WebGL2RenderingContext.prototype.MAX_UNIFORM_BUFFER_BINDINGS;
1473
+
1474
+ /** @const {number} */
1475
+ WebGL2RenderingContext.prototype.MAX_UNIFORM_BLOCK_SIZE;
1476
+
1477
+ /** @const {number} */
1478
+ WebGL2RenderingContext.prototype.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS;
1479
+
1480
+ /** @const {number} */
1481
+ WebGL2RenderingContext.prototype.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS;
1482
+
1483
+ /** @const {number} */
1484
+ WebGL2RenderingContext.prototype.UNIFORM_BUFFER_OFFSET_ALIGNMENT;
1485
+
1486
+ /** @const {number} */
1487
+ WebGL2RenderingContext.prototype.ACTIVE_UNIFORM_BLOCKS;
1488
+
1489
+ /** @const {number} */
1490
+ WebGL2RenderingContext.prototype.UNIFORM_TYPE;
1491
+
1492
+ /** @const {number} */
1493
+ WebGL2RenderingContext.prototype.UNIFORM_SIZE;
1494
+
1495
+ /** @const {number} */
1496
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_INDEX;
1497
+
1498
+ /** @const {number} */
1499
+ WebGL2RenderingContext.prototype.UNIFORM_OFFSET;
1500
+
1501
+ /** @const {number} */
1502
+ WebGL2RenderingContext.prototype.UNIFORM_ARRAY_STRIDE;
1503
+
1504
+ /** @const {number} */
1505
+ WebGL2RenderingContext.prototype.UNIFORM_MATRIX_STRIDE;
1506
+
1507
+ /** @const {number} */
1508
+ WebGL2RenderingContext.prototype.UNIFORM_IS_ROW_MAJOR;
1509
+
1510
+ /** @const {number} */
1511
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_BINDING;
1512
+
1513
+ /** @const {number} */
1514
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_DATA_SIZE;
1515
+
1516
+ /** @const {number} */
1517
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_ACTIVE_UNIFORMS;
1518
+
1519
+ /** @const {number} */
1520
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES;
1521
+
1522
+ /** @const {number} */
1523
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER;
1524
+
1525
+ /** @const {number} */
1526
+ WebGL2RenderingContext.prototype.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER;
1527
+
1528
+ /** @const {number} */
1529
+ WebGL2RenderingContext.prototype.INVALID_INDEX;
1530
+
1531
+ /** @const {number} */
1532
+ WebGL2RenderingContext.prototype.MAX_VERTEX_OUTPUT_COMPONENTS;
1533
+
1534
+ /** @const {number} */
1535
+ WebGL2RenderingContext.prototype.MAX_FRAGMENT_INPUT_COMPONENTS;
1536
+
1537
+ /** @const {number} */
1538
+ WebGL2RenderingContext.prototype.MAX_SERVER_WAIT_TIMEOUT;
1539
+
1540
+ /** @const {number} */
1541
+ WebGL2RenderingContext.prototype.OBJECT_TYPE;
1542
+
1543
+ /** @const {number} */
1544
+ WebGL2RenderingContext.prototype.SYNC_CONDITION;
1545
+
1546
+ /** @const {number} */
1547
+ WebGL2RenderingContext.prototype.SYNC_STATUS;
1548
+
1549
+ /** @const {number} */
1550
+ WebGL2RenderingContext.prototype.SYNC_FLAGS;
1551
+
1552
+ /** @const {number} */
1553
+ WebGL2RenderingContext.prototype.SYNC_FENCE;
1554
+
1555
+ /** @const {number} */
1556
+ WebGL2RenderingContext.prototype.SYNC_GPU_COMMANDS_COMPLETE;
1557
+
1558
+ /** @const {number} */
1559
+ WebGL2RenderingContext.prototype.UNSIGNALED;
1560
+
1561
+ /** @const {number} */
1562
+ WebGL2RenderingContext.prototype.SIGNALED;
1563
+
1564
+ /** @const {number} */
1565
+ WebGL2RenderingContext.prototype.ALREADY_SIGNALED;
1566
+
1567
+ /** @const {number} */
1568
+ WebGL2RenderingContext.prototype.TIMEOUT_EXPIRED;
1569
+
1570
+ /** @const {number} */
1571
+ WebGL2RenderingContext.prototype.CONDITION_SATISFIED;
1572
+
1573
+ /** @const {number} */
1574
+ WebGL2RenderingContext.prototype.WAIT_FAILED;
1575
+
1576
+ /** @const {number} */
1577
+ WebGL2RenderingContext.prototype.SYNC_FLUSH_COMMANDS_BIT;
1578
+
1579
+ /** @const {number} */
1580
+ WebGL2RenderingContext.prototype.VERTEX_ATTRIB_ARRAY_DIVISOR;
1581
+
1582
+ /** @const {number} */
1583
+ WebGL2RenderingContext.prototype.ANY_SAMPLES_PASSED;
1584
+
1585
+ /** @const {number} */
1586
+ WebGL2RenderingContext.prototype.ANY_SAMPLES_PASSED_CONSERVATIVE;
1587
+
1588
+ /** @const {number} */
1589
+ WebGL2RenderingContext.prototype.SAMPLER_BINDING;
1590
+
1591
+ /** @const {number} */
1592
+ WebGL2RenderingContext.prototype.RGB10_A2UI;
1593
+
1594
+ /** @const {number} */
1595
+ WebGL2RenderingContext.prototype.INT_2_10_10_10_REV;
1596
+
1597
+ /** @const {number} */
1598
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK;
1599
+
1600
+ /** @const {number} */
1601
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_PAUSED;
1602
+
1603
+ /** @const {number} */
1604
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_ACTIVE;
1605
+
1606
+ /** @const {number} */
1607
+ WebGL2RenderingContext.prototype.TRANSFORM_FEEDBACK_BINDING;
1608
+
1609
+ /** @const {number} */
1610
+ WebGL2RenderingContext.prototype.TEXTURE_IMMUTABLE_FORMAT;
1611
+
1612
+ /** @const {number} */
1613
+ WebGL2RenderingContext.prototype.MAX_ELEMENT_INDEX;
1614
+
1615
+ /** @const {number} */
1616
+ WebGL2RenderingContext.prototype.TEXTURE_IMMUTABLE_LEVELS;
1617
+
1618
+ /** @const {number} */
1619
+ WebGL2RenderingContext.prototype.TIMEOUT_IGNORED;
1620
+
1621
+ /** @const {number} */
1622
+ WebGL2RenderingContext.prototype.MAX_CLIENT_WAIT_TIMEOUT_WEBGL;
1623
+
1624
+ /* Buffer objects */
1625
+
1626
+ /**
1627
+ * @param {number} target
1628
+ * @param {?ArrayBufferView|?ArrayBuffer|number} data
1629
+ * @param {number} usage
1630
+ * @param {number=} opt_srcOffset
1631
+ * @param {number=} opt_length
1632
+ * @return {undefined}
1633
+ * @override
1634
+ */
1635
+ WebGL2RenderingContext.prototype.bufferData = function(
1636
+ target, data, usage, opt_srcOffset, opt_length) {};
1637
+
1638
+ /**
1639
+ * @param {number} target
1640
+ * @param {number} offset
1641
+ * @param {?ArrayBufferView|?ArrayBuffer} data
1642
+ * @param {number=} opt_srcOffset
1643
+ * @param {number=} opt_length
1644
+ * @return {undefined}
1645
+ * @override
1646
+ */
1647
+ WebGL2RenderingContext.prototype.bufferSubData = function(
1648
+ target, offset, data, opt_srcOffset, opt_length) {};
1649
+
1650
+ /**
1651
+ * @param {number} readTarget
1652
+ * @param {number} writeTarget
1653
+ * @param {number} readOffset
1654
+ * @param {number} writeOffset
1655
+ * @param {number} size
1656
+ * @return {undefined}
1657
+ */
1658
+ WebGL2RenderingContext.prototype.copyBufferSubData = function(
1659
+ readTarget, writeTarget, readOffset, writeOffset, size) {};
1660
+
1661
+ /**
1662
+ * @param {number} target
1663
+ * @param {number} srcByteOffset
1664
+ * @param {?ArrayBufferView|?ArrayBuffer} dstBuffer
1665
+ * @param {number=} opt_dstOffset
1666
+ * @param {number=} opt_length
1667
+ * @return {undefined}
1668
+ */
1669
+ WebGL2RenderingContext.prototype.getBufferSubData = function(
1670
+ target, srcByteOffset, dstBuffer, opt_dstOffset, opt_length) {};
1671
+
1672
+ /* Framebuffer objects */
1673
+
1674
+ /**
1675
+ * @param {number} srcX0
1676
+ * @param {number} srcY0
1677
+ * @param {number} srcX1
1678
+ * @param {number} srcY1
1679
+ * @param {number} dstX0
1680
+ * @param {number} dstY0
1681
+ * @param {number} dstX1
1682
+ * @param {number} dstY1
1683
+ * @param {number} mask
1684
+ * @param {number} filter
1685
+ * @return {undefined}
1686
+ */
1687
+ WebGL2RenderingContext.prototype.blitFramebuffer = function(
1688
+ srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) {};
1689
+
1690
+ /**
1691
+ * @param {number} target
1692
+ * @param {number} attachment
1693
+ * @param {?WebGLTexture} texture
1694
+ * @param {number} level
1695
+ * @param {number} layer
1696
+ * @return {undefined}
1697
+ */
1698
+ WebGL2RenderingContext.prototype.framebufferTextureLayer = function(
1699
+ target, attachment, texture, level, layer) {};
1700
+
1701
+ /**
1702
+ * @param {number} target
1703
+ * @param {!Array<number>} attachments
1704
+ * @return {undefined}
1705
+ */
1706
+ WebGL2RenderingContext.prototype.invalidateFramebuffer = function(
1707
+ target, attachments) {};
1708
+
1709
+ /**
1710
+ * @param {number} target
1711
+ * @param {!Array<number>} attachments
1712
+ * @param {number} x
1713
+ * @param {number} y
1714
+ * @param {number} width
1715
+ * @param {number} height
1716
+ * @return {undefined}
1717
+ */
1718
+ WebGL2RenderingContext.prototype.invalidateSubFramebuffer = function(
1719
+ target, attachments, x, y, width, height) {};
1720
+
1721
+ /**
1722
+ * @param {number} src
1723
+ * @return {undefined}
1724
+ */
1725
+ WebGL2RenderingContext.prototype.readBuffer = function(src) {};
1726
+
1727
+ /* Renderbuffer objects */
1728
+
1729
+ /**
1730
+ * @param {number} target
1731
+ * @param {number} internalformat
1732
+ * @param {number} pname
1733
+ * @return {*}
1734
+ * @nosideeffects
1735
+ */
1736
+ WebGL2RenderingContext.prototype.getInternalformatParameter = function(
1737
+ target, internalformat, pname) {};
1738
+
1739
+ /**
1740
+ * @param {number} target
1741
+ * @param {number} samples
1742
+ * @param {number} internalformat
1743
+ * @param {number} width
1744
+ * @param {number} height
1745
+ * @return {undefined}
1746
+ */
1747
+ WebGL2RenderingContext.prototype.renderbufferStorageMultisample = function(
1748
+ target, samples, internalformat, width, height) {};
1749
+
1750
+ /* Texture objects */
1751
+
1752
+ /**
1753
+ * @param {number} target
1754
+ * @param {number} levels
1755
+ * @param {number} internalformat
1756
+ * @param {number} width
1757
+ * @param {number} height
1758
+ * @return {undefined}
1759
+ */
1760
+ WebGL2RenderingContext.prototype.texStorage2D = function(
1761
+ target, levels, internalformat, width, height) {};
1762
+
1763
+ /**
1764
+ * @param {number} target
1765
+ * @param {number} levels
1766
+ * @param {number} internalformat
1767
+ * @param {number} width
1768
+ * @param {number} height
1769
+ * @param {number} depth
1770
+ * @return {undefined}
1771
+ */
1772
+ WebGL2RenderingContext.prototype.texStorage3D = function(
1773
+ target, levels, internalformat, width, height, depth) {};
1774
+
1775
+ /**
1776
+ * @param {number} target
1777
+ * @param {number} level
1778
+ * @param {number} internalformat
1779
+ * @param {number} formatOrWidth
1780
+ * @param {number} typeOrHeight
1781
+ * @param {?TexImageSource|number} imgOrBorder
1782
+ * @param {number=} opt_format
1783
+ * @param {number=} opt_type
1784
+ * @param {?ArrayBufferView|?TexImageSource|number=} opt_imgOrOffset
1785
+ * @param {number=} opt_srcOffset
1786
+ * @return {undefined}
1787
+ * @override
1788
+ */
1789
+ WebGL2RenderingContext.prototype.texImage2D = function(
1790
+ target, level, internalformat, formatOrWidth, typeOrHeight, imgOrBorder,
1791
+ opt_format, opt_type, opt_imgOrOffset, opt_srcOffset) {};
1792
+
1793
+ /**
1794
+ * @param {number} target
1795
+ * @param {number} level
1796
+ * @param {number} xoffset
1797
+ * @param {number} yoffset
1798
+ * @param {number} formatOrWidth
1799
+ * @param {number} typeOrHeight
1800
+ * @param {?TexImageSource|number} dataOrFormat
1801
+ * @param {number=} opt_type
1802
+ * @param {?ArrayBufferView|?TexImageSource|number=} opt_imgOrOffset
1803
+ * @param {number=} opt_srcOffset
1804
+ * @return {undefined}
1805
+ * @override
1806
+ */
1807
+ WebGL2RenderingContext.prototype.texSubImage2D = function(
1808
+ target, level, xoffset, yoffset, formatOrWidth, typeOrHeight, dataOrFormat,
1809
+ opt_type, opt_imgOrOffset, opt_srcOffset) {};
1810
+
1811
+ /**
1812
+ * @param {number} target
1813
+ * @param {number} level
1814
+ * @param {number} internalformat
1815
+ * @param {number} width
1816
+ * @param {number} height
1817
+ * @param {number} depth
1818
+ * @param {number} border
1819
+ * @param {number} format
1820
+ * @param {number} type
1821
+ * @param {?ArrayBufferView|?TexImageSource|number} srcData
1822
+ * @param {number=} opt_srcOffset
1823
+ * @return {undefined}
1824
+ */
1825
+ WebGL2RenderingContext.prototype.texImage3D = function(
1826
+ target, level, internalformat, width, height, depth, border, format, type,
1827
+ srcData, opt_srcOffset) {};
1828
+
1829
+ /**
1830
+ * @param {number} target
1831
+ * @param {number} level
1832
+ * @param {number} xoffset
1833
+ * @param {number} yoffset
1834
+ * @param {number} zoffset
1835
+ * @param {number} width
1836
+ * @param {number} height
1837
+ * @param {number} depth
1838
+ * @param {number} format
1839
+ * @param {number} type
1840
+ * @param {?ArrayBufferView|?TexImageSource|number} srcData
1841
+ * @param {number=} opt_srcOffset
1842
+ * @return {undefined}
1843
+ */
1844
+ WebGL2RenderingContext.prototype.texSubImage3D = function(
1845
+ target, level, xoffset, yoffset, zoffset, width, height, depth, format,
1846
+ type, srcData, opt_srcOffset) {};
1847
+
1848
+ /**
1849
+ * @param {number} target
1850
+ * @param {number} level
1851
+ * @param {number} xoffset
1852
+ * @param {number} yoffset
1853
+ * @param {number} zoffset
1854
+ * @param {number} x
1855
+ * @param {number} y
1856
+ * @param {number} width
1857
+ * @param {number} height
1858
+ * @return {undefined}
1859
+ */
1860
+ WebGL2RenderingContext.prototype.copyTexSubImage3D = function(
1861
+ target, level, xoffset, yoffset, zoffset, x, y, width, height) {};
1862
+
1863
+ /**
1864
+ * @param {number} target
1865
+ * @param {number} level
1866
+ * @param {number} internalformat
1867
+ * @param {number} width
1868
+ * @param {number} height
1869
+ * @param {number} border
1870
+ * @param {?ArrayBufferView|number} srcDataOrSize
1871
+ * @param {number=} opt_srcOffset
1872
+ * @param {number=} opt_srcLengthOverride
1873
+ * @return {undefined}
1874
+ * @override
1875
+ */
1876
+ WebGL2RenderingContext.prototype.compressedTexImage2D = function(
1877
+ target, level, internalformat, width, height, border, srcDataOrSize,
1878
+ opt_srcOffset, opt_srcLengthOverride) {};
1879
+
1880
+ /**
1881
+ * @param {number} target
1882
+ * @param {number} level
1883
+ * @param {number} internalformat
1884
+ * @param {number} width
1885
+ * @param {number} height
1886
+ * @param {number} depth
1887
+ * @param {number} border
1888
+ * @param {!ArrayBufferView|number} srcDataOrSize
1889
+ * @param {number=} opt_srcOffset
1890
+ * @param {number=} opt_srcLengthOverride
1891
+ * @return {undefined}
1892
+ */
1893
+ WebGL2RenderingContext.prototype.compressedTexImage3D = function(
1894
+ target, level, internalformat, width, height, depth, border, srcDataOrSize,
1895
+ opt_srcOffset, opt_srcLengthOverride) {};
1896
+
1897
+
1898
+ /**
1899
+ * @param {number} target
1900
+ * @param {number} level
1901
+ * @param {number} xoffset
1902
+ * @param {number} yoffset
1903
+ * @param {number} width
1904
+ * @param {number} height
1905
+ * @param {number} format
1906
+ * @param {?ArrayBufferView|number} srcDataOrSize
1907
+ * @param {number=} opt_srcOffset
1908
+ * @param {number=} opt_srcLengthOverride
1909
+ * @return {undefined}
1910
+ * @override
1911
+ */
1912
+ WebGL2RenderingContext.prototype.compressedTexSubImage2D = function(
1913
+ target, level, xoffset, yoffset, width, height, format, srcDataOrSize,
1914
+ opt_srcOffset, opt_srcLengthOverride) {};
1915
+
1916
+
1917
+ /**
1918
+ * @param {number} target
1919
+ * @param {number} level
1920
+ * @param {number} xoffset
1921
+ * @param {number} yoffset
1922
+ * @param {number} zoffset
1923
+ * @param {number} width
1924
+ * @param {number} height
1925
+ * @param {number} depth
1926
+ * @param {number} format
1927
+ * @param {!ArrayBufferView|number} srcDataOrSize
1928
+ * @param {number=} opt_srcOffset
1929
+ * @param {number=} opt_srcLengthOverride
1930
+ * @return {undefined}
1931
+ */
1932
+ WebGL2RenderingContext.prototype.compressedTexSubImage3D = function(
1933
+ target, level, xoffset, yoffset, zoffset, width, height, depth, format,
1934
+ srcDataOrSize, opt_srcOffset, opt_srcLengthOverride) {};
1935
+
1936
+ /* Programs and shaders */
1937
+
1938
+ /**
1939
+ * @param {!WebGLProgram} program
1940
+ * @param {string} name
1941
+ * @return {number}
1942
+ * @nosideeffects
1943
+ */
1944
+ WebGL2RenderingContext.prototype.getFragDataLocation = function(
1945
+ program, name) {};
1946
+
1947
+ /* Uniforms */
1948
+
1949
+ /**
1950
+ * @param {?WebGLUniformLocation} location
1951
+ * @param {number} v0
1952
+ * @return {undefined}
1953
+ */
1954
+ WebGL2RenderingContext.prototype.uniform1ui = function(location, v0) {};
1955
+
1956
+ /**
1957
+ * @param {?WebGLUniformLocation} location
1958
+ * @param {number} v0
1959
+ * @param {number} v1
1960
+ * @return {undefined}
1961
+ */
1962
+ WebGL2RenderingContext.prototype.uniform2ui = function(location, v0, v1) {};
1963
+
1964
+ /**
1965
+ * @param {?WebGLUniformLocation} location
1966
+ * @param {number} v0
1967
+ * @param {number} v1
1968
+ * @param {number} v2
1969
+ * @return {undefined}
1970
+ */
1971
+ WebGL2RenderingContext.prototype.uniform3ui = function(location, v0, v1, v2) {};
1972
+
1973
+ /**
1974
+ * @param {?WebGLUniformLocation} location
1975
+ * @param {number} v0
1976
+ * @param {number} v1
1977
+ * @param {number} v2
1978
+ * @param {number} v3
1979
+ * @return {undefined}
1980
+ */
1981
+ WebGL2RenderingContext.prototype.uniform4ui = function(
1982
+ location, v0, v1, v2, v3) {};
1983
+
1984
+
1985
+ /**
1986
+ * @param {?WebGLUniformLocation} location
1987
+ * @param {?Float32Array|?Array<number>} data
1988
+ * @param {number=} opt_srcOffset
1989
+ * @param {number=} opt_srcLength
1990
+ * @return {undefined}
1991
+ * @override
1992
+ */
1993
+ WebGL2RenderingContext.prototype.uniform1fv = function(
1994
+ location, data, opt_srcOffset, opt_srcLength) {};
1995
+
1996
+ /**
1997
+ * @param {?WebGLUniformLocation} location
1998
+ * @param {?Float32Array|?Array<number>} data
1999
+ * @param {number=} opt_srcOffset
2000
+ * @param {number=} opt_srcLength
2001
+ * @return {undefined}
2002
+ * @override
2003
+ */
2004
+ WebGL2RenderingContext.prototype.uniform2fv = function(
2005
+ location, data, opt_srcOffset, opt_srcLength) {};
2006
+
2007
+ /**
2008
+ * @param {?WebGLUniformLocation} location
2009
+ * @param {?Float32Array|?Array<number>} data
2010
+ * @param {number=} opt_srcOffset
2011
+ * @param {number=} opt_srcLength
2012
+ * @return {undefined}
2013
+ * @override
2014
+ */
2015
+ WebGL2RenderingContext.prototype.uniform3fv = function(
2016
+ location, data, opt_srcOffset, opt_srcLength) {};
2017
+
2018
+ /**
2019
+ * @param {?WebGLUniformLocation} location
2020
+ * @param {?Float32Array|?Array<number>} data
2021
+ * @param {number=} opt_srcOffset
2022
+ * @param {number=} opt_srcLength
2023
+ * @return {undefined}
2024
+ * @override
2025
+ */
2026
+ WebGL2RenderingContext.prototype.uniform4fv = function(
2027
+ location, data, opt_srcOffset, opt_srcLength) {};
2028
+
2029
+ /**
2030
+ * @param {?WebGLUniformLocation} location
2031
+ * @param {?Int32Array|?Array<number>|?Array<boolean>} data
2032
+ * @param {number=} opt_srcOffset
2033
+ * @param {number=} opt_srcLength
2034
+ * @return {undefined}
2035
+ * @override
2036
+ */
2037
+ WebGL2RenderingContext.prototype.uniform1iv = function(
2038
+ location, data, opt_srcOffset, opt_srcLength) {};
2039
+
2040
+ /**
2041
+ * @param {?WebGLUniformLocation} location
2042
+ * @param {?Int32Array|?Array<number>|?Array<boolean>} data
2043
+ * @param {number=} opt_srcOffset
2044
+ * @param {number=} opt_srcLength
2045
+ * @return {undefined}
2046
+ * @override
2047
+ */
2048
+ WebGL2RenderingContext.prototype.uniform2iv = function(
2049
+ location, data, opt_srcOffset, opt_srcLength) {};
2050
+
2051
+ /**
2052
+ * @param {?WebGLUniformLocation} location
2053
+ * @param {?Int32Array|?Array<number>|?Array<boolean>} data
2054
+ * @param {number=} opt_srcOffset
2055
+ * @param {number=} opt_srcLength
2056
+ * @return {undefined}
2057
+ * @override
2058
+ */
2059
+ WebGL2RenderingContext.prototype.uniform3iv = function(
2060
+ location, data, opt_srcOffset, opt_srcLength) {};
2061
+
2062
+ /**
2063
+ * @param {?WebGLUniformLocation} location
2064
+ * @param {?Int32Array|?Array<number>|?Array<boolean>} data
2065
+ * @param {number=} opt_srcOffset
2066
+ * @param {number=} opt_srcLength
2067
+ * @return {undefined}
2068
+ * @override
2069
+ */
2070
+ WebGL2RenderingContext.prototype.uniform4iv = function(
2071
+ location, data, opt_srcOffset, opt_srcLength) {};
2072
+
2073
+
2074
+ /**
2075
+ * @param {?WebGLUniformLocation} location
2076
+ * @param {!Uint32Array|!Array<number>|!Array<boolean>} data
2077
+ * @param {number=} opt_srcOffset
2078
+ * @param {number=} opt_srcLength
2079
+ * @return {undefined}
2080
+ */
2081
+ WebGL2RenderingContext.prototype.uniform1uiv = function(
2082
+ location, data, opt_srcOffset, opt_srcLength) {};
2083
+
2084
+ /**
2085
+ * @param {?WebGLUniformLocation} location
2086
+ * @param {!Uint32Array|!Array<number>|!Array<boolean>} data
2087
+ * @param {number=} opt_srcOffset
2088
+ * @param {number=} opt_srcLength
2089
+ * @return {undefined}
2090
+ */
2091
+ WebGL2RenderingContext.prototype.uniform2uiv = function(
2092
+ location, data, opt_srcOffset, opt_srcLength) {};
2093
+
2094
+ /**
2095
+ * @param {?WebGLUniformLocation} location
2096
+ * @param {!Uint32Array|!Array<number>|!Array<boolean>} data
2097
+ * @param {number=} opt_srcOffset
2098
+ * @param {number=} opt_srcLength
2099
+ * @return {undefined}
2100
+ */
2101
+ WebGL2RenderingContext.prototype.uniform3uiv = function(
2102
+ location, data, opt_srcOffset, opt_srcLength) {};
2103
+
2104
+ /**
2105
+ * @param {?WebGLUniformLocation} location
2106
+ * @param {!Uint32Array|!Array<number>|!Array<boolean>} data
2107
+ * @param {number=} opt_srcOffset
2108
+ * @param {number=} opt_srcLength
2109
+ * @return {undefined}
2110
+ */
2111
+ WebGL2RenderingContext.prototype.uniform4uiv = function(
2112
+ location, data, opt_srcOffset, opt_srcLength) {};
2113
+
2114
+ /**
2115
+ * @param {?WebGLUniformLocation} location
2116
+ * @param {boolean} transpose
2117
+ * @param {?Float32Array|?Array<number>} data
2118
+ * @param {number=} opt_srcOffset
2119
+ * @param {number=} opt_srcLength
2120
+ * @return {undefined}
2121
+ * @override
2122
+ */
2123
+ WebGL2RenderingContext.prototype.uniformMatrix2fv = function(
2124
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2125
+
2126
+ /**
2127
+ * @param {?WebGLUniformLocation} location
2128
+ * @param {boolean} transpose
2129
+ * @param {!Float32Array|!Array<number>} data
2130
+ * @param {number=} opt_srcOffset
2131
+ * @param {number=} opt_srcLength
2132
+ * @return {undefined}
2133
+ */
2134
+ WebGL2RenderingContext.prototype.uniformMatrix3x2fv = function(
2135
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2136
+
2137
+ /**
2138
+ * @param {?WebGLUniformLocation} location
2139
+ * @param {boolean} transpose
2140
+ * @param {!Float32Array|!Array<number>} data
2141
+ * @param {number=} opt_srcOffset
2142
+ * @param {number=} opt_srcLength
2143
+ * @return {undefined}
2144
+ */
2145
+ WebGL2RenderingContext.prototype.uniformMatrix4x2fv = function(
2146
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2147
+
2148
+ /**
2149
+ * @param {?WebGLUniformLocation} location
2150
+ * @param {boolean} transpose
2151
+ * @param {!Float32Array|!Array<number>} data
2152
+ * @param {number=} opt_srcOffset
2153
+ * @param {number=} opt_srcLength
2154
+ * @return {undefined}
2155
+ */
2156
+ WebGL2RenderingContext.prototype.uniformMatrix2x3fv = function(
2157
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2158
+
2159
+ /**
2160
+ * @param {?WebGLUniformLocation} location
2161
+ * @param {boolean} transpose
2162
+ * @param {?Float32Array|?Array<number>} data
2163
+ * @param {number=} opt_srcOffset
2164
+ * @param {number=} opt_srcLength
2165
+ * @return {undefined}
2166
+ * @override
2167
+ */
2168
+ WebGL2RenderingContext.prototype.uniformMatrix3fv = function(
2169
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2170
+
2171
+ /**
2172
+ * @param {?WebGLUniformLocation} location
2173
+ * @param {boolean} transpose
2174
+ * @param {!Float32Array|!Array<number>} data
2175
+ * @param {number=} opt_srcOffset
2176
+ * @param {number=} opt_srcLength
2177
+ * @return {undefined}
2178
+ */
2179
+ WebGL2RenderingContext.prototype.uniformMatrix4x3fv = function(
2180
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2181
+
2182
+ /**
2183
+ * @param {?WebGLUniformLocation} location
2184
+ * @param {boolean} transpose
2185
+ * @param {!Float32Array|!Array<number>} data
2186
+ * @param {number=} opt_srcOffset
2187
+ * @param {number=} opt_srcLength
2188
+ * @return {undefined}
2189
+ */
2190
+ WebGL2RenderingContext.prototype.uniformMatrix2x4fv = function(
2191
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2192
+
2193
+ /**
2194
+ * @param {?WebGLUniformLocation} location
2195
+ * @param {boolean} transpose
2196
+ * @param {!Float32Array|!Array<number>} data
2197
+ * @param {number=} opt_srcOffset
2198
+ * @param {number=} opt_srcLength
2199
+ * @return {undefined}
2200
+ */
2201
+ WebGL2RenderingContext.prototype.uniformMatrix3x4fv = function(
2202
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2203
+
2204
+ /**
2205
+ * @param {?WebGLUniformLocation} location
2206
+ * @param {boolean} transpose
2207
+ * @param {?Float32Array|?Array<number>} data
2208
+ * @param {number=} opt_srcOffset
2209
+ * @param {number=} opt_srcLength
2210
+ * @return {undefined}
2211
+ * @override
2212
+ */
2213
+ WebGL2RenderingContext.prototype.uniformMatrix4fv = function(
2214
+ location, transpose, data, opt_srcOffset, opt_srcLength) {};
2215
+
2216
+ /* Vertex attribs */
2217
+
2218
+ /**
2219
+ * @param {number} index
2220
+ * @param {number} x
2221
+ * @param {number} y
2222
+ * @param {number} z
2223
+ * @param {number} w
2224
+ * @return {undefined}
2225
+ */
2226
+ WebGL2RenderingContext.prototype.vertexAttribI4i = function(
2227
+ index, x, y, z, w) {};
2228
+
2229
+ /**
2230
+ * @param {number} index
2231
+ * @param {!Int32Array|!Array<number>|!Array<boolean>} values
2232
+ * @return {undefined}
2233
+ */
2234
+ WebGL2RenderingContext.prototype.vertexAttribI4iv = function(index, values) {};
2235
+
2236
+ /**
2237
+ * @param {number} index
2238
+ * @param {number} x
2239
+ * @param {number} y
2240
+ * @param {number} z
2241
+ * @param {number} w
2242
+ * @return {undefined}
2243
+ */
2244
+ WebGL2RenderingContext.prototype.vertexAttribI4ui = function(
2245
+ index, x, y, z, w) {};
2246
+
2247
+ /**
2248
+ * @param {number} index
2249
+ * @param {!Uint32Array|!Array<number>|!Array<boolean>} values
2250
+ * @return {undefined}
2251
+ */
2252
+ WebGL2RenderingContext.prototype.vertexAttribI4uiv = function(index, values) {};
2253
+
2254
+ /**
2255
+ * @param {number} index
2256
+ * @param {number} size
2257
+ * @param {number} type
2258
+ * @param {number} stride
2259
+ * @param {number} offset
2260
+ * @return {undefined}
2261
+ */
2262
+ WebGL2RenderingContext.prototype.vertexAttribIPointer = function(
2263
+ index, size, type, stride, offset) {};
2264
+
2265
+ /* Writing to the drawing buffer */
2266
+
2267
+ /**
2268
+ * @param {number} index
2269
+ * @param {number} divisor
2270
+ * @return {undefined}
2271
+ */
2272
+ WebGL2RenderingContext.prototype.vertexAttribDivisor = function(
2273
+ index, divisor) {};
2274
+
2275
+ /**
2276
+ * @param {number} mode
2277
+ * @param {number} first
2278
+ * @param {number} count
2279
+ * @param {number} instanceCount
2280
+ * @return {undefined}
2281
+ */
2282
+ WebGL2RenderingContext.prototype.drawArraysInstanced = function(
2283
+ mode, first, count, instanceCount) {};
2284
+
2285
+ /**
2286
+ * @param {number} mode
2287
+ * @param {number} count
2288
+ * @param {number} type
2289
+ * @param {number} offset
2290
+ * @param {number} instanceCount
2291
+ * @return {undefined}
2292
+ */
2293
+ WebGL2RenderingContext.prototype.drawElementsInstanced = function(
2294
+ mode, count, type, offset, instanceCount) {};
2295
+
2296
+ /**
2297
+ * @param {number} mode
2298
+ * @param {number} start
2299
+ * @param {number} end
2300
+ * @param {number} count
2301
+ * @param {number} type
2302
+ * @param {number} offset
2303
+ * @return {undefined}
2304
+ */
2305
+ WebGL2RenderingContext.prototype.drawRangeElements = function(
2306
+ mode, start, end, count, type, offset) {};
2307
+
2308
+ /* Reading back pixels */
2309
+
2310
+ /**
2311
+ * @param {number} x
2312
+ * @param {number} y
2313
+ * @param {number} width
2314
+ * @param {number} height
2315
+ * @param {number} format
2316
+ * @param {number} type
2317
+ * @param {?ArrayBufferView|number} dstDataOrOffset
2318
+ * @param {number=} opt_dstOffset
2319
+ * @return {undefined}
2320
+ * @override
2321
+ */
2322
+ WebGL2RenderingContext.prototype.readPixels = function(
2323
+ x, y, width, height, format, type, dstDataOrOffset, opt_dstOffset) {};
2324
+
2325
+ /* Multiple Render Targets */
2326
+
2327
+ /**
2328
+ * @param {!Array<number>} buffers
2329
+ * @return {undefined}
2330
+ */
2331
+ WebGL2RenderingContext.prototype.drawBuffers = function(buffers) {};
2332
+
2333
+
2334
+ /**
2335
+ * @param {number} buffer
2336
+ * @param {number} drawbuffer
2337
+ * @param {!Float32Array|!Array<number>} values
2338
+ * @param {number=} opt_srcOffset
2339
+ * @return {undefined}
2340
+ */
2341
+ WebGL2RenderingContext.prototype.clearBufferfv = function(
2342
+ buffer, drawbuffer, values, opt_srcOffset) {};
2343
+
2344
+ /**
2345
+ * @param {number} buffer
2346
+ * @param {number} drawbuffer
2347
+ * @param {!Int32Array|!Array<number>|!Array<boolean>} values
2348
+ * @param {number=} opt_srcOffset
2349
+ * @return {undefined}
2350
+ */
2351
+ WebGL2RenderingContext.prototype.clearBufferiv = function(
2352
+ buffer, drawbuffer, values, opt_srcOffset) {};
2353
+
2354
+ /**
2355
+ * @param {number} buffer
2356
+ * @param {number} drawbuffer
2357
+ * @param {!Uint32Array|!Array<number>|!Array<boolean>} values
2358
+ * @param {number=} opt_srcOffset
2359
+ * @return {undefined}
2360
+ */
2361
+ WebGL2RenderingContext.prototype.clearBufferuiv = function(
2362
+ buffer, drawbuffer, values, opt_srcOffset) {};
2363
+
2364
+ /**
2365
+ * @param {number} buffer
2366
+ * @param {number} drawbuffer
2367
+ * @param {number} depth
2368
+ * @param {number} stencil
2369
+ * @return {undefined}
2370
+ */
2371
+ WebGL2RenderingContext.prototype.clearBufferfi = function(
2372
+ buffer, drawbuffer, depth, stencil) {};
2373
+
2374
+ /* Query Objects */
2375
+
2376
+ /**
2377
+ * @return {?WebGLQuery}
2378
+ */
2379
+ WebGL2RenderingContext.prototype.createQuery = function() {};
2380
+
2381
+ /**
2382
+ * @param {?WebGLQuery} query
2383
+ * @return {undefined}
2384
+ */
2385
+ WebGL2RenderingContext.prototype.deleteQuery = function(query) {};
2386
+
2387
+ /**
2388
+ * @param {?WebGLQuery} query
2389
+ * @return {boolean}
2390
+ */
2391
+ WebGL2RenderingContext.prototype.isQuery = function(query) {};
2392
+
2393
+ /**
2394
+ * @param {number} target
2395
+ * @param {!WebGLQuery} query
2396
+ * @return {undefined}
2397
+ */
2398
+ WebGL2RenderingContext.prototype.beginQuery = function(target, query) {};
2399
+
2400
+ /**
2401
+ * @param {number} target
2402
+ * @return {undefined}
2403
+ */
2404
+ WebGL2RenderingContext.prototype.endQuery = function(target) {};
2405
+
2406
+ /**
2407
+ * @param {number} target
2408
+ * @param {number} pname
2409
+ * @return {?WebGLQuery}
2410
+ * @nosideeffects
2411
+ */
2412
+ WebGL2RenderingContext.prototype.getQuery = function(target, pname) {};
2413
+
2414
+ /**
2415
+ * @param {!WebGLQuery} query
2416
+ * @param {number} pname
2417
+ * @return {*}
2418
+ */
2419
+ WebGL2RenderingContext.prototype.getQueryParameter = function(query, pname) {};
2420
+
2421
+ /* Sampler Objects */
2422
+
2423
+ /**
2424
+ * @return {?WebGLSampler}
2425
+ */
2426
+ WebGL2RenderingContext.prototype.createSampler = function() {};
2427
+
2428
+ /**
2429
+ * @param {?WebGLSampler} sampler
2430
+ * @return {undefined}
2431
+ */
2432
+ WebGL2RenderingContext.prototype.deleteSampler = function(sampler) {};
2433
+
2434
+ /**
2435
+ * @param {?WebGLSampler} sampler
2436
+ * @return {boolean}
2437
+ */
2438
+ WebGL2RenderingContext.prototype.isSampler = function(sampler) {};
2439
+
2440
+ /**
2441
+ * @param {number} unit
2442
+ * @param {?WebGLSampler} sampler
2443
+ * @return {undefined}
2444
+ */
2445
+ WebGL2RenderingContext.prototype.bindSampler = function(unit, sampler) {};
2446
+
2447
+ /**
2448
+ * @param {!WebGLSampler} sampler
2449
+ * @param {number} pname
2450
+ * @param {number} param
2451
+ * @return {undefined}
2452
+ */
2453
+ WebGL2RenderingContext.prototype.samplerParameteri = function(
2454
+ sampler, pname, param) {};
2455
+
2456
+ /**
2457
+ * @param {!WebGLSampler} sampler
2458
+ * @param {number} pname
2459
+ * @param {number} param
2460
+ * @return {undefined}
2461
+ */
2462
+ WebGL2RenderingContext.prototype.samplerParameterf = function(
2463
+ sampler, pname, param) {};
2464
+
2465
+ /**
2466
+ * @param {!WebGLSampler} sampler
2467
+ * @param {number} pname
2468
+ * @return {*}
2469
+ * @nosideeffects
2470
+ */
2471
+ WebGL2RenderingContext.prototype.getSamplerParameter = function(
2472
+ sampler, pname) {};
2473
+
2474
+ /* Sync objects */
2475
+
2476
+ /**
2477
+ * @param {number} condition
2478
+ * @param {number} flags
2479
+ * @return {?WebGLSync}
2480
+ */
2481
+ WebGL2RenderingContext.prototype.fenceSync = function(condition, flags) {};
2482
+
2483
+ /**
2484
+ * @param {?WebGLSync} sync
2485
+ * @return {boolean}
2486
+ */
2487
+ WebGL2RenderingContext.prototype.isSync = function(sync) {};
2488
+
2489
+ /**
2490
+ * @param {?WebGLSync} sync
2491
+ * @return {undefined}
2492
+ */
2493
+ WebGL2RenderingContext.prototype.deleteSync = function(sync) {};
2494
+
2495
+ /**
2496
+ * @param {!WebGLSync} sync
2497
+ * @param {number} flags
2498
+ * @param {number} timeout
2499
+ * @return {undefined}
2500
+ */
2501
+ WebGL2RenderingContext.prototype.clientWaitSync = function(
2502
+ sync, flags, timeout) {};
2503
+
2504
+ /**
2505
+ * @param {!WebGLSync} sync
2506
+ * @param {number} flags
2507
+ * @param {number} timeout
2508
+ * @return {undefined}
2509
+ */
2510
+ WebGL2RenderingContext.prototype.waitSync = function(sync, flags, timeout) {};
2511
+
2512
+ /**
2513
+ * @param {!WebGLSync} sync
2514
+ * @param {number} pname
2515
+ * @return {*}
2516
+ */
2517
+ WebGL2RenderingContext.prototype.getSyncParameter = function(sync, pname) {};
2518
+
2519
+ /* Transform Feedback */
2520
+
2521
+ /**
2522
+ * @return {?WebGLTransformFeedback}
2523
+ */
2524
+ WebGL2RenderingContext.prototype.createTransformFeedback = function() {};
2525
+
2526
+ /**
2527
+ * @param {?WebGLTransformFeedback} tf
2528
+ * @return {undefined}
2529
+ */
2530
+ WebGL2RenderingContext.prototype.deleteTransformFeedback = function(tf) {};
2531
+
2532
+ /**
2533
+ * @param {?WebGLTransformFeedback} tf
2534
+ * @return {boolean}
2535
+ */
2536
+ WebGL2RenderingContext.prototype.isTransformFeedback = function(tf) {};
2537
+
2538
+ /**
2539
+ * @param {number} target
2540
+ * @param {?WebGLTransformFeedback} tf
2541
+ * @return {undefined}
2542
+ */
2543
+ WebGL2RenderingContext.prototype.bindTransformFeedback = function(
2544
+ target, tf) {};
2545
+
2546
+ /**
2547
+ * @param {number} primitiveMode
2548
+ * @return {undefined}
2549
+ */
2550
+ WebGL2RenderingContext.prototype.beginTransformFeedback = function(
2551
+ primitiveMode) {};
2552
+
2553
+ /**
2554
+ * @return {undefined}
2555
+ */
2556
+ WebGL2RenderingContext.prototype.endTransformFeedback = function() {};
2557
+
2558
+ /**
2559
+ * @param {!WebGLProgram} program
2560
+ * @param {!Array<string>} varyings
2561
+ * @param {number} bufferMode
2562
+ * @return {undefined}
2563
+ */
2564
+ WebGL2RenderingContext.prototype.transformFeedbackVaryings = function(
2565
+ program, varyings, bufferMode) {};
2566
+
2567
+ /**
2568
+ * @param {!WebGLProgram} program
2569
+ * @param {number} index
2570
+ * @return {?WebGLActiveInfo}
2571
+ * @nosideeffects
2572
+ */
2573
+ WebGL2RenderingContext.prototype.getTransformFeedbackVarying = function(
2574
+ program, index) {};
2575
+
2576
+ /**
2577
+ * @return {undefined}
2578
+ */
2579
+ WebGL2RenderingContext.prototype.pauseTransformFeedback = function() {};
2580
+
2581
+ /**
2582
+ * @return {undefined}
2583
+ */
2584
+ WebGL2RenderingContext.prototype.resumeTransformFeedback = function() {};
2585
+
2586
+ /* Uniform Buffer Objects and Transform Feedback Buffers */
2587
+
2588
+ /**
2589
+ * @param {number} target
2590
+ * @param {number} index
2591
+ * @param {?WebGLBuffer} buffer
2592
+ * @return {undefined}
2593
+ */
2594
+ WebGL2RenderingContext.prototype.bindBufferBase = function(
2595
+ target, index, buffer) {};
2596
+
2597
+ /**
2598
+ * @param {number} target
2599
+ * @param {number} index
2600
+ * @param {?WebGLBuffer} buffer
2601
+ * @param {number} offset
2602
+ * @param {number} size
2603
+ * @return {undefined}
2604
+ */
2605
+ WebGL2RenderingContext.prototype.bindBufferRange = function(
2606
+ target, index, buffer, offset, size) {};
2607
+
2608
+ /**
2609
+ * @param {number} target
2610
+ * @param {number} index
2611
+ * @return {*}
2612
+ */
2613
+ WebGL2RenderingContext.prototype.getIndexedParameter = function(
2614
+ target, index) {};
2615
+
2616
+ /**
2617
+ * @param {!WebGLProgram} program
2618
+ * @param {!Array<string>} uniformNames
2619
+ * @return {!Array<number>}
2620
+ */
2621
+ WebGL2RenderingContext.prototype.getUniformIndices = function(
2622
+ program, uniformNames) {};
2623
+
2624
+ /**
2625
+ * @param {!WebGLProgram} program
2626
+ * @param {!Array<number>} uniformIndices
2627
+ * @param {number} pname
2628
+ * @return {*}
2629
+ */
2630
+ WebGL2RenderingContext.prototype.getActiveUniforms = function(
2631
+ program, uniformIndices, pname) {};
2632
+
2633
+ /**
2634
+ * @param {!WebGLProgram} program
2635
+ * @param {string} uniformBlockName
2636
+ * @return {number}
2637
+ * @nosideeffects
2638
+ */
2639
+ WebGL2RenderingContext.prototype.getUniformBlockIndex = function(
2640
+ program, uniformBlockName) {};
2641
+
2642
+ /**
2643
+ * @param {!WebGLProgram} program
2644
+ * @param {number} uniformBlockIndex
2645
+ * @param {number} pname
2646
+ * @return {*}
2647
+ */
2648
+ WebGL2RenderingContext.prototype.getActiveUniformBlockParameter = function(
2649
+ program, uniformBlockIndex, pname) {};
2650
+
2651
+ /**
2652
+ * @param {!WebGLProgram} program
2653
+ * @param {number} uniformBlockIndex
2654
+ * @return {?string}
2655
+ * @nosideeffects
2656
+ */
2657
+ WebGL2RenderingContext.prototype.getActiveUniformBlockName = function(
2658
+ program, uniformBlockIndex) {};
2659
+
2660
+ /**
2661
+ * @param {!WebGLProgram} program
2662
+ * @param {number} uniformBlockIndex
2663
+ * @param {number} uniformBlockBinding
2664
+ * @return {undefined}
2665
+ */
2666
+ WebGL2RenderingContext.prototype.uniformBlockBinding = function(
2667
+ program, uniformBlockIndex, uniformBlockBinding) {};
2668
+
2669
+ /* Vertex Array Objects */
2670
+
2671
+ /**
2672
+ * @return {?WebGLVertexArrayObject}
2673
+ */
2674
+ WebGL2RenderingContext.prototype.createVertexArray = function() {};
2675
+
2676
+ /**
2677
+ * @param {?WebGLVertexArrayObject} vertexArray
2678
+ * @return {undefined}
2679
+ */
2680
+ WebGL2RenderingContext.prototype.deleteVertexArray = function(vertexArray) {};
2681
+
2682
+ /**
2683
+ * @param {?WebGLVertexArrayObject} vertexArray
2684
+ * @return {boolean}
2685
+ */
2686
+ WebGL2RenderingContext.prototype.isVertexArray = function(vertexArray) {};
2687
+
2688
+ /**
2689
+ * @param {?WebGLVertexArrayObject} array
2690
+ * @return {undefined}
2691
+ */
2692
+ WebGL2RenderingContext.prototype.bindVertexArray = function(array) {};
2693
+
2694
+
2695
+ /**
2696
+ * @constructor
2697
+ * @extends {WebGLObject}
2698
+ */
2699
+ function WebGLQuery() {}
2700
+
2701
+
2702
+ /**
2703
+ * @constructor
2704
+ * @extends {WebGLObject}
2705
+ */
2706
+ function WebGLSampler() {}
2707
+
2708
+
2709
+ /**
2710
+ * @constructor
2711
+ * @extends {WebGLObject}
2712
+ */
2713
+ function WebGLSync() {}
2714
+
2715
+
2716
+ /**
2717
+ * @constructor
2718
+ * @extends {WebGLObject}
2719
+ */
2720
+ function WebGLTransformFeedback() {}
2721
+
2722
+
2723
+ /**
2724
+ * @constructor
2725
+ * @extends {WebGLObject}
2726
+ */
2727
+ function WebGLVertexArrayObject() {}