Debian Codegraph @

externs/webgl.js

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