OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:_internal'; | 7 import 'dart:_internal'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') | 498 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') |
499 @DocsEditable() | 499 @DocsEditable() |
500 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; | 500 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; |
501 } | 501 } |
502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
503 // for details. All rights reserved. Use of this source code is governed by a | 503 // for details. All rights reserved. Use of this source code is governed by a |
504 // BSD-style license that can be found in the LICENSE file. | 504 // BSD-style license that can be found in the LICENSE file. |
505 | 505 |
506 | 506 |
507 @DocsEditable() | 507 @DocsEditable() |
508 /** | |
509 * The properties of a WebGL rendering context. | |
510 * | |
511 * If [alpha] is `true`, then the context has an alpha channel. | |
512 * | |
513 * If [antialias] is `true`, then antialiasing is performed by the browser, but | |
514 * only if the browser's implementation of WebGL supports antialiasing. | |
515 * | |
516 * If [depth] is `true`, then the context has a depth buffer of at least 16 | |
517 * bits. | |
518 * | |
519 * If [premultipliedAlpha] is `true`, then the context's colors are assumed to | |
520 * be premultiplied. This means that color values are assumed to have been | |
521 * multiplied by their alpha values. If [alpha] is `false`, then this flag is | |
522 * ignored. | |
523 * | |
524 * If [preserveDrawingBuffer] is `false`, then all contents of the context are | |
525 * cleared. If `true`, then all values will remain until changed or cleared. | |
526 * | |
527 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 | |
528 * bits. | |
529 */ | |
530 @DomName('WebGLContextAttributes') | |
531 @Unstable() | |
532 @Native("WebGLContextAttributes") | |
533 class ContextAttributes extends Interceptor { | |
534 // To suppress missing implicit constructor warnings. | |
535 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } | |
536 | |
537 @DomName('WebGLContextAttributes.alpha') | |
538 @DocsEditable() | |
539 bool alpha; | |
540 | |
541 @DomName('WebGLContextAttributes.antialias') | |
542 @DocsEditable() | |
543 bool antialias; | |
544 | |
545 @DomName('WebGLContextAttributes.depth') | |
546 @DocsEditable() | |
547 bool depth; | |
548 | |
549 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | |
550 @DocsEditable() | |
551 @Experimental() // untriaged | |
552 bool failIfMajorPerformanceCaveat; | |
553 | |
554 @DomName('WebGLContextAttributes.premultipliedAlpha') | |
555 @DocsEditable() | |
556 bool premultipliedAlpha; | |
557 | |
558 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | |
559 @DocsEditable() | |
560 bool preserveDrawingBuffer; | |
561 | |
562 @DomName('WebGLContextAttributes.stencil') | |
563 @DocsEditable() | |
564 bool stencil; | |
565 } | |
566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
567 // for details. All rights reserved. Use of this source code is governed by a | |
568 // BSD-style license that can be found in the LICENSE file. | |
569 | |
570 | |
571 @DocsEditable() | |
572 @DomName('WebGLContextEvent') | 508 @DomName('WebGLContextEvent') |
573 @Unstable() | 509 @Unstable() |
574 @Native("WebGLContextEvent") | 510 @Native("WebGLContextEvent") |
575 class ContextEvent extends Event { | 511 class ContextEvent extends Event { |
576 // To suppress missing implicit constructor warnings. | 512 // To suppress missing implicit constructor warnings. |
577 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 513 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
578 | 514 |
| 515 @DomName('WebGLContextEvent.WebGLContextEvent') |
| 516 @DocsEditable() |
| 517 factory ContextEvent(String type, [Map eventInit]) { |
| 518 if (eventInit != null) { |
| 519 var eventInit_1 = convertDartToNative_Dictionary(eventInit); |
| 520 return ContextEvent._create_1(type, eventInit_1); |
| 521 } |
| 522 return ContextEvent._create_2(type); |
| 523 } |
| 524 static ContextEvent _create_1(type, eventInit) => JS('ContextEvent', 'new WebG
LContextEvent(#,#)', type, eventInit); |
| 525 static ContextEvent _create_2(type) => JS('ContextEvent', 'new WebGLContextEve
nt(#)', type); |
| 526 |
579 @DomName('WebGLContextEvent.statusMessage') | 527 @DomName('WebGLContextEvent.statusMessage') |
580 @DocsEditable() | 528 @DocsEditable() |
581 final String statusMessage; | 529 final String statusMessage; |
582 } | 530 } |
583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
584 // for details. All rights reserved. Use of this source code is governed by a | 532 // for details. All rights reserved. Use of this source code is governed by a |
585 // BSD-style license that can be found in the LICENSE file. | 533 // BSD-style license that can be found in the LICENSE file. |
586 | 534 |
587 | 535 |
588 @DocsEditable() | 536 @DocsEditable() |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | 740 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
793 @DocsEditable() | 741 @DocsEditable() |
794 void drawBuffersWebgl(List<int> buffers) native; | 742 void drawBuffersWebgl(List<int> buffers) native; |
795 } | 743 } |
796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 744 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
797 // for details. All rights reserved. Use of this source code is governed by a | 745 // for details. All rights reserved. Use of this source code is governed by a |
798 // BSD-style license that can be found in the LICENSE file. | 746 // BSD-style license that can be found in the LICENSE file. |
799 | 747 |
800 | 748 |
801 @DocsEditable() | 749 @DocsEditable() |
| 750 @DomName('EXTsRGB') |
| 751 @Experimental() // untriaged |
| 752 @Native("EXTsRGB") |
| 753 class EXTsRgb extends Interceptor { |
| 754 // To suppress missing implicit constructor warnings. |
| 755 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); } |
| 756 |
| 757 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') |
| 758 @DocsEditable() |
| 759 @Experimental() // untriaged |
| 760 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; |
| 761 |
| 762 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') |
| 763 @DocsEditable() |
| 764 @Experimental() // untriaged |
| 765 static const int SRGB8_ALPHA8_EXT = 0x8C43; |
| 766 |
| 767 @DomName('EXTsRGB.SRGB_ALPHA_EXT') |
| 768 @DocsEditable() |
| 769 @Experimental() // untriaged |
| 770 static const int SRGB_ALPHA_EXT = 0x8C42; |
| 771 |
| 772 @DomName('EXTsRGB.SRGB_EXT') |
| 773 @DocsEditable() |
| 774 @Experimental() // untriaged |
| 775 static const int SRGB_EXT = 0x8C40; |
| 776 } |
| 777 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 778 // for details. All rights reserved. Use of this source code is governed by a |
| 779 // BSD-style license that can be found in the LICENSE file. |
| 780 |
| 781 |
| 782 @DocsEditable() |
802 @DomName('EXTBlendMinMax') | 783 @DomName('EXTBlendMinMax') |
803 @Experimental() // untriaged | 784 @Experimental() // untriaged |
804 @Native("EXTBlendMinMax") | 785 @Native("EXTBlendMinMax") |
805 class ExtBlendMinMax extends Interceptor { | 786 class ExtBlendMinMax extends Interceptor { |
806 // To suppress missing implicit constructor warnings. | 787 // To suppress missing implicit constructor warnings. |
807 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } | 788 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } |
808 | 789 |
809 @DomName('EXTBlendMinMax.MAX_EXT') | 790 @DomName('EXTBlendMinMax.MAX_EXT') |
810 @DocsEditable() | 791 @DocsEditable() |
811 @Experimental() // untriaged | 792 @Experimental() // untriaged |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 // To suppress missing implicit constructor warnings. | 987 // To suppress missing implicit constructor warnings. |
1007 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 988 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } |
1008 | 989 |
1009 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 990 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1010 @DocsEditable() | 991 @DocsEditable() |
1011 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 992 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1012 | 993 |
1013 @JSName('bindVertexArrayOES') | 994 @JSName('bindVertexArrayOES') |
1014 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 995 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
1015 @DocsEditable() | 996 @DocsEditable() |
1016 void bindVertexArray(VertexArrayObject arrayObject) native; | 997 void bindVertexArray(VertexArrayObjectOes arrayObject) native; |
1017 | 998 |
1018 @JSName('createVertexArrayOES') | 999 @JSName('createVertexArrayOES') |
1019 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1000 @DomName('OESVertexArrayObject.createVertexArrayOES') |
1020 @DocsEditable() | 1001 @DocsEditable() |
1021 VertexArrayObject createVertexArray() native; | 1002 VertexArrayObjectOes createVertexArray() native; |
1022 | 1003 |
1023 @JSName('deleteVertexArrayOES') | 1004 @JSName('deleteVertexArrayOES') |
1024 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1005 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
1025 @DocsEditable() | 1006 @DocsEditable() |
1026 void deleteVertexArray(VertexArrayObject arrayObject) native; | 1007 void deleteVertexArray(VertexArrayObjectOes arrayObject) native; |
1027 | 1008 |
1028 @JSName('isVertexArrayOES') | 1009 @JSName('isVertexArrayOES') |
1029 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1010 @DomName('OESVertexArrayObject.isVertexArrayOES') |
1030 @DocsEditable() | 1011 @DocsEditable() |
1031 bool isVertexArray(VertexArrayObject arrayObject) native; | 1012 bool isVertexArray(VertexArrayObjectOes arrayObject) native; |
1032 } | 1013 } |
1033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1014 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1034 // for details. All rights reserved. Use of this source code is governed by a | 1015 // for details. All rights reserved. Use of this source code is governed by a |
1035 // BSD-style license that can be found in the LICENSE file. | 1016 // BSD-style license that can be found in the LICENSE file. |
1036 | 1017 |
1037 | 1018 |
1038 @DocsEditable() | 1019 @DocsEditable() |
1039 @DomName('WebGLProgram') | 1020 @DomName('WebGLProgram') |
1040 @Unstable() | 1021 @Unstable() |
1041 @Native("WebGLProgram") | 1022 @Native("WebGLProgram") |
1042 class Program extends Interceptor { | 1023 class Program extends Interceptor { |
1043 // To suppress missing implicit constructor warnings. | 1024 // To suppress missing implicit constructor warnings. |
1044 factory Program._() { throw new UnsupportedError("Not supported"); } | 1025 factory Program._() { throw new UnsupportedError("Not supported"); } |
1045 } | 1026 } |
1046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1047 // for details. All rights reserved. Use of this source code is governed by a | 1028 // for details. All rights reserved. Use of this source code is governed by a |
1048 // BSD-style license that can be found in the LICENSE file. | 1029 // BSD-style license that can be found in the LICENSE file. |
1049 | 1030 |
1050 | 1031 |
1051 @DocsEditable() | 1032 @DocsEditable() |
| 1033 @DomName('WebGLQuery') |
| 1034 @Experimental() // untriaged |
| 1035 @Native("WebGLQuery") |
| 1036 class Query extends Interceptor { |
| 1037 // To suppress missing implicit constructor warnings. |
| 1038 factory Query._() { throw new UnsupportedError("Not supported"); } |
| 1039 } |
| 1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1041 // for details. All rights reserved. Use of this source code is governed by a |
| 1042 // BSD-style license that can be found in the LICENSE file. |
| 1043 |
| 1044 |
| 1045 @DocsEditable() |
1052 @DomName('WebGLRenderbuffer') | 1046 @DomName('WebGLRenderbuffer') |
1053 @Unstable() | 1047 @Unstable() |
1054 @Native("WebGLRenderbuffer") | 1048 @Native("WebGLRenderbuffer") |
1055 class Renderbuffer extends Interceptor { | 1049 class Renderbuffer extends Interceptor { |
1056 // To suppress missing implicit constructor warnings. | 1050 // To suppress missing implicit constructor warnings. |
1057 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } | 1051 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } |
1058 } | 1052 } |
1059 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1053 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
1060 // for details. All rights reserved. Use of this source code is governed by a | 1054 // for details. All rights reserved. Use of this source code is governed by a |
1061 // BSD-style license that can be found in the LICENSE file. | 1055 // BSD-style license that can be found in the LICENSE file. |
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 void blendEquationSeparate(int modeRGB, int modeAlpha) native; | 2314 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
2321 | 2315 |
2322 @DomName('WebGLRenderingContext.blendFunc') | 2316 @DomName('WebGLRenderingContext.blendFunc') |
2323 @DocsEditable() | 2317 @DocsEditable() |
2324 void blendFunc(int sfactor, int dfactor) native; | 2318 void blendFunc(int sfactor, int dfactor) native; |
2325 | 2319 |
2326 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2320 @DomName('WebGLRenderingContext.blendFuncSeparate') |
2327 @DocsEditable() | 2321 @DocsEditable() |
2328 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; | 2322 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; |
2329 | 2323 |
2330 @JSName('bufferData') | |
2331 /** | |
2332 * Buffers the specified data. | |
2333 * | |
2334 * The [bufferData] method is provided for WebGL API compatibility reasons, bu
t | |
2335 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData] | |
2336 * depending on your purposes. | |
2337 */ | |
2338 @DomName('WebGLRenderingContext.bufferData') | |
2339 @DocsEditable() | |
2340 void bufferByteData(int target, ByteBuffer data, int usage) native; | |
2341 | |
2342 /** | 2324 /** |
2343 * Buffers the specified data. | 2325 * Buffers the specified data. |
2344 * | 2326 * |
2345 * The [bufferData] method is provided for WebGL API compatibility reasons, bu
t | 2327 * The [bufferData] method is provided for WebGL API compatibility reasons, bu
t |
2346 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData] | 2328 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData] |
2347 * depending on your purposes. | 2329 * depending on your purposes. |
2348 */ | 2330 */ |
2349 @DomName('WebGLRenderingContext.bufferData') | 2331 @DomName('WebGLRenderingContext.bufferData') |
2350 @DocsEditable() | 2332 @DocsEditable() |
2351 void bufferData(int target, data_OR_size, int usage) native; | 2333 void bufferData(int target, data_OR_size, int usage) native; |
2352 | 2334 |
2353 @JSName('bufferData') | |
2354 /** | |
2355 * Buffers the specified data. | |
2356 * | |
2357 * The [bufferData] method is provided for WebGL API compatibility reasons, bu
t | |
2358 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData] | |
2359 * depending on your purposes. | |
2360 */ | |
2361 @DomName('WebGLRenderingContext.bufferData') | |
2362 @DocsEditable() | |
2363 void bufferDataTyped(int target, TypedData data, int usage) native; | |
2364 | |
2365 @JSName('bufferSubData') | |
2366 /** | |
2367 * Buffers the specified subset of data. | |
2368 * | |
2369 * The [bufferSubData] method is provided for WebGL API compatibility reasons,
but | |
2370 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt
eData] | |
2371 * depending on your purposes. | |
2372 */ | |
2373 @DomName('WebGLRenderingContext.bufferSubData') | |
2374 @DocsEditable() | |
2375 void bufferSubByteData(int target, int offset, ByteBuffer data) native; | |
2376 | |
2377 /** | 2335 /** |
2378 * Buffers the specified subset of data. | 2336 * Buffers the specified subset of data. |
2379 * | 2337 * |
2380 * The [bufferSubData] method is provided for WebGL API compatibility reasons,
but | 2338 * The [bufferSubData] method is provided for WebGL API compatibility reasons,
but |
2381 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt
eData] | 2339 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt
eData] |
2382 * depending on your purposes. | 2340 * depending on your purposes. |
2383 */ | 2341 */ |
2384 @DomName('WebGLRenderingContext.bufferSubData') | 2342 @DomName('WebGLRenderingContext.bufferSubData') |
2385 @DocsEditable() | 2343 @DocsEditable() |
2386 void bufferSubData(int target, int offset, data) native; | 2344 void bufferSubData(int target, int offset, data) native; |
2387 | 2345 |
2388 @JSName('bufferSubData') | |
2389 /** | |
2390 * Buffers the specified subset of data. | |
2391 * | |
2392 * The [bufferSubData] method is provided for WebGL API compatibility reasons,
but | |
2393 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt
eData] | |
2394 * depending on your purposes. | |
2395 */ | |
2396 @DomName('WebGLRenderingContext.bufferSubData') | |
2397 @DocsEditable() | |
2398 void bufferSubDataTyped(int target, int offset, TypedData data) native; | |
2399 | |
2400 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2346 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
2401 @DocsEditable() | 2347 @DocsEditable() |
2402 int checkFramebufferStatus(int target) native; | 2348 int checkFramebufferStatus(int target) native; |
2403 | 2349 |
2404 @DomName('WebGLRenderingContext.clear') | 2350 @DomName('WebGLRenderingContext.clear') |
2405 @DocsEditable() | 2351 @DocsEditable() |
2406 void clear(int mask) native; | 2352 void clear(int mask) native; |
2407 | 2353 |
2408 @DomName('WebGLRenderingContext.clearColor') | 2354 @DomName('WebGLRenderingContext.clearColor') |
2409 @DocsEditable() | 2355 @DocsEditable() |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2574 int getAttribLocation(Program program, String name) native; | 2520 int getAttribLocation(Program program, String name) native; |
2575 | 2521 |
2576 @DomName('WebGLRenderingContext.getBufferParameter') | 2522 @DomName('WebGLRenderingContext.getBufferParameter') |
2577 @DocsEditable() | 2523 @DocsEditable() |
2578 @Creates('int|Null') | 2524 @Creates('int|Null') |
2579 @Returns('int|Null') | 2525 @Returns('int|Null') |
2580 Object getBufferParameter(int target, int pname) native; | 2526 Object getBufferParameter(int target, int pname) native; |
2581 | 2527 |
2582 @DomName('WebGLRenderingContext.getContextAttributes') | 2528 @DomName('WebGLRenderingContext.getContextAttributes') |
2583 @DocsEditable() | 2529 @DocsEditable() |
2584 @Creates('ContextAttributes|=Object') | 2530 @Creates('ContextAttributes|Null') |
2585 ContextAttributes getContextAttributes() { | 2531 Map getContextAttributes() { |
2586 return convertNativeToDart_ContextAttributes(_getContextAttributes_1()); | 2532 return convertNativeToDart_Dictionary(_getContextAttributes_1()); |
2587 } | 2533 } |
2588 @JSName('getContextAttributes') | 2534 @JSName('getContextAttributes') |
2589 @DomName('WebGLRenderingContext.getContextAttributes') | 2535 @DomName('WebGLRenderingContext.getContextAttributes') |
2590 @DocsEditable() | 2536 @DocsEditable() |
2591 @Creates('ContextAttributes|=Object') | 2537 @Creates('ContextAttributes|Null') |
2592 _getContextAttributes_1() native; | 2538 _getContextAttributes_1() native; |
2593 | 2539 |
2594 @DomName('WebGLRenderingContext.getError') | 2540 @DomName('WebGLRenderingContext.getError') |
2595 @DocsEditable() | 2541 @DocsEditable() |
2596 int getError() native; | 2542 int getError() native; |
2597 | 2543 |
2598 @DomName('WebGLRenderingContext.getExtension') | 2544 @DomName('WebGLRenderingContext.getExtension') |
2599 @DocsEditable() | 2545 @DocsEditable() |
2600 Object getExtension(String name) native; | 2546 Object getExtension(String name) native; |
2601 | 2547 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2859 * | 2805 * |
2860 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it | 2806 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it |
2861 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] | 2807 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] |
2862 * (or for more specificity, the more specialized [texImage2DImageData], | 2808 * (or for more specificity, the more specialized [texImage2DImageData], |
2863 * [texImage2DCanvas], [texImage2DVideo]). | 2809 * [texImage2DCanvas], [texImage2DVideo]). |
2864 */ | 2810 */ |
2865 @DomName('WebGLRenderingContext.texImage2D') | 2811 @DomName('WebGLRenderingContext.texImage2D') |
2866 @DocsEditable() | 2812 @DocsEditable() |
2867 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; | 2813 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; |
2868 | 2814 |
2869 @JSName('texImage2D') | |
2870 /** | |
2871 * Updates the currently bound texture to [data]. | |
2872 * | |
2873 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it | |
2874 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] | |
2875 * (or for more specificity, the more specialized [texImage2DImageData], | |
2876 * [texImage2DCanvas], [texImage2DVideo]). | |
2877 */ | |
2878 @DomName('WebGLRenderingContext.texImage2D') | |
2879 @DocsEditable() | |
2880 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) native; | |
2881 | |
2882 @JSName('texImage2D') | |
2883 /** | |
2884 * Updates the currently bound texture to [data]. | |
2885 * | |
2886 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it | |
2887 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] | |
2888 * (or for more specificity, the more specialized [texImage2DImageData], | |
2889 * [texImage2DCanvas], [texImage2DVideo]). | |
2890 */ | |
2891 @DomName('WebGLRenderingContext.texImage2D') | |
2892 @DocsEditable() | |
2893 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) native; | |
2894 | |
2895 /** | |
2896 * Updates the currently bound texture to [data]. | |
2897 * | |
2898 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it | |
2899 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] | |
2900 * (or for more specificity, the more specialized [texImage2DImageData], | |
2901 * [texImage2DCanvas], [texImage2DVideo]). | |
2902 */ | |
2903 @DomName('WebGLRenderingContext.texImage2D') | |
2904 @DocsEditable() | |
2905 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) { | |
2906 var pixels_1 = convertDartToNative_ImageData(pixels); | |
2907 _texImage2DImageData_1(target, level, internalformat, format, type, pixels_1
); | |
2908 return; | |
2909 } | |
2910 @JSName('texImage2D') | |
2911 /** | |
2912 * Updates the currently bound texture to [data]. | |
2913 * | |
2914 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it | |
2915 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] | |
2916 * (or for more specificity, the more specialized [texImage2DImageData], | |
2917 * [texImage2DCanvas], [texImage2DVideo]). | |
2918 */ | |
2919 @DomName('WebGLRenderingContext.texImage2D') | |
2920 @DocsEditable() | |
2921 void _texImage2DImageData_1(target, level, internalformat, format, type, pixel
s) native; | |
2922 | |
2923 @JSName('texImage2D') | |
2924 /** | |
2925 * Updates the currently bound texture to [data]. | |
2926 * | |
2927 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu
t it | |
2928 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] | |
2929 * (or for more specificity, the more specialized [texImage2DImageData], | |
2930 * [texImage2DCanvas], [texImage2DVideo]). | |
2931 */ | |
2932 @DomName('WebGLRenderingContext.texImage2D') | |
2933 @DocsEditable() | |
2934 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) native; | |
2935 | |
2936 @DomName('WebGLRenderingContext.texParameterf') | 2815 @DomName('WebGLRenderingContext.texParameterf') |
2937 @DocsEditable() | 2816 @DocsEditable() |
2938 void texParameterf(int target, int pname, num param) native; | 2817 void texParameterf(int target, int pname, num param) native; |
2939 | 2818 |
2940 @DomName('WebGLRenderingContext.texParameteri') | 2819 @DomName('WebGLRenderingContext.texParameteri') |
2941 @DocsEditable() | 2820 @DocsEditable() |
2942 void texParameteri(int target, int pname, int param) native; | 2821 void texParameteri(int target, int pname, int param) native; |
2943 | 2822 |
2944 /** | 2823 /** |
2945 * Updates a sub-rectangle of the currently bound texture to [data]. | 2824 * Updates a sub-rectangle of the currently bound texture to [data]. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3029 * | 2908 * |
3030 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it | 2909 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it |
3031 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] | 2910 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] |
3032 * (or for more specificity, the more specialized [texSubImage2DImageData], | 2911 * (or for more specificity, the more specialized [texSubImage2DImageData], |
3033 * [texSubImage2DCanvas], [texSubImage2DVideo]). | 2912 * [texSubImage2DCanvas], [texSubImage2DVideo]). |
3034 */ | 2913 */ |
3035 @DomName('WebGLRenderingContext.texSubImage2D') | 2914 @DomName('WebGLRenderingContext.texSubImage2D') |
3036 @DocsEditable() | 2915 @DocsEditable() |
3037 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; | 2916 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; |
3038 | 2917 |
3039 @JSName('texSubImage2D') | |
3040 /** | |
3041 * Updates a sub-rectangle of the currently bound texture to [data]. | |
3042 * | |
3043 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it | |
3044 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] | |
3045 * (or for more specificity, the more specialized [texSubImage2DImageData], | |
3046 * [texSubImage2DCanvas], [texSubImage2DVideo]). | |
3047 */ | |
3048 @DomName('WebGLRenderingContext.texSubImage2D') | |
3049 @DocsEditable() | |
3050 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) native; | |
3051 | |
3052 @JSName('texSubImage2D') | |
3053 /** | |
3054 * Updates a sub-rectangle of the currently bound texture to [data]. | |
3055 * | |
3056 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it | |
3057 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] | |
3058 * (or for more specificity, the more specialized [texSubImage2DImageData], | |
3059 * [texSubImage2DCanvas], [texSubImage2DVideo]). | |
3060 */ | |
3061 @DomName('WebGLRenderingContext.texSubImage2D') | |
3062 @DocsEditable() | |
3063 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) native; | |
3064 | |
3065 /** | |
3066 * Updates a sub-rectangle of the currently bound texture to [data]. | |
3067 * | |
3068 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it | |
3069 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] | |
3070 * (or for more specificity, the more specialized [texSubImage2DImageData], | |
3071 * [texSubImage2DCanvas], [texSubImage2DVideo]). | |
3072 */ | |
3073 @DomName('WebGLRenderingContext.texSubImage2D') | |
3074 @DocsEditable() | |
3075 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) { | |
3076 var pixels_1 = convertDartToNative_ImageData(pixels); | |
3077 _texSubImage2DImageData_1(target, level, xoffset, yoffset, format, type, pix
els_1); | |
3078 return; | |
3079 } | |
3080 @JSName('texSubImage2D') | |
3081 /** | |
3082 * Updates a sub-rectangle of the currently bound texture to [data]. | |
3083 * | |
3084 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it | |
3085 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] | |
3086 * (or for more specificity, the more specialized [texSubImage2DImageData], | |
3087 * [texSubImage2DCanvas], [texSubImage2DVideo]). | |
3088 */ | |
3089 @DomName('WebGLRenderingContext.texSubImage2D') | |
3090 @DocsEditable() | |
3091 void _texSubImage2DImageData_1(target, level, xoffset, yoffset, format, type,
pixels) native; | |
3092 | |
3093 @JSName('texSubImage2D') | |
3094 /** | |
3095 * Updates a sub-rectangle of the currently bound texture to [data]. | |
3096 * | |
3097 * The [texSubImage2D] method is provided for WebGL API compatibility reasons,
but it | |
3098 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D
Typed] | |
3099 * (or for more specificity, the more specialized [texSubImage2DImageData], | |
3100 * [texSubImage2DCanvas], [texSubImage2DVideo]). | |
3101 */ | |
3102 @DomName('WebGLRenderingContext.texSubImage2D') | |
3103 @DocsEditable() | |
3104 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) native; | |
3105 | |
3106 @DomName('WebGLRenderingContext.uniform1f') | 2918 @DomName('WebGLRenderingContext.uniform1f') |
3107 @DocsEditable() | 2919 @DocsEditable() |
3108 void uniform1f(UniformLocation location, num x) native; | 2920 void uniform1f(UniformLocation location, num x) native; |
3109 | 2921 |
3110 @DomName('WebGLRenderingContext.uniform1fv') | 2922 @DomName('WebGLRenderingContext.uniform1fv') |
3111 @DocsEditable() | 2923 @DocsEditable() |
3112 void uniform1fv(UniformLocation location, Float32List v) native; | 2924 void uniform1fv(UniformLocation location, v) native; |
3113 | 2925 |
3114 @DomName('WebGLRenderingContext.uniform1i') | 2926 @DomName('WebGLRenderingContext.uniform1i') |
3115 @DocsEditable() | 2927 @DocsEditable() |
3116 void uniform1i(UniformLocation location, int x) native; | 2928 void uniform1i(UniformLocation location, int x) native; |
3117 | 2929 |
3118 @DomName('WebGLRenderingContext.uniform1iv') | 2930 @DomName('WebGLRenderingContext.uniform1iv') |
3119 @DocsEditable() | 2931 @DocsEditable() |
3120 void uniform1iv(UniformLocation location, Int32List v) native; | 2932 void uniform1iv(UniformLocation location, v) native; |
3121 | 2933 |
3122 @DomName('WebGLRenderingContext.uniform2f') | 2934 @DomName('WebGLRenderingContext.uniform2f') |
3123 @DocsEditable() | 2935 @DocsEditable() |
3124 void uniform2f(UniformLocation location, num x, num y) native; | 2936 void uniform2f(UniformLocation location, num x, num y) native; |
3125 | 2937 |
3126 @DomName('WebGLRenderingContext.uniform2fv') | 2938 @DomName('WebGLRenderingContext.uniform2fv') |
3127 @DocsEditable() | 2939 @DocsEditable() |
3128 void uniform2fv(UniformLocation location, Float32List v) native; | 2940 void uniform2fv(UniformLocation location, v) native; |
3129 | 2941 |
3130 @DomName('WebGLRenderingContext.uniform2i') | 2942 @DomName('WebGLRenderingContext.uniform2i') |
3131 @DocsEditable() | 2943 @DocsEditable() |
3132 void uniform2i(UniformLocation location, int x, int y) native; | 2944 void uniform2i(UniformLocation location, int x, int y) native; |
3133 | 2945 |
3134 @DomName('WebGLRenderingContext.uniform2iv') | 2946 @DomName('WebGLRenderingContext.uniform2iv') |
3135 @DocsEditable() | 2947 @DocsEditable() |
3136 void uniform2iv(UniformLocation location, Int32List v) native; | 2948 void uniform2iv(UniformLocation location, v) native; |
3137 | 2949 |
3138 @DomName('WebGLRenderingContext.uniform3f') | 2950 @DomName('WebGLRenderingContext.uniform3f') |
3139 @DocsEditable() | 2951 @DocsEditable() |
3140 void uniform3f(UniformLocation location, num x, num y, num z) native; | 2952 void uniform3f(UniformLocation location, num x, num y, num z) native; |
3141 | 2953 |
3142 @DomName('WebGLRenderingContext.uniform3fv') | 2954 @DomName('WebGLRenderingContext.uniform3fv') |
3143 @DocsEditable() | 2955 @DocsEditable() |
3144 void uniform3fv(UniformLocation location, Float32List v) native; | 2956 void uniform3fv(UniformLocation location, v) native; |
3145 | 2957 |
3146 @DomName('WebGLRenderingContext.uniform3i') | 2958 @DomName('WebGLRenderingContext.uniform3i') |
3147 @DocsEditable() | 2959 @DocsEditable() |
3148 void uniform3i(UniformLocation location, int x, int y, int z) native; | 2960 void uniform3i(UniformLocation location, int x, int y, int z) native; |
3149 | 2961 |
3150 @DomName('WebGLRenderingContext.uniform3iv') | 2962 @DomName('WebGLRenderingContext.uniform3iv') |
3151 @DocsEditable() | 2963 @DocsEditable() |
3152 void uniform3iv(UniformLocation location, Int32List v) native; | 2964 void uniform3iv(UniformLocation location, v) native; |
3153 | 2965 |
3154 @DomName('WebGLRenderingContext.uniform4f') | 2966 @DomName('WebGLRenderingContext.uniform4f') |
3155 @DocsEditable() | 2967 @DocsEditable() |
3156 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; | 2968 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; |
3157 | 2969 |
3158 @DomName('WebGLRenderingContext.uniform4fv') | 2970 @DomName('WebGLRenderingContext.uniform4fv') |
3159 @DocsEditable() | 2971 @DocsEditable() |
3160 void uniform4fv(UniformLocation location, Float32List v) native; | 2972 void uniform4fv(UniformLocation location, v) native; |
3161 | 2973 |
3162 @DomName('WebGLRenderingContext.uniform4i') | 2974 @DomName('WebGLRenderingContext.uniform4i') |
3163 @DocsEditable() | 2975 @DocsEditable() |
3164 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; | 2976 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; |
3165 | 2977 |
3166 @DomName('WebGLRenderingContext.uniform4iv') | 2978 @DomName('WebGLRenderingContext.uniform4iv') |
3167 @DocsEditable() | 2979 @DocsEditable() |
3168 void uniform4iv(UniformLocation location, Int32List v) native; | 2980 void uniform4iv(UniformLocation location, v) native; |
3169 | 2981 |
3170 @DomName('WebGLRenderingContext.uniformMatrix2fv') | 2982 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
3171 @DocsEditable() | 2983 @DocsEditable() |
3172 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) native; | 2984 void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; |
3173 | 2985 |
3174 @DomName('WebGLRenderingContext.uniformMatrix3fv') | 2986 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
3175 @DocsEditable() | 2987 @DocsEditable() |
3176 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) native; | 2988 void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; |
3177 | 2989 |
3178 @DomName('WebGLRenderingContext.uniformMatrix4fv') | 2990 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
3179 @DocsEditable() | 2991 @DocsEditable() |
3180 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) native; | 2992 void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; |
3181 | 2993 |
3182 @DomName('WebGLRenderingContext.useProgram') | 2994 @DomName('WebGLRenderingContext.useProgram') |
3183 @DocsEditable() | 2995 @DocsEditable() |
3184 void useProgram(Program program) native; | 2996 void useProgram(Program program) native; |
3185 | 2997 |
3186 @DomName('WebGLRenderingContext.validateProgram') | 2998 @DomName('WebGLRenderingContext.validateProgram') |
3187 @DocsEditable() | 2999 @DocsEditable() |
3188 void validateProgram(Program program) native; | 3000 void validateProgram(Program program) native; |
3189 | 3001 |
3190 @DomName('WebGLRenderingContext.vertexAttrib1f') | 3002 @DomName('WebGLRenderingContext.vertexAttrib1f') |
3191 @DocsEditable() | 3003 @DocsEditable() |
3192 void vertexAttrib1f(int indx, num x) native; | 3004 void vertexAttrib1f(int indx, num x) native; |
3193 | 3005 |
3194 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 3006 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
3195 @DocsEditable() | 3007 @DocsEditable() |
3196 void vertexAttrib1fv(int indx, Float32List values) native; | 3008 void vertexAttrib1fv(int indx, values) native; |
3197 | 3009 |
3198 @DomName('WebGLRenderingContext.vertexAttrib2f') | 3010 @DomName('WebGLRenderingContext.vertexAttrib2f') |
3199 @DocsEditable() | 3011 @DocsEditable() |
3200 void vertexAttrib2f(int indx, num x, num y) native; | 3012 void vertexAttrib2f(int indx, num x, num y) native; |
3201 | 3013 |
3202 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 3014 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
3203 @DocsEditable() | 3015 @DocsEditable() |
3204 void vertexAttrib2fv(int indx, Float32List values) native; | 3016 void vertexAttrib2fv(int indx, values) native; |
3205 | 3017 |
3206 @DomName('WebGLRenderingContext.vertexAttrib3f') | 3018 @DomName('WebGLRenderingContext.vertexAttrib3f') |
3207 @DocsEditable() | 3019 @DocsEditable() |
3208 void vertexAttrib3f(int indx, num x, num y, num z) native; | 3020 void vertexAttrib3f(int indx, num x, num y, num z) native; |
3209 | 3021 |
3210 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 3022 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
3211 @DocsEditable() | 3023 @DocsEditable() |
3212 void vertexAttrib3fv(int indx, Float32List values) native; | 3024 void vertexAttrib3fv(int indx, values) native; |
3213 | 3025 |
3214 @DomName('WebGLRenderingContext.vertexAttrib4f') | 3026 @DomName('WebGLRenderingContext.vertexAttrib4f') |
3215 @DocsEditable() | 3027 @DocsEditable() |
3216 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; | 3028 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
3217 | 3029 |
3218 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 3030 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
3219 @DocsEditable() | 3031 @DocsEditable() |
3220 void vertexAttrib4fv(int indx, Float32List values) native; | 3032 void vertexAttrib4fv(int indx, values) native; |
3221 | 3033 |
3222 @DomName('WebGLRenderingContext.vertexAttribPointer') | 3034 @DomName('WebGLRenderingContext.vertexAttribPointer') |
3223 @DocsEditable() | 3035 @DocsEditable() |
3224 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 3036 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
3225 | 3037 |
3226 @DomName('WebGLRenderingContext.viewport') | 3038 @DomName('WebGLRenderingContext.viewport') |
3227 @DocsEditable() | 3039 @DocsEditable() |
3228 void viewport(int x, int y, int width, int height) native; | 3040 void viewport(int x, int y, int width, int height) native; |
3229 | 3041 |
3230 | 3042 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3269 void texSubImage2DTyped(int targetTexture, int levelOfDetail, | 3081 void texSubImage2DTyped(int targetTexture, int levelOfDetail, |
3270 int xOffset, int yOffset, int width, int height, int border, int format, | 3082 int xOffset, int yOffset, int width, int height, int border, int format, |
3271 int type, TypedData data) native; | 3083 int type, TypedData data) native; |
3272 } | 3084 } |
3273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3085 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3274 // for details. All rights reserved. Use of this source code is governed by a | 3086 // for details. All rights reserved. Use of this source code is governed by a |
3275 // BSD-style license that can be found in the LICENSE file. | 3087 // BSD-style license that can be found in the LICENSE file. |
3276 | 3088 |
3277 | 3089 |
3278 @DocsEditable() | 3090 @DocsEditable() |
| 3091 @DomName('WebGL2RenderingContext') |
| 3092 @Experimental() // untriaged |
| 3093 @Native("WebGL2RenderingContext") |
| 3094 class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
se, _WebGLRenderingContextBase { |
| 3095 // To suppress missing implicit constructor warnings. |
| 3096 factory RenderingContext2._() { throw new UnsupportedError("Not supported"); } |
| 3097 |
| 3098 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') |
| 3099 @DocsEditable() |
| 3100 @Experimental() // untriaged |
| 3101 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
| 3102 |
| 3103 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') |
| 3104 @DocsEditable() |
| 3105 @Experimental() // untriaged |
| 3106 static const int ACTIVE_TEXTURE = 0x84E0; |
| 3107 |
| 3108 @DomName('WebGL2RenderingContext.ACTIVE_UNIFORMS') |
| 3109 @DocsEditable() |
| 3110 @Experimental() // untriaged |
| 3111 static const int ACTIVE_UNIFORMS = 0x8B86; |
| 3112 |
| 3113 @DomName('WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE') |
| 3114 @DocsEditable() |
| 3115 @Experimental() // untriaged |
| 3116 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; |
| 3117 |
| 3118 @DomName('WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE') |
| 3119 @DocsEditable() |
| 3120 @Experimental() // untriaged |
| 3121 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; |
| 3122 |
| 3123 @DomName('WebGL2RenderingContext.ALPHA') |
| 3124 @DocsEditable() |
| 3125 @Experimental() // untriaged |
| 3126 static const int ALPHA = 0x1906; |
| 3127 |
| 3128 @DomName('WebGL2RenderingContext.ALPHA_BITS') |
| 3129 @DocsEditable() |
| 3130 @Experimental() // untriaged |
| 3131 static const int ALPHA_BITS = 0x0D55; |
| 3132 |
| 3133 @DomName('WebGL2RenderingContext.ALWAYS') |
| 3134 @DocsEditable() |
| 3135 @Experimental() // untriaged |
| 3136 static const int ALWAYS = 0x0207; |
| 3137 |
| 3138 @DomName('WebGL2RenderingContext.ARRAY_BUFFER') |
| 3139 @DocsEditable() |
| 3140 @Experimental() // untriaged |
| 3141 static const int ARRAY_BUFFER = 0x8892; |
| 3142 |
| 3143 @DomName('WebGL2RenderingContext.ARRAY_BUFFER_BINDING') |
| 3144 @DocsEditable() |
| 3145 @Experimental() // untriaged |
| 3146 static const int ARRAY_BUFFER_BINDING = 0x8894; |
| 3147 |
| 3148 @DomName('WebGL2RenderingContext.ATTACHED_SHADERS') |
| 3149 @DocsEditable() |
| 3150 @Experimental() // untriaged |
| 3151 static const int ATTACHED_SHADERS = 0x8B85; |
| 3152 |
| 3153 @DomName('WebGL2RenderingContext.BACK') |
| 3154 @DocsEditable() |
| 3155 @Experimental() // untriaged |
| 3156 static const int BACK = 0x0405; |
| 3157 |
| 3158 @DomName('WebGL2RenderingContext.BLEND') |
| 3159 @DocsEditable() |
| 3160 @Experimental() // untriaged |
| 3161 static const int BLEND = 0x0BE2; |
| 3162 |
| 3163 @DomName('WebGL2RenderingContext.BLEND_COLOR') |
| 3164 @DocsEditable() |
| 3165 @Experimental() // untriaged |
| 3166 static const int BLEND_COLOR = 0x8005; |
| 3167 |
| 3168 @DomName('WebGL2RenderingContext.BLEND_DST_ALPHA') |
| 3169 @DocsEditable() |
| 3170 @Experimental() // untriaged |
| 3171 static const int BLEND_DST_ALPHA = 0x80CA; |
| 3172 |
| 3173 @DomName('WebGL2RenderingContext.BLEND_DST_RGB') |
| 3174 @DocsEditable() |
| 3175 @Experimental() // untriaged |
| 3176 static const int BLEND_DST_RGB = 0x80C8; |
| 3177 |
| 3178 @DomName('WebGL2RenderingContext.BLEND_EQUATION') |
| 3179 @DocsEditable() |
| 3180 @Experimental() // untriaged |
| 3181 static const int BLEND_EQUATION = 0x8009; |
| 3182 |
| 3183 @DomName('WebGL2RenderingContext.BLEND_EQUATION_ALPHA') |
| 3184 @DocsEditable() |
| 3185 @Experimental() // untriaged |
| 3186 static const int BLEND_EQUATION_ALPHA = 0x883D; |
| 3187 |
| 3188 @DomName('WebGL2RenderingContext.BLEND_EQUATION_RGB') |
| 3189 @DocsEditable() |
| 3190 @Experimental() // untriaged |
| 3191 static const int BLEND_EQUATION_RGB = 0x8009; |
| 3192 |
| 3193 @DomName('WebGL2RenderingContext.BLEND_SRC_ALPHA') |
| 3194 @DocsEditable() |
| 3195 @Experimental() // untriaged |
| 3196 static const int BLEND_SRC_ALPHA = 0x80CB; |
| 3197 |
| 3198 @DomName('WebGL2RenderingContext.BLEND_SRC_RGB') |
| 3199 @DocsEditable() |
| 3200 @Experimental() // untriaged |
| 3201 static const int BLEND_SRC_RGB = 0x80C9; |
| 3202 |
| 3203 @DomName('WebGL2RenderingContext.BLUE_BITS') |
| 3204 @DocsEditable() |
| 3205 @Experimental() // untriaged |
| 3206 static const int BLUE_BITS = 0x0D54; |
| 3207 |
| 3208 @DomName('WebGL2RenderingContext.BOOL') |
| 3209 @DocsEditable() |
| 3210 @Experimental() // untriaged |
| 3211 static const int BOOL = 0x8B56; |
| 3212 |
| 3213 @DomName('WebGL2RenderingContext.BOOL_VEC2') |
| 3214 @DocsEditable() |
| 3215 @Experimental() // untriaged |
| 3216 static const int BOOL_VEC2 = 0x8B57; |
| 3217 |
| 3218 @DomName('WebGL2RenderingContext.BOOL_VEC3') |
| 3219 @DocsEditable() |
| 3220 @Experimental() // untriaged |
| 3221 static const int BOOL_VEC3 = 0x8B58; |
| 3222 |
| 3223 @DomName('WebGL2RenderingContext.BOOL_VEC4') |
| 3224 @DocsEditable() |
| 3225 @Experimental() // untriaged |
| 3226 static const int BOOL_VEC4 = 0x8B59; |
| 3227 |
| 3228 @DomName('WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL') |
| 3229 @DocsEditable() |
| 3230 @Experimental() // untriaged |
| 3231 static const int BROWSER_DEFAULT_WEBGL = 0x9244; |
| 3232 |
| 3233 @DomName('WebGL2RenderingContext.BUFFER_SIZE') |
| 3234 @DocsEditable() |
| 3235 @Experimental() // untriaged |
| 3236 static const int BUFFER_SIZE = 0x8764; |
| 3237 |
| 3238 @DomName('WebGL2RenderingContext.BUFFER_USAGE') |
| 3239 @DocsEditable() |
| 3240 @Experimental() // untriaged |
| 3241 static const int BUFFER_USAGE = 0x8765; |
| 3242 |
| 3243 @DomName('WebGL2RenderingContext.BYTE') |
| 3244 @DocsEditable() |
| 3245 @Experimental() // untriaged |
| 3246 static const int BYTE = 0x1400; |
| 3247 |
| 3248 @DomName('WebGL2RenderingContext.CCW') |
| 3249 @DocsEditable() |
| 3250 @Experimental() // untriaged |
| 3251 static const int CCW = 0x0901; |
| 3252 |
| 3253 @DomName('WebGL2RenderingContext.CLAMP_TO_EDGE') |
| 3254 @DocsEditable() |
| 3255 @Experimental() // untriaged |
| 3256 static const int CLAMP_TO_EDGE = 0x812F; |
| 3257 |
| 3258 @DomName('WebGL2RenderingContext.COLOR_ATTACHMENT0') |
| 3259 @DocsEditable() |
| 3260 @Experimental() // untriaged |
| 3261 static const int COLOR_ATTACHMENT0 = 0x8CE0; |
| 3262 |
| 3263 @DomName('WebGL2RenderingContext.COLOR_BUFFER_BIT') |
| 3264 @DocsEditable() |
| 3265 @Experimental() // untriaged |
| 3266 static const int COLOR_BUFFER_BIT = 0x00004000; |
| 3267 |
| 3268 @DomName('WebGL2RenderingContext.COLOR_CLEAR_VALUE') |
| 3269 @DocsEditable() |
| 3270 @Experimental() // untriaged |
| 3271 static const int COLOR_CLEAR_VALUE = 0x0C22; |
| 3272 |
| 3273 @DomName('WebGL2RenderingContext.COLOR_WRITEMASK') |
| 3274 @DocsEditable() |
| 3275 @Experimental() // untriaged |
| 3276 static const int COLOR_WRITEMASK = 0x0C23; |
| 3277 |
| 3278 @DomName('WebGL2RenderingContext.COMPILE_STATUS') |
| 3279 @DocsEditable() |
| 3280 @Experimental() // untriaged |
| 3281 static const int COMPILE_STATUS = 0x8B81; |
| 3282 |
| 3283 @DomName('WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS') |
| 3284 @DocsEditable() |
| 3285 @Experimental() // untriaged |
| 3286 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; |
| 3287 |
| 3288 @DomName('WebGL2RenderingContext.CONSTANT_ALPHA') |
| 3289 @DocsEditable() |
| 3290 @Experimental() // untriaged |
| 3291 static const int CONSTANT_ALPHA = 0x8003; |
| 3292 |
| 3293 @DomName('WebGL2RenderingContext.CONSTANT_COLOR') |
| 3294 @DocsEditable() |
| 3295 @Experimental() // untriaged |
| 3296 static const int CONSTANT_COLOR = 0x8001; |
| 3297 |
| 3298 @DomName('WebGL2RenderingContext.CONTEXT_LOST_WEBGL') |
| 3299 @DocsEditable() |
| 3300 @Experimental() // untriaged |
| 3301 static const int CONTEXT_LOST_WEBGL = 0x9242; |
| 3302 |
| 3303 @DomName('WebGL2RenderingContext.CULL_FACE') |
| 3304 @DocsEditable() |
| 3305 @Experimental() // untriaged |
| 3306 static const int CULL_FACE = 0x0B44; |
| 3307 |
| 3308 @DomName('WebGL2RenderingContext.CULL_FACE_MODE') |
| 3309 @DocsEditable() |
| 3310 @Experimental() // untriaged |
| 3311 static const int CULL_FACE_MODE = 0x0B45; |
| 3312 |
| 3313 @DomName('WebGL2RenderingContext.CURRENT_PROGRAM') |
| 3314 @DocsEditable() |
| 3315 @Experimental() // untriaged |
| 3316 static const int CURRENT_PROGRAM = 0x8B8D; |
| 3317 |
| 3318 @DomName('WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB') |
| 3319 @DocsEditable() |
| 3320 @Experimental() // untriaged |
| 3321 static const int CURRENT_VERTEX_ATTRIB = 0x8626; |
| 3322 |
| 3323 @DomName('WebGL2RenderingContext.CW') |
| 3324 @DocsEditable() |
| 3325 @Experimental() // untriaged |
| 3326 static const int CW = 0x0900; |
| 3327 |
| 3328 @DomName('WebGL2RenderingContext.DECR') |
| 3329 @DocsEditable() |
| 3330 @Experimental() // untriaged |
| 3331 static const int DECR = 0x1E03; |
| 3332 |
| 3333 @DomName('WebGL2RenderingContext.DECR_WRAP') |
| 3334 @DocsEditable() |
| 3335 @Experimental() // untriaged |
| 3336 static const int DECR_WRAP = 0x8508; |
| 3337 |
| 3338 @DomName('WebGL2RenderingContext.DELETE_STATUS') |
| 3339 @DocsEditable() |
| 3340 @Experimental() // untriaged |
| 3341 static const int DELETE_STATUS = 0x8B80; |
| 3342 |
| 3343 @DomName('WebGL2RenderingContext.DEPTH_ATTACHMENT') |
| 3344 @DocsEditable() |
| 3345 @Experimental() // untriaged |
| 3346 static const int DEPTH_ATTACHMENT = 0x8D00; |
| 3347 |
| 3348 @DomName('WebGL2RenderingContext.DEPTH_BITS') |
| 3349 @DocsEditable() |
| 3350 @Experimental() // untriaged |
| 3351 static const int DEPTH_BITS = 0x0D56; |
| 3352 |
| 3353 @DomName('WebGL2RenderingContext.DEPTH_BUFFER_BIT') |
| 3354 @DocsEditable() |
| 3355 @Experimental() // untriaged |
| 3356 static const int DEPTH_BUFFER_BIT = 0x00000100; |
| 3357 |
| 3358 @DomName('WebGL2RenderingContext.DEPTH_CLEAR_VALUE') |
| 3359 @DocsEditable() |
| 3360 @Experimental() // untriaged |
| 3361 static const int DEPTH_CLEAR_VALUE = 0x0B73; |
| 3362 |
| 3363 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT') |
| 3364 @DocsEditable() |
| 3365 @Experimental() // untriaged |
| 3366 static const int DEPTH_COMPONENT = 0x1902; |
| 3367 |
| 3368 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT16') |
| 3369 @DocsEditable() |
| 3370 @Experimental() // untriaged |
| 3371 static const int DEPTH_COMPONENT16 = 0x81A5; |
| 3372 |
| 3373 @DomName('WebGL2RenderingContext.DEPTH_FUNC') |
| 3374 @DocsEditable() |
| 3375 @Experimental() // untriaged |
| 3376 static const int DEPTH_FUNC = 0x0B74; |
| 3377 |
| 3378 @DomName('WebGL2RenderingContext.DEPTH_RANGE') |
| 3379 @DocsEditable() |
| 3380 @Experimental() // untriaged |
| 3381 static const int DEPTH_RANGE = 0x0B70; |
| 3382 |
| 3383 @DomName('WebGL2RenderingContext.DEPTH_STENCIL') |
| 3384 @DocsEditable() |
| 3385 @Experimental() // untriaged |
| 3386 static const int DEPTH_STENCIL = 0x84F9; |
| 3387 |
| 3388 @DomName('WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT') |
| 3389 @DocsEditable() |
| 3390 @Experimental() // untriaged |
| 3391 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; |
| 3392 |
| 3393 @DomName('WebGL2RenderingContext.DEPTH_TEST') |
| 3394 @DocsEditable() |
| 3395 @Experimental() // untriaged |
| 3396 static const int DEPTH_TEST = 0x0B71; |
| 3397 |
| 3398 @DomName('WebGL2RenderingContext.DEPTH_WRITEMASK') |
| 3399 @DocsEditable() |
| 3400 @Experimental() // untriaged |
| 3401 static const int DEPTH_WRITEMASK = 0x0B72; |
| 3402 |
| 3403 @DomName('WebGL2RenderingContext.DITHER') |
| 3404 @DocsEditable() |
| 3405 @Experimental() // untriaged |
| 3406 static const int DITHER = 0x0BD0; |
| 3407 |
| 3408 @DomName('WebGL2RenderingContext.DONT_CARE') |
| 3409 @DocsEditable() |
| 3410 @Experimental() // untriaged |
| 3411 static const int DONT_CARE = 0x1100; |
| 3412 |
| 3413 @DomName('WebGL2RenderingContext.DST_ALPHA') |
| 3414 @DocsEditable() |
| 3415 @Experimental() // untriaged |
| 3416 static const int DST_ALPHA = 0x0304; |
| 3417 |
| 3418 @DomName('WebGL2RenderingContext.DST_COLOR') |
| 3419 @DocsEditable() |
| 3420 @Experimental() // untriaged |
| 3421 static const int DST_COLOR = 0x0306; |
| 3422 |
| 3423 @DomName('WebGL2RenderingContext.DYNAMIC_DRAW') |
| 3424 @DocsEditable() |
| 3425 @Experimental() // untriaged |
| 3426 static const int DYNAMIC_DRAW = 0x88E8; |
| 3427 |
| 3428 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER') |
| 3429 @DocsEditable() |
| 3430 @Experimental() // untriaged |
| 3431 static const int ELEMENT_ARRAY_BUFFER = 0x8893; |
| 3432 |
| 3433 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') |
| 3434 @DocsEditable() |
| 3435 @Experimental() // untriaged |
| 3436 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; |
| 3437 |
| 3438 @DomName('WebGL2RenderingContext.EQUAL') |
| 3439 @DocsEditable() |
| 3440 @Experimental() // untriaged |
| 3441 static const int EQUAL = 0x0202; |
| 3442 |
| 3443 @DomName('WebGL2RenderingContext.FASTEST') |
| 3444 @DocsEditable() |
| 3445 @Experimental() // untriaged |
| 3446 static const int FASTEST = 0x1101; |
| 3447 |
| 3448 @DomName('WebGL2RenderingContext.FLOAT') |
| 3449 @DocsEditable() |
| 3450 @Experimental() // untriaged |
| 3451 static const int FLOAT = 0x1406; |
| 3452 |
| 3453 @DomName('WebGL2RenderingContext.FLOAT_MAT2') |
| 3454 @DocsEditable() |
| 3455 @Experimental() // untriaged |
| 3456 static const int FLOAT_MAT2 = 0x8B5A; |
| 3457 |
| 3458 @DomName('WebGL2RenderingContext.FLOAT_MAT3') |
| 3459 @DocsEditable() |
| 3460 @Experimental() // untriaged |
| 3461 static const int FLOAT_MAT3 = 0x8B5B; |
| 3462 |
| 3463 @DomName('WebGL2RenderingContext.FLOAT_MAT4') |
| 3464 @DocsEditable() |
| 3465 @Experimental() // untriaged |
| 3466 static const int FLOAT_MAT4 = 0x8B5C; |
| 3467 |
| 3468 @DomName('WebGL2RenderingContext.FLOAT_VEC2') |
| 3469 @DocsEditable() |
| 3470 @Experimental() // untriaged |
| 3471 static const int FLOAT_VEC2 = 0x8B50; |
| 3472 |
| 3473 @DomName('WebGL2RenderingContext.FLOAT_VEC3') |
| 3474 @DocsEditable() |
| 3475 @Experimental() // untriaged |
| 3476 static const int FLOAT_VEC3 = 0x8B51; |
| 3477 |
| 3478 @DomName('WebGL2RenderingContext.FLOAT_VEC4') |
| 3479 @DocsEditable() |
| 3480 @Experimental() // untriaged |
| 3481 static const int FLOAT_VEC4 = 0x8B52; |
| 3482 |
| 3483 @DomName('WebGL2RenderingContext.FRAGMENT_SHADER') |
| 3484 @DocsEditable() |
| 3485 @Experimental() // untriaged |
| 3486 static const int FRAGMENT_SHADER = 0x8B30; |
| 3487 |
| 3488 @DomName('WebGL2RenderingContext.FRAMEBUFFER') |
| 3489 @DocsEditable() |
| 3490 @Experimental() // untriaged |
| 3491 static const int FRAMEBUFFER = 0x8D40; |
| 3492 |
| 3493 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') |
| 3494 @DocsEditable() |
| 3495 @Experimental() // untriaged |
| 3496 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
| 3497 |
| 3498 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') |
| 3499 @DocsEditable() |
| 3500 @Experimental() // untriaged |
| 3501 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
| 3502 |
| 3503 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE'
) |
| 3504 @DocsEditable() |
| 3505 @Experimental() // untriaged |
| 3506 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
| 3507 |
| 3508 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') |
| 3509 @DocsEditable() |
| 3510 @Experimental() // untriaged |
| 3511 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
| 3512 |
| 3513 @DomName('WebGL2RenderingContext.FRAMEBUFFER_BINDING') |
| 3514 @DocsEditable() |
| 3515 @Experimental() // untriaged |
| 3516 static const int FRAMEBUFFER_BINDING = 0x8CA6; |
| 3517 |
| 3518 @DomName('WebGL2RenderingContext.FRAMEBUFFER_COMPLETE') |
| 3519 @DocsEditable() |
| 3520 @Experimental() // untriaged |
| 3521 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; |
| 3522 |
| 3523 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') |
| 3524 @DocsEditable() |
| 3525 @Experimental() // untriaged |
| 3526 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; |
| 3527 |
| 3528 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') |
| 3529 @DocsEditable() |
| 3530 @Experimental() // untriaged |
| 3531 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; |
| 3532 |
| 3533 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') |
| 3534 @DocsEditable() |
| 3535 @Experimental() // untriaged |
| 3536 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; |
| 3537 |
| 3538 @DomName('WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED') |
| 3539 @DocsEditable() |
| 3540 @Experimental() // untriaged |
| 3541 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; |
| 3542 |
| 3543 @DomName('WebGL2RenderingContext.FRONT') |
| 3544 @DocsEditable() |
| 3545 @Experimental() // untriaged |
| 3546 static const int FRONT = 0x0404; |
| 3547 |
| 3548 @DomName('WebGL2RenderingContext.FRONT_AND_BACK') |
| 3549 @DocsEditable() |
| 3550 @Experimental() // untriaged |
| 3551 static const int FRONT_AND_BACK = 0x0408; |
| 3552 |
| 3553 @DomName('WebGL2RenderingContext.FRONT_FACE') |
| 3554 @DocsEditable() |
| 3555 @Experimental() // untriaged |
| 3556 static const int FRONT_FACE = 0x0B46; |
| 3557 |
| 3558 @DomName('WebGL2RenderingContext.FUNC_ADD') |
| 3559 @DocsEditable() |
| 3560 @Experimental() // untriaged |
| 3561 static const int FUNC_ADD = 0x8006; |
| 3562 |
| 3563 @DomName('WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT') |
| 3564 @DocsEditable() |
| 3565 @Experimental() // untriaged |
| 3566 static const int FUNC_REVERSE_SUBTRACT = 0x800B; |
| 3567 |
| 3568 @DomName('WebGL2RenderingContext.FUNC_SUBTRACT') |
| 3569 @DocsEditable() |
| 3570 @Experimental() // untriaged |
| 3571 static const int FUNC_SUBTRACT = 0x800A; |
| 3572 |
| 3573 @DomName('WebGL2RenderingContext.GENERATE_MIPMAP_HINT') |
| 3574 @DocsEditable() |
| 3575 @Experimental() // untriaged |
| 3576 static const int GENERATE_MIPMAP_HINT = 0x8192; |
| 3577 |
| 3578 @DomName('WebGL2RenderingContext.GEQUAL') |
| 3579 @DocsEditable() |
| 3580 @Experimental() // untriaged |
| 3581 static const int GEQUAL = 0x0206; |
| 3582 |
| 3583 @DomName('WebGL2RenderingContext.GREATER') |
| 3584 @DocsEditable() |
| 3585 @Experimental() // untriaged |
| 3586 static const int GREATER = 0x0204; |
| 3587 |
| 3588 @DomName('WebGL2RenderingContext.GREEN_BITS') |
| 3589 @DocsEditable() |
| 3590 @Experimental() // untriaged |
| 3591 static const int GREEN_BITS = 0x0D53; |
| 3592 |
| 3593 @DomName('WebGL2RenderingContext.HIGH_FLOAT') |
| 3594 @DocsEditable() |
| 3595 @Experimental() // untriaged |
| 3596 static const int HIGH_FLOAT = 0x8DF2; |
| 3597 |
| 3598 @DomName('WebGL2RenderingContext.HIGH_INT') |
| 3599 @DocsEditable() |
| 3600 @Experimental() // untriaged |
| 3601 static const int HIGH_INT = 0x8DF5; |
| 3602 |
| 3603 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT') |
| 3604 @DocsEditable() |
| 3605 @Experimental() // untriaged |
| 3606 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; |
| 3607 |
| 3608 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE') |
| 3609 @DocsEditable() |
| 3610 @Experimental() // untriaged |
| 3611 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; |
| 3612 |
| 3613 @DomName('WebGL2RenderingContext.INCR') |
| 3614 @DocsEditable() |
| 3615 @Experimental() // untriaged |
| 3616 static const int INCR = 0x1E02; |
| 3617 |
| 3618 @DomName('WebGL2RenderingContext.INCR_WRAP') |
| 3619 @DocsEditable() |
| 3620 @Experimental() // untriaged |
| 3621 static const int INCR_WRAP = 0x8507; |
| 3622 |
| 3623 @DomName('WebGL2RenderingContext.INT') |
| 3624 @DocsEditable() |
| 3625 @Experimental() // untriaged |
| 3626 static const int INT = 0x1404; |
| 3627 |
| 3628 @DomName('WebGL2RenderingContext.INT_VEC2') |
| 3629 @DocsEditable() |
| 3630 @Experimental() // untriaged |
| 3631 static const int INT_VEC2 = 0x8B53; |
| 3632 |
| 3633 @DomName('WebGL2RenderingContext.INT_VEC3') |
| 3634 @DocsEditable() |
| 3635 @Experimental() // untriaged |
| 3636 static const int INT_VEC3 = 0x8B54; |
| 3637 |
| 3638 @DomName('WebGL2RenderingContext.INT_VEC4') |
| 3639 @DocsEditable() |
| 3640 @Experimental() // untriaged |
| 3641 static const int INT_VEC4 = 0x8B55; |
| 3642 |
| 3643 @DomName('WebGL2RenderingContext.INVALID_ENUM') |
| 3644 @DocsEditable() |
| 3645 @Experimental() // untriaged |
| 3646 static const int INVALID_ENUM = 0x0500; |
| 3647 |
| 3648 @DomName('WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION') |
| 3649 @DocsEditable() |
| 3650 @Experimental() // untriaged |
| 3651 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
| 3652 |
| 3653 @DomName('WebGL2RenderingContext.INVALID_OPERATION') |
| 3654 @DocsEditable() |
| 3655 @Experimental() // untriaged |
| 3656 static const int INVALID_OPERATION = 0x0502; |
| 3657 |
| 3658 @DomName('WebGL2RenderingContext.INVALID_VALUE') |
| 3659 @DocsEditable() |
| 3660 @Experimental() // untriaged |
| 3661 static const int INVALID_VALUE = 0x0501; |
| 3662 |
| 3663 @DomName('WebGL2RenderingContext.INVERT') |
| 3664 @DocsEditable() |
| 3665 @Experimental() // untriaged |
| 3666 static const int INVERT = 0x150A; |
| 3667 |
| 3668 @DomName('WebGL2RenderingContext.KEEP') |
| 3669 @DocsEditable() |
| 3670 @Experimental() // untriaged |
| 3671 static const int KEEP = 0x1E00; |
| 3672 |
| 3673 @DomName('WebGL2RenderingContext.LEQUAL') |
| 3674 @DocsEditable() |
| 3675 @Experimental() // untriaged |
| 3676 static const int LEQUAL = 0x0203; |
| 3677 |
| 3678 @DomName('WebGL2RenderingContext.LESS') |
| 3679 @DocsEditable() |
| 3680 @Experimental() // untriaged |
| 3681 static const int LESS = 0x0201; |
| 3682 |
| 3683 @DomName('WebGL2RenderingContext.LINEAR') |
| 3684 @DocsEditable() |
| 3685 @Experimental() // untriaged |
| 3686 static const int LINEAR = 0x2601; |
| 3687 |
| 3688 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR') |
| 3689 @DocsEditable() |
| 3690 @Experimental() // untriaged |
| 3691 static const int LINEAR_MIPMAP_LINEAR = 0x2703; |
| 3692 |
| 3693 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST') |
| 3694 @DocsEditable() |
| 3695 @Experimental() // untriaged |
| 3696 static const int LINEAR_MIPMAP_NEAREST = 0x2701; |
| 3697 |
| 3698 @DomName('WebGL2RenderingContext.LINES') |
| 3699 @DocsEditable() |
| 3700 @Experimental() // untriaged |
| 3701 static const int LINES = 0x0001; |
| 3702 |
| 3703 @DomName('WebGL2RenderingContext.LINE_LOOP') |
| 3704 @DocsEditable() |
| 3705 @Experimental() // untriaged |
| 3706 static const int LINE_LOOP = 0x0002; |
| 3707 |
| 3708 @DomName('WebGL2RenderingContext.LINE_STRIP') |
| 3709 @DocsEditable() |
| 3710 @Experimental() // untriaged |
| 3711 static const int LINE_STRIP = 0x0003; |
| 3712 |
| 3713 @DomName('WebGL2RenderingContext.LINE_WIDTH') |
| 3714 @DocsEditable() |
| 3715 @Experimental() // untriaged |
| 3716 static const int LINE_WIDTH = 0x0B21; |
| 3717 |
| 3718 @DomName('WebGL2RenderingContext.LINK_STATUS') |
| 3719 @DocsEditable() |
| 3720 @Experimental() // untriaged |
| 3721 static const int LINK_STATUS = 0x8B82; |
| 3722 |
| 3723 @DomName('WebGL2RenderingContext.LOW_FLOAT') |
| 3724 @DocsEditable() |
| 3725 @Experimental() // untriaged |
| 3726 static const int LOW_FLOAT = 0x8DF0; |
| 3727 |
| 3728 @DomName('WebGL2RenderingContext.LOW_INT') |
| 3729 @DocsEditable() |
| 3730 @Experimental() // untriaged |
| 3731 static const int LOW_INT = 0x8DF3; |
| 3732 |
| 3733 @DomName('WebGL2RenderingContext.LUMINANCE') |
| 3734 @DocsEditable() |
| 3735 @Experimental() // untriaged |
| 3736 static const int LUMINANCE = 0x1909; |
| 3737 |
| 3738 @DomName('WebGL2RenderingContext.LUMINANCE_ALPHA') |
| 3739 @DocsEditable() |
| 3740 @Experimental() // untriaged |
| 3741 static const int LUMINANCE_ALPHA = 0x190A; |
| 3742 |
| 3743 @DomName('WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') |
| 3744 @DocsEditable() |
| 3745 @Experimental() // untriaged |
| 3746 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; |
| 3747 |
| 3748 @DomName('WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') |
| 3749 @DocsEditable() |
| 3750 @Experimental() // untriaged |
| 3751 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; |
| 3752 |
| 3753 @DomName('WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') |
| 3754 @DocsEditable() |
| 3755 @Experimental() // untriaged |
| 3756 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; |
| 3757 |
| 3758 @DomName('WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE') |
| 3759 @DocsEditable() |
| 3760 @Experimental() // untriaged |
| 3761 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; |
| 3762 |
| 3763 @DomName('WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS') |
| 3764 @DocsEditable() |
| 3765 @Experimental() // untriaged |
| 3766 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; |
| 3767 |
| 3768 @DomName('WebGL2RenderingContext.MAX_TEXTURE_SIZE') |
| 3769 @DocsEditable() |
| 3770 @Experimental() // untriaged |
| 3771 static const int MAX_TEXTURE_SIZE = 0x0D33; |
| 3772 |
| 3773 @DomName('WebGL2RenderingContext.MAX_VARYING_VECTORS') |
| 3774 @DocsEditable() |
| 3775 @Experimental() // untriaged |
| 3776 static const int MAX_VARYING_VECTORS = 0x8DFC; |
| 3777 |
| 3778 @DomName('WebGL2RenderingContext.MAX_VERTEX_ATTRIBS') |
| 3779 @DocsEditable() |
| 3780 @Experimental() // untriaged |
| 3781 static const int MAX_VERTEX_ATTRIBS = 0x8869; |
| 3782 |
| 3783 @DomName('WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') |
| 3784 @DocsEditable() |
| 3785 @Experimental() // untriaged |
| 3786 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; |
| 3787 |
| 3788 @DomName('WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS') |
| 3789 @DocsEditable() |
| 3790 @Experimental() // untriaged |
| 3791 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; |
| 3792 |
| 3793 @DomName('WebGL2RenderingContext.MAX_VIEWPORT_DIMS') |
| 3794 @DocsEditable() |
| 3795 @Experimental() // untriaged |
| 3796 static const int MAX_VIEWPORT_DIMS = 0x0D3A; |
| 3797 |
| 3798 @DomName('WebGL2RenderingContext.MEDIUM_FLOAT') |
| 3799 @DocsEditable() |
| 3800 @Experimental() // untriaged |
| 3801 static const int MEDIUM_FLOAT = 0x8DF1; |
| 3802 |
| 3803 @DomName('WebGL2RenderingContext.MEDIUM_INT') |
| 3804 @DocsEditable() |
| 3805 @Experimental() // untriaged |
| 3806 static const int MEDIUM_INT = 0x8DF4; |
| 3807 |
| 3808 @DomName('WebGL2RenderingContext.MIRRORED_REPEAT') |
| 3809 @DocsEditable() |
| 3810 @Experimental() // untriaged |
| 3811 static const int MIRRORED_REPEAT = 0x8370; |
| 3812 |
| 3813 @DomName('WebGL2RenderingContext.NEAREST') |
| 3814 @DocsEditable() |
| 3815 @Experimental() // untriaged |
| 3816 static const int NEAREST = 0x2600; |
| 3817 |
| 3818 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR') |
| 3819 @DocsEditable() |
| 3820 @Experimental() // untriaged |
| 3821 static const int NEAREST_MIPMAP_LINEAR = 0x2702; |
| 3822 |
| 3823 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST') |
| 3824 @DocsEditable() |
| 3825 @Experimental() // untriaged |
| 3826 static const int NEAREST_MIPMAP_NEAREST = 0x2700; |
| 3827 |
| 3828 @DomName('WebGL2RenderingContext.NEVER') |
| 3829 @DocsEditable() |
| 3830 @Experimental() // untriaged |
| 3831 static const int NEVER = 0x0200; |
| 3832 |
| 3833 @DomName('WebGL2RenderingContext.NICEST') |
| 3834 @DocsEditable() |
| 3835 @Experimental() // untriaged |
| 3836 static const int NICEST = 0x1102; |
| 3837 |
| 3838 @DomName('WebGL2RenderingContext.NONE') |
| 3839 @DocsEditable() |
| 3840 @Experimental() // untriaged |
| 3841 static const int NONE = 0; |
| 3842 |
| 3843 @DomName('WebGL2RenderingContext.NOTEQUAL') |
| 3844 @DocsEditable() |
| 3845 @Experimental() // untriaged |
| 3846 static const int NOTEQUAL = 0x0205; |
| 3847 |
| 3848 @DomName('WebGL2RenderingContext.NO_ERROR') |
| 3849 @DocsEditable() |
| 3850 @Experimental() // untriaged |
| 3851 static const int NO_ERROR = 0; |
| 3852 |
| 3853 @DomName('WebGL2RenderingContext.ONE') |
| 3854 @DocsEditable() |
| 3855 @Experimental() // untriaged |
| 3856 static const int ONE = 1; |
| 3857 |
| 3858 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA') |
| 3859 @DocsEditable() |
| 3860 @Experimental() // untriaged |
| 3861 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; |
| 3862 |
| 3863 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR') |
| 3864 @DocsEditable() |
| 3865 @Experimental() // untriaged |
| 3866 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; |
| 3867 |
| 3868 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_ALPHA') |
| 3869 @DocsEditable() |
| 3870 @Experimental() // untriaged |
| 3871 static const int ONE_MINUS_DST_ALPHA = 0x0305; |
| 3872 |
| 3873 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_COLOR') |
| 3874 @DocsEditable() |
| 3875 @Experimental() // untriaged |
| 3876 static const int ONE_MINUS_DST_COLOR = 0x0307; |
| 3877 |
| 3878 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA') |
| 3879 @DocsEditable() |
| 3880 @Experimental() // untriaged |
| 3881 static const int ONE_MINUS_SRC_ALPHA = 0x0303; |
| 3882 |
| 3883 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_COLOR') |
| 3884 @DocsEditable() |
| 3885 @Experimental() // untriaged |
| 3886 static const int ONE_MINUS_SRC_COLOR = 0x0301; |
| 3887 |
| 3888 @DomName('WebGL2RenderingContext.OUT_OF_MEMORY') |
| 3889 @DocsEditable() |
| 3890 @Experimental() // untriaged |
| 3891 static const int OUT_OF_MEMORY = 0x0505; |
| 3892 |
| 3893 @DomName('WebGL2RenderingContext.PACK_ALIGNMENT') |
| 3894 @DocsEditable() |
| 3895 @Experimental() // untriaged |
| 3896 static const int PACK_ALIGNMENT = 0x0D05; |
| 3897 |
| 3898 @DomName('WebGL2RenderingContext.POINTS') |
| 3899 @DocsEditable() |
| 3900 @Experimental() // untriaged |
| 3901 static const int POINTS = 0x0000; |
| 3902 |
| 3903 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FACTOR') |
| 3904 @DocsEditable() |
| 3905 @Experimental() // untriaged |
| 3906 static const int POLYGON_OFFSET_FACTOR = 0x8038; |
| 3907 |
| 3908 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FILL') |
| 3909 @DocsEditable() |
| 3910 @Experimental() // untriaged |
| 3911 static const int POLYGON_OFFSET_FILL = 0x8037; |
| 3912 |
| 3913 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_UNITS') |
| 3914 @DocsEditable() |
| 3915 @Experimental() // untriaged |
| 3916 static const int POLYGON_OFFSET_UNITS = 0x2A00; |
| 3917 |
| 3918 @DomName('WebGL2RenderingContext.RED_BITS') |
| 3919 @DocsEditable() |
| 3920 @Experimental() // untriaged |
| 3921 static const int RED_BITS = 0x0D52; |
| 3922 |
| 3923 @DomName('WebGL2RenderingContext.RENDERBUFFER') |
| 3924 @DocsEditable() |
| 3925 @Experimental() // untriaged |
| 3926 static const int RENDERBUFFER = 0x8D41; |
| 3927 |
| 3928 @DomName('WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE') |
| 3929 @DocsEditable() |
| 3930 @Experimental() // untriaged |
| 3931 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; |
| 3932 |
| 3933 @DomName('WebGL2RenderingContext.RENDERBUFFER_BINDING') |
| 3934 @DocsEditable() |
| 3935 @Experimental() // untriaged |
| 3936 static const int RENDERBUFFER_BINDING = 0x8CA7; |
| 3937 |
| 3938 @DomName('WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE') |
| 3939 @DocsEditable() |
| 3940 @Experimental() // untriaged |
| 3941 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; |
| 3942 |
| 3943 @DomName('WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE') |
| 3944 @DocsEditable() |
| 3945 @Experimental() // untriaged |
| 3946 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; |
| 3947 |
| 3948 @DomName('WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE') |
| 3949 @DocsEditable() |
| 3950 @Experimental() // untriaged |
| 3951 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; |
| 3952 |
| 3953 @DomName('WebGL2RenderingContext.RENDERBUFFER_HEIGHT') |
| 3954 @DocsEditable() |
| 3955 @Experimental() // untriaged |
| 3956 static const int RENDERBUFFER_HEIGHT = 0x8D43; |
| 3957 |
| 3958 @DomName('WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT') |
| 3959 @DocsEditable() |
| 3960 @Experimental() // untriaged |
| 3961 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; |
| 3962 |
| 3963 @DomName('WebGL2RenderingContext.RENDERBUFFER_RED_SIZE') |
| 3964 @DocsEditable() |
| 3965 @Experimental() // untriaged |
| 3966 static const int RENDERBUFFER_RED_SIZE = 0x8D50; |
| 3967 |
| 3968 @DomName('WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE') |
| 3969 @DocsEditable() |
| 3970 @Experimental() // untriaged |
| 3971 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; |
| 3972 |
| 3973 @DomName('WebGL2RenderingContext.RENDERBUFFER_WIDTH') |
| 3974 @DocsEditable() |
| 3975 @Experimental() // untriaged |
| 3976 static const int RENDERBUFFER_WIDTH = 0x8D42; |
| 3977 |
| 3978 @DomName('WebGL2RenderingContext.RENDERER') |
| 3979 @DocsEditable() |
| 3980 @Experimental() // untriaged |
| 3981 static const int RENDERER = 0x1F01; |
| 3982 |
| 3983 @DomName('WebGL2RenderingContext.REPEAT') |
| 3984 @DocsEditable() |
| 3985 @Experimental() // untriaged |
| 3986 static const int REPEAT = 0x2901; |
| 3987 |
| 3988 @DomName('WebGL2RenderingContext.REPLACE') |
| 3989 @DocsEditable() |
| 3990 @Experimental() // untriaged |
| 3991 static const int REPLACE = 0x1E01; |
| 3992 |
| 3993 @DomName('WebGL2RenderingContext.RGB') |
| 3994 @DocsEditable() |
| 3995 @Experimental() // untriaged |
| 3996 static const int RGB = 0x1907; |
| 3997 |
| 3998 @DomName('WebGL2RenderingContext.RGB565') |
| 3999 @DocsEditable() |
| 4000 @Experimental() // untriaged |
| 4001 static const int RGB565 = 0x8D62; |
| 4002 |
| 4003 @DomName('WebGL2RenderingContext.RGB5_A1') |
| 4004 @DocsEditable() |
| 4005 @Experimental() // untriaged |
| 4006 static const int RGB5_A1 = 0x8057; |
| 4007 |
| 4008 @DomName('WebGL2RenderingContext.RGBA') |
| 4009 @DocsEditable() |
| 4010 @Experimental() // untriaged |
| 4011 static const int RGBA = 0x1908; |
| 4012 |
| 4013 @DomName('WebGL2RenderingContext.RGBA4') |
| 4014 @DocsEditable() |
| 4015 @Experimental() // untriaged |
| 4016 static const int RGBA4 = 0x8056; |
| 4017 |
| 4018 @DomName('WebGL2RenderingContext.SAMPLER_2D') |
| 4019 @DocsEditable() |
| 4020 @Experimental() // untriaged |
| 4021 static const int SAMPLER_2D = 0x8B5E; |
| 4022 |
| 4023 @DomName('WebGL2RenderingContext.SAMPLER_CUBE') |
| 4024 @DocsEditable() |
| 4025 @Experimental() // untriaged |
| 4026 static const int SAMPLER_CUBE = 0x8B60; |
| 4027 |
| 4028 @DomName('WebGL2RenderingContext.SAMPLES') |
| 4029 @DocsEditable() |
| 4030 @Experimental() // untriaged |
| 4031 static const int SAMPLES = 0x80A9; |
| 4032 |
| 4033 @DomName('WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE') |
| 4034 @DocsEditable() |
| 4035 @Experimental() // untriaged |
| 4036 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; |
| 4037 |
| 4038 @DomName('WebGL2RenderingContext.SAMPLE_BUFFERS') |
| 4039 @DocsEditable() |
| 4040 @Experimental() // untriaged |
| 4041 static const int SAMPLE_BUFFERS = 0x80A8; |
| 4042 |
| 4043 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE') |
| 4044 @DocsEditable() |
| 4045 @Experimental() // untriaged |
| 4046 static const int SAMPLE_COVERAGE = 0x80A0; |
| 4047 |
| 4048 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT') |
| 4049 @DocsEditable() |
| 4050 @Experimental() // untriaged |
| 4051 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; |
| 4052 |
| 4053 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE') |
| 4054 @DocsEditable() |
| 4055 @Experimental() // untriaged |
| 4056 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; |
| 4057 |
| 4058 @DomName('WebGL2RenderingContext.SCISSOR_BOX') |
| 4059 @DocsEditable() |
| 4060 @Experimental() // untriaged |
| 4061 static const int SCISSOR_BOX = 0x0C10; |
| 4062 |
| 4063 @DomName('WebGL2RenderingContext.SCISSOR_TEST') |
| 4064 @DocsEditable() |
| 4065 @Experimental() // untriaged |
| 4066 static const int SCISSOR_TEST = 0x0C11; |
| 4067 |
| 4068 @DomName('WebGL2RenderingContext.SHADER_TYPE') |
| 4069 @DocsEditable() |
| 4070 @Experimental() // untriaged |
| 4071 static const int SHADER_TYPE = 0x8B4F; |
| 4072 |
| 4073 @DomName('WebGL2RenderingContext.SHADING_LANGUAGE_VERSION') |
| 4074 @DocsEditable() |
| 4075 @Experimental() // untriaged |
| 4076 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; |
| 4077 |
| 4078 @DomName('WebGL2RenderingContext.SHORT') |
| 4079 @DocsEditable() |
| 4080 @Experimental() // untriaged |
| 4081 static const int SHORT = 0x1402; |
| 4082 |
| 4083 @DomName('WebGL2RenderingContext.SRC_ALPHA') |
| 4084 @DocsEditable() |
| 4085 @Experimental() // untriaged |
| 4086 static const int SRC_ALPHA = 0x0302; |
| 4087 |
| 4088 @DomName('WebGL2RenderingContext.SRC_ALPHA_SATURATE') |
| 4089 @DocsEditable() |
| 4090 @Experimental() // untriaged |
| 4091 static const int SRC_ALPHA_SATURATE = 0x0308; |
| 4092 |
| 4093 @DomName('WebGL2RenderingContext.SRC_COLOR') |
| 4094 @DocsEditable() |
| 4095 @Experimental() // untriaged |
| 4096 static const int SRC_COLOR = 0x0300; |
| 4097 |
| 4098 @DomName('WebGL2RenderingContext.STATIC_DRAW') |
| 4099 @DocsEditable() |
| 4100 @Experimental() // untriaged |
| 4101 static const int STATIC_DRAW = 0x88E4; |
| 4102 |
| 4103 @DomName('WebGL2RenderingContext.STENCIL_ATTACHMENT') |
| 4104 @DocsEditable() |
| 4105 @Experimental() // untriaged |
| 4106 static const int STENCIL_ATTACHMENT = 0x8D20; |
| 4107 |
| 4108 @DomName('WebGL2RenderingContext.STENCIL_BACK_FAIL') |
| 4109 @DocsEditable() |
| 4110 @Experimental() // untriaged |
| 4111 static const int STENCIL_BACK_FAIL = 0x8801; |
| 4112 |
| 4113 @DomName('WebGL2RenderingContext.STENCIL_BACK_FUNC') |
| 4114 @DocsEditable() |
| 4115 @Experimental() // untriaged |
| 4116 static const int STENCIL_BACK_FUNC = 0x8800; |
| 4117 |
| 4118 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') |
| 4119 @DocsEditable() |
| 4120 @Experimental() // untriaged |
| 4121 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; |
| 4122 |
| 4123 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') |
| 4124 @DocsEditable() |
| 4125 @Experimental() // untriaged |
| 4126 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; |
| 4127 |
| 4128 @DomName('WebGL2RenderingContext.STENCIL_BACK_REF') |
| 4129 @DocsEditable() |
| 4130 @Experimental() // untriaged |
| 4131 static const int STENCIL_BACK_REF = 0x8CA3; |
| 4132 |
| 4133 @DomName('WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK') |
| 4134 @DocsEditable() |
| 4135 @Experimental() // untriaged |
| 4136 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; |
| 4137 |
| 4138 @DomName('WebGL2RenderingContext.STENCIL_BACK_WRITEMASK') |
| 4139 @DocsEditable() |
| 4140 @Experimental() // untriaged |
| 4141 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; |
| 4142 |
| 4143 @DomName('WebGL2RenderingContext.STENCIL_BITS') |
| 4144 @DocsEditable() |
| 4145 @Experimental() // untriaged |
| 4146 static const int STENCIL_BITS = 0x0D57; |
| 4147 |
| 4148 @DomName('WebGL2RenderingContext.STENCIL_BUFFER_BIT') |
| 4149 @DocsEditable() |
| 4150 @Experimental() // untriaged |
| 4151 static const int STENCIL_BUFFER_BIT = 0x00000400; |
| 4152 |
| 4153 @DomName('WebGL2RenderingContext.STENCIL_CLEAR_VALUE') |
| 4154 @DocsEditable() |
| 4155 @Experimental() // untriaged |
| 4156 static const int STENCIL_CLEAR_VALUE = 0x0B91; |
| 4157 |
| 4158 @DomName('WebGL2RenderingContext.STENCIL_FAIL') |
| 4159 @DocsEditable() |
| 4160 @Experimental() // untriaged |
| 4161 static const int STENCIL_FAIL = 0x0B94; |
| 4162 |
| 4163 @DomName('WebGL2RenderingContext.STENCIL_FUNC') |
| 4164 @DocsEditable() |
| 4165 @Experimental() // untriaged |
| 4166 static const int STENCIL_FUNC = 0x0B92; |
| 4167 |
| 4168 @DomName('WebGL2RenderingContext.STENCIL_INDEX') |
| 4169 @DocsEditable() |
| 4170 @Experimental() // untriaged |
| 4171 static const int STENCIL_INDEX = 0x1901; |
| 4172 |
| 4173 @DomName('WebGL2RenderingContext.STENCIL_INDEX8') |
| 4174 @DocsEditable() |
| 4175 @Experimental() // untriaged |
| 4176 static const int STENCIL_INDEX8 = 0x8D48; |
| 4177 |
| 4178 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL') |
| 4179 @DocsEditable() |
| 4180 @Experimental() // untriaged |
| 4181 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; |
| 4182 |
| 4183 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS') |
| 4184 @DocsEditable() |
| 4185 @Experimental() // untriaged |
| 4186 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; |
| 4187 |
| 4188 @DomName('WebGL2RenderingContext.STENCIL_REF') |
| 4189 @DocsEditable() |
| 4190 @Experimental() // untriaged |
| 4191 static const int STENCIL_REF = 0x0B97; |
| 4192 |
| 4193 @DomName('WebGL2RenderingContext.STENCIL_TEST') |
| 4194 @DocsEditable() |
| 4195 @Experimental() // untriaged |
| 4196 static const int STENCIL_TEST = 0x0B90; |
| 4197 |
| 4198 @DomName('WebGL2RenderingContext.STENCIL_VALUE_MASK') |
| 4199 @DocsEditable() |
| 4200 @Experimental() // untriaged |
| 4201 static const int STENCIL_VALUE_MASK = 0x0B93; |
| 4202 |
| 4203 @DomName('WebGL2RenderingContext.STENCIL_WRITEMASK') |
| 4204 @DocsEditable() |
| 4205 @Experimental() // untriaged |
| 4206 static const int STENCIL_WRITEMASK = 0x0B98; |
| 4207 |
| 4208 @DomName('WebGL2RenderingContext.STREAM_DRAW') |
| 4209 @DocsEditable() |
| 4210 @Experimental() // untriaged |
| 4211 static const int STREAM_DRAW = 0x88E0; |
| 4212 |
| 4213 @DomName('WebGL2RenderingContext.SUBPIXEL_BITS') |
| 4214 @DocsEditable() |
| 4215 @Experimental() // untriaged |
| 4216 static const int SUBPIXEL_BITS = 0x0D50; |
| 4217 |
| 4218 @DomName('WebGL2RenderingContext.TEXTURE') |
| 4219 @DocsEditable() |
| 4220 @Experimental() // untriaged |
| 4221 static const int TEXTURE = 0x1702; |
| 4222 |
| 4223 @DomName('WebGL2RenderingContext.TEXTURE0') |
| 4224 @DocsEditable() |
| 4225 @Experimental() // untriaged |
| 4226 static const int TEXTURE0 = 0x84C0; |
| 4227 |
| 4228 @DomName('WebGL2RenderingContext.TEXTURE1') |
| 4229 @DocsEditable() |
| 4230 @Experimental() // untriaged |
| 4231 static const int TEXTURE1 = 0x84C1; |
| 4232 |
| 4233 @DomName('WebGL2RenderingContext.TEXTURE10') |
| 4234 @DocsEditable() |
| 4235 @Experimental() // untriaged |
| 4236 static const int TEXTURE10 = 0x84CA; |
| 4237 |
| 4238 @DomName('WebGL2RenderingContext.TEXTURE11') |
| 4239 @DocsEditable() |
| 4240 @Experimental() // untriaged |
| 4241 static const int TEXTURE11 = 0x84CB; |
| 4242 |
| 4243 @DomName('WebGL2RenderingContext.TEXTURE12') |
| 4244 @DocsEditable() |
| 4245 @Experimental() // untriaged |
| 4246 static const int TEXTURE12 = 0x84CC; |
| 4247 |
| 4248 @DomName('WebGL2RenderingContext.TEXTURE13') |
| 4249 @DocsEditable() |
| 4250 @Experimental() // untriaged |
| 4251 static const int TEXTURE13 = 0x84CD; |
| 4252 |
| 4253 @DomName('WebGL2RenderingContext.TEXTURE14') |
| 4254 @DocsEditable() |
| 4255 @Experimental() // untriaged |
| 4256 static const int TEXTURE14 = 0x84CE; |
| 4257 |
| 4258 @DomName('WebGL2RenderingContext.TEXTURE15') |
| 4259 @DocsEditable() |
| 4260 @Experimental() // untriaged |
| 4261 static const int TEXTURE15 = 0x84CF; |
| 4262 |
| 4263 @DomName('WebGL2RenderingContext.TEXTURE16') |
| 4264 @DocsEditable() |
| 4265 @Experimental() // untriaged |
| 4266 static const int TEXTURE16 = 0x84D0; |
| 4267 |
| 4268 @DomName('WebGL2RenderingContext.TEXTURE17') |
| 4269 @DocsEditable() |
| 4270 @Experimental() // untriaged |
| 4271 static const int TEXTURE17 = 0x84D1; |
| 4272 |
| 4273 @DomName('WebGL2RenderingContext.TEXTURE18') |
| 4274 @DocsEditable() |
| 4275 @Experimental() // untriaged |
| 4276 static const int TEXTURE18 = 0x84D2; |
| 4277 |
| 4278 @DomName('WebGL2RenderingContext.TEXTURE19') |
| 4279 @DocsEditable() |
| 4280 @Experimental() // untriaged |
| 4281 static const int TEXTURE19 = 0x84D3; |
| 4282 |
| 4283 @DomName('WebGL2RenderingContext.TEXTURE2') |
| 4284 @DocsEditable() |
| 4285 @Experimental() // untriaged |
| 4286 static const int TEXTURE2 = 0x84C2; |
| 4287 |
| 4288 @DomName('WebGL2RenderingContext.TEXTURE20') |
| 4289 @DocsEditable() |
| 4290 @Experimental() // untriaged |
| 4291 static const int TEXTURE20 = 0x84D4; |
| 4292 |
| 4293 @DomName('WebGL2RenderingContext.TEXTURE21') |
| 4294 @DocsEditable() |
| 4295 @Experimental() // untriaged |
| 4296 static const int TEXTURE21 = 0x84D5; |
| 4297 |
| 4298 @DomName('WebGL2RenderingContext.TEXTURE22') |
| 4299 @DocsEditable() |
| 4300 @Experimental() // untriaged |
| 4301 static const int TEXTURE22 = 0x84D6; |
| 4302 |
| 4303 @DomName('WebGL2RenderingContext.TEXTURE23') |
| 4304 @DocsEditable() |
| 4305 @Experimental() // untriaged |
| 4306 static const int TEXTURE23 = 0x84D7; |
| 4307 |
| 4308 @DomName('WebGL2RenderingContext.TEXTURE24') |
| 4309 @DocsEditable() |
| 4310 @Experimental() // untriaged |
| 4311 static const int TEXTURE24 = 0x84D8; |
| 4312 |
| 4313 @DomName('WebGL2RenderingContext.TEXTURE25') |
| 4314 @DocsEditable() |
| 4315 @Experimental() // untriaged |
| 4316 static const int TEXTURE25 = 0x84D9; |
| 4317 |
| 4318 @DomName('WebGL2RenderingContext.TEXTURE26') |
| 4319 @DocsEditable() |
| 4320 @Experimental() // untriaged |
| 4321 static const int TEXTURE26 = 0x84DA; |
| 4322 |
| 4323 @DomName('WebGL2RenderingContext.TEXTURE27') |
| 4324 @DocsEditable() |
| 4325 @Experimental() // untriaged |
| 4326 static const int TEXTURE27 = 0x84DB; |
| 4327 |
| 4328 @DomName('WebGL2RenderingContext.TEXTURE28') |
| 4329 @DocsEditable() |
| 4330 @Experimental() // untriaged |
| 4331 static const int TEXTURE28 = 0x84DC; |
| 4332 |
| 4333 @DomName('WebGL2RenderingContext.TEXTURE29') |
| 4334 @DocsEditable() |
| 4335 @Experimental() // untriaged |
| 4336 static const int TEXTURE29 = 0x84DD; |
| 4337 |
| 4338 @DomName('WebGL2RenderingContext.TEXTURE3') |
| 4339 @DocsEditable() |
| 4340 @Experimental() // untriaged |
| 4341 static const int TEXTURE3 = 0x84C3; |
| 4342 |
| 4343 @DomName('WebGL2RenderingContext.TEXTURE30') |
| 4344 @DocsEditable() |
| 4345 @Experimental() // untriaged |
| 4346 static const int TEXTURE30 = 0x84DE; |
| 4347 |
| 4348 @DomName('WebGL2RenderingContext.TEXTURE31') |
| 4349 @DocsEditable() |
| 4350 @Experimental() // untriaged |
| 4351 static const int TEXTURE31 = 0x84DF; |
| 4352 |
| 4353 @DomName('WebGL2RenderingContext.TEXTURE4') |
| 4354 @DocsEditable() |
| 4355 @Experimental() // untriaged |
| 4356 static const int TEXTURE4 = 0x84C4; |
| 4357 |
| 4358 @DomName('WebGL2RenderingContext.TEXTURE5') |
| 4359 @DocsEditable() |
| 4360 @Experimental() // untriaged |
| 4361 static const int TEXTURE5 = 0x84C5; |
| 4362 |
| 4363 @DomName('WebGL2RenderingContext.TEXTURE6') |
| 4364 @DocsEditable() |
| 4365 @Experimental() // untriaged |
| 4366 static const int TEXTURE6 = 0x84C6; |
| 4367 |
| 4368 @DomName('WebGL2RenderingContext.TEXTURE7') |
| 4369 @DocsEditable() |
| 4370 @Experimental() // untriaged |
| 4371 static const int TEXTURE7 = 0x84C7; |
| 4372 |
| 4373 @DomName('WebGL2RenderingContext.TEXTURE8') |
| 4374 @DocsEditable() |
| 4375 @Experimental() // untriaged |
| 4376 static const int TEXTURE8 = 0x84C8; |
| 4377 |
| 4378 @DomName('WebGL2RenderingContext.TEXTURE9') |
| 4379 @DocsEditable() |
| 4380 @Experimental() // untriaged |
| 4381 static const int TEXTURE9 = 0x84C9; |
| 4382 |
| 4383 @DomName('WebGL2RenderingContext.TEXTURE_2D') |
| 4384 @DocsEditable() |
| 4385 @Experimental() // untriaged |
| 4386 static const int TEXTURE_2D = 0x0DE1; |
| 4387 |
| 4388 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_2D') |
| 4389 @DocsEditable() |
| 4390 @Experimental() // untriaged |
| 4391 static const int TEXTURE_BINDING_2D = 0x8069; |
| 4392 |
| 4393 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP') |
| 4394 @DocsEditable() |
| 4395 @Experimental() // untriaged |
| 4396 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; |
| 4397 |
| 4398 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP') |
| 4399 @DocsEditable() |
| 4400 @Experimental() // untriaged |
| 4401 static const int TEXTURE_CUBE_MAP = 0x8513; |
| 4402 |
| 4403 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') |
| 4404 @DocsEditable() |
| 4405 @Experimental() // untriaged |
| 4406 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; |
| 4407 |
| 4408 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') |
| 4409 @DocsEditable() |
| 4410 @Experimental() // untriaged |
| 4411 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; |
| 4412 |
| 4413 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') |
| 4414 @DocsEditable() |
| 4415 @Experimental() // untriaged |
| 4416 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; |
| 4417 |
| 4418 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') |
| 4419 @DocsEditable() |
| 4420 @Experimental() // untriaged |
| 4421 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; |
| 4422 |
| 4423 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') |
| 4424 @DocsEditable() |
| 4425 @Experimental() // untriaged |
| 4426 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; |
| 4427 |
| 4428 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') |
| 4429 @DocsEditable() |
| 4430 @Experimental() // untriaged |
| 4431 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; |
| 4432 |
| 4433 @DomName('WebGL2RenderingContext.TEXTURE_MAG_FILTER') |
| 4434 @DocsEditable() |
| 4435 @Experimental() // untriaged |
| 4436 static const int TEXTURE_MAG_FILTER = 0x2800; |
| 4437 |
| 4438 @DomName('WebGL2RenderingContext.TEXTURE_MIN_FILTER') |
| 4439 @DocsEditable() |
| 4440 @Experimental() // untriaged |
| 4441 static const int TEXTURE_MIN_FILTER = 0x2801; |
| 4442 |
| 4443 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_S') |
| 4444 @DocsEditable() |
| 4445 @Experimental() // untriaged |
| 4446 static const int TEXTURE_WRAP_S = 0x2802; |
| 4447 |
| 4448 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_T') |
| 4449 @DocsEditable() |
| 4450 @Experimental() // untriaged |
| 4451 static const int TEXTURE_WRAP_T = 0x2803; |
| 4452 |
| 4453 @DomName('WebGL2RenderingContext.TRIANGLES') |
| 4454 @DocsEditable() |
| 4455 @Experimental() // untriaged |
| 4456 static const int TRIANGLES = 0x0004; |
| 4457 |
| 4458 @DomName('WebGL2RenderingContext.TRIANGLE_FAN') |
| 4459 @DocsEditable() |
| 4460 @Experimental() // untriaged |
| 4461 static const int TRIANGLE_FAN = 0x0006; |
| 4462 |
| 4463 @DomName('WebGL2RenderingContext.TRIANGLE_STRIP') |
| 4464 @DocsEditable() |
| 4465 @Experimental() // untriaged |
| 4466 static const int TRIANGLE_STRIP = 0x0005; |
| 4467 |
| 4468 @DomName('WebGL2RenderingContext.UNPACK_ALIGNMENT') |
| 4469 @DocsEditable() |
| 4470 @Experimental() // untriaged |
| 4471 static const int UNPACK_ALIGNMENT = 0x0CF5; |
| 4472 |
| 4473 @DomName('WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') |
| 4474 @DocsEditable() |
| 4475 @Experimental() // untriaged |
| 4476 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 4477 |
| 4478 @DomName('WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL') |
| 4479 @DocsEditable() |
| 4480 @Experimental() // untriaged |
| 4481 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 4482 |
| 4483 @DomName('WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') |
| 4484 @DocsEditable() |
| 4485 @Experimental() // untriaged |
| 4486 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 4487 |
| 4488 @DomName('WebGL2RenderingContext.UNSIGNED_BYTE') |
| 4489 @DocsEditable() |
| 4490 @Experimental() // untriaged |
| 4491 static const int UNSIGNED_BYTE = 0x1401; |
| 4492 |
| 4493 @DomName('WebGL2RenderingContext.UNSIGNED_INT') |
| 4494 @DocsEditable() |
| 4495 @Experimental() // untriaged |
| 4496 static const int UNSIGNED_INT = 0x1405; |
| 4497 |
| 4498 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT') |
| 4499 @DocsEditable() |
| 4500 @Experimental() // untriaged |
| 4501 static const int UNSIGNED_SHORT = 0x1403; |
| 4502 |
| 4503 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4') |
| 4504 @DocsEditable() |
| 4505 @Experimental() // untriaged |
| 4506 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; |
| 4507 |
| 4508 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1') |
| 4509 @DocsEditable() |
| 4510 @Experimental() // untriaged |
| 4511 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; |
| 4512 |
| 4513 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5') |
| 4514 @DocsEditable() |
| 4515 @Experimental() // untriaged |
| 4516 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; |
| 4517 |
| 4518 @DomName('WebGL2RenderingContext.VALIDATE_STATUS') |
| 4519 @DocsEditable() |
| 4520 @Experimental() // untriaged |
| 4521 static const int VALIDATE_STATUS = 0x8B83; |
| 4522 |
| 4523 @DomName('WebGL2RenderingContext.VENDOR') |
| 4524 @DocsEditable() |
| 4525 @Experimental() // untriaged |
| 4526 static const int VENDOR = 0x1F00; |
| 4527 |
| 4528 @DomName('WebGL2RenderingContext.VERSION') |
| 4529 @DocsEditable() |
| 4530 @Experimental() // untriaged |
| 4531 static const int VERSION = 0x1F02; |
| 4532 |
| 4533 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') |
| 4534 @DocsEditable() |
| 4535 @Experimental() // untriaged |
| 4536 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; |
| 4537 |
| 4538 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') |
| 4539 @DocsEditable() |
| 4540 @Experimental() // untriaged |
| 4541 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; |
| 4542 |
| 4543 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') |
| 4544 @DocsEditable() |
| 4545 @Experimental() // untriaged |
| 4546 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; |
| 4547 |
| 4548 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') |
| 4549 @DocsEditable() |
| 4550 @Experimental() // untriaged |
| 4551 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; |
| 4552 |
| 4553 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') |
| 4554 @DocsEditable() |
| 4555 @Experimental() // untriaged |
| 4556 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; |
| 4557 |
| 4558 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') |
| 4559 @DocsEditable() |
| 4560 @Experimental() // untriaged |
| 4561 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 4562 |
| 4563 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') |
| 4564 @DocsEditable() |
| 4565 @Experimental() // untriaged |
| 4566 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 4567 |
| 4568 @DomName('WebGL2RenderingContext.VERTEX_SHADER') |
| 4569 @DocsEditable() |
| 4570 @Experimental() // untriaged |
| 4571 static const int VERTEX_SHADER = 0x8B31; |
| 4572 |
| 4573 @DomName('WebGL2RenderingContext.VIEWPORT') |
| 4574 @DocsEditable() |
| 4575 @Experimental() // untriaged |
| 4576 static const int VIEWPORT = 0x0BA2; |
| 4577 |
| 4578 @DomName('WebGL2RenderingContext.ZERO') |
| 4579 @DocsEditable() |
| 4580 @Experimental() // untriaged |
| 4581 static const int ZERO = 0; |
| 4582 |
| 4583 // From WebGL2RenderingContextBase |
| 4584 |
| 4585 @DomName('WebGL2RenderingContext.beginQuery') |
| 4586 @DocsEditable() |
| 4587 @Experimental() // untriaged |
| 4588 void beginQuery(int target, Query query) native; |
| 4589 |
| 4590 @DomName('WebGL2RenderingContext.beginTransformFeedback') |
| 4591 @DocsEditable() |
| 4592 @Experimental() // untriaged |
| 4593 void beginTransformFeedback(int primitiveMode) native; |
| 4594 |
| 4595 @DomName('WebGL2RenderingContext.bindBufferBase') |
| 4596 @DocsEditable() |
| 4597 @Experimental() // untriaged |
| 4598 void bindBufferBase(int target, int index, Buffer buffer) native; |
| 4599 |
| 4600 @DomName('WebGL2RenderingContext.bindBufferRange') |
| 4601 @DocsEditable() |
| 4602 @Experimental() // untriaged |
| 4603 void bindBufferRange(int target, int index, Buffer buffer, int offset, int siz
e) native; |
| 4604 |
| 4605 @DomName('WebGL2RenderingContext.bindSampler') |
| 4606 @DocsEditable() |
| 4607 @Experimental() // untriaged |
| 4608 void bindSampler(int unit, Sampler sampler) native; |
| 4609 |
| 4610 @DomName('WebGL2RenderingContext.bindTransformFeedback') |
| 4611 @DocsEditable() |
| 4612 @Experimental() // untriaged |
| 4613 void bindTransformFeedback(int target, TransformFeedback feedback) native; |
| 4614 |
| 4615 @DomName('WebGL2RenderingContext.bindVertexArray') |
| 4616 @DocsEditable() |
| 4617 @Experimental() // untriaged |
| 4618 void bindVertexArray(VertexArrayObject vertexArray) native; |
| 4619 |
| 4620 @DomName('WebGL2RenderingContext.blitFramebuffer') |
| 4621 @DocsEditable() |
| 4622 @Experimental() // untriaged |
| 4623 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, in
t dstY0, int dstX1, int dstY1, int mask, int filter) native; |
| 4624 |
| 4625 @DomName('WebGL2RenderingContext.clearBufferfi') |
| 4626 @DocsEditable() |
| 4627 @Experimental() // untriaged |
| 4628 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) native; |
| 4629 |
| 4630 @DomName('WebGL2RenderingContext.clearBufferfv') |
| 4631 @DocsEditable() |
| 4632 @Experimental() // untriaged |
| 4633 void clearBufferfv(int buffer, int drawbuffer, value) native; |
| 4634 |
| 4635 @DomName('WebGL2RenderingContext.clearBufferiv') |
| 4636 @DocsEditable() |
| 4637 @Experimental() // untriaged |
| 4638 void clearBufferiv(int buffer, int drawbuffer, value) native; |
| 4639 |
| 4640 @DomName('WebGL2RenderingContext.clearBufferuiv') |
| 4641 @DocsEditable() |
| 4642 @Experimental() // untriaged |
| 4643 void clearBufferuiv(int buffer, int drawbuffer, value) native; |
| 4644 |
| 4645 @DomName('WebGL2RenderingContext.clientWaitSync') |
| 4646 @DocsEditable() |
| 4647 @Experimental() // untriaged |
| 4648 int clientWaitSync(Sync sync, int flags, int timeout) native; |
| 4649 |
| 4650 @DomName('WebGL2RenderingContext.compressedTexImage3D') |
| 4651 @DocsEditable() |
| 4652 @Experimental() // untriaged |
| 4653 void compressedTexImage3D(int target, int level, int internalformat, int width
, int height, int depth, int border, TypedData data) native; |
| 4654 |
| 4655 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') |
| 4656 @DocsEditable() |
| 4657 @Experimental() // untriaged |
| 4658 void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset,
int zoffset, int width, int height, int depth, int format, TypedData data) nativ
e; |
| 4659 |
| 4660 @DomName('WebGL2RenderingContext.copyBufferSubData') |
| 4661 @DocsEditable() |
| 4662 @Experimental() // untriaged |
| 4663 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int wr
iteOffset, int size) native; |
| 4664 |
| 4665 @DomName('WebGL2RenderingContext.copyTexSubImage3D') |
| 4666 @DocsEditable() |
| 4667 @Experimental() // untriaged |
| 4668 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zo
ffset, int x, int y, int width, int height) native; |
| 4669 |
| 4670 @DomName('WebGL2RenderingContext.createQuery') |
| 4671 @DocsEditable() |
| 4672 @Experimental() // untriaged |
| 4673 Query createQuery() native; |
| 4674 |
| 4675 @DomName('WebGL2RenderingContext.createSampler') |
| 4676 @DocsEditable() |
| 4677 @Experimental() // untriaged |
| 4678 Sampler createSampler() native; |
| 4679 |
| 4680 @DomName('WebGL2RenderingContext.createTransformFeedback') |
| 4681 @DocsEditable() |
| 4682 @Experimental() // untriaged |
| 4683 TransformFeedback createTransformFeedback() native; |
| 4684 |
| 4685 @DomName('WebGL2RenderingContext.createVertexArray') |
| 4686 @DocsEditable() |
| 4687 @Experimental() // untriaged |
| 4688 VertexArrayObject createVertexArray() native; |
| 4689 |
| 4690 @DomName('WebGL2RenderingContext.deleteQuery') |
| 4691 @DocsEditable() |
| 4692 @Experimental() // untriaged |
| 4693 void deleteQuery(Query query) native; |
| 4694 |
| 4695 @DomName('WebGL2RenderingContext.deleteSampler') |
| 4696 @DocsEditable() |
| 4697 @Experimental() // untriaged |
| 4698 void deleteSampler(Sampler sampler) native; |
| 4699 |
| 4700 @DomName('WebGL2RenderingContext.deleteSync') |
| 4701 @DocsEditable() |
| 4702 @Experimental() // untriaged |
| 4703 void deleteSync(Sync sync) native; |
| 4704 |
| 4705 @DomName('WebGL2RenderingContext.deleteTransformFeedback') |
| 4706 @DocsEditable() |
| 4707 @Experimental() // untriaged |
| 4708 void deleteTransformFeedback(TransformFeedback feedback) native; |
| 4709 |
| 4710 @DomName('WebGL2RenderingContext.deleteVertexArray') |
| 4711 @DocsEditable() |
| 4712 @Experimental() // untriaged |
| 4713 void deleteVertexArray(VertexArrayObject vertexArray) native; |
| 4714 |
| 4715 @DomName('WebGL2RenderingContext.drawArraysInstanced') |
| 4716 @DocsEditable() |
| 4717 @Experimental() // untriaged |
| 4718 void drawArraysInstanced(int mode, int first, int count, int instanceCount) na
tive; |
| 4719 |
| 4720 @DomName('WebGL2RenderingContext.drawBuffers') |
| 4721 @DocsEditable() |
| 4722 @Experimental() // untriaged |
| 4723 void drawBuffers(List<int> buffers) native; |
| 4724 |
| 4725 @DomName('WebGL2RenderingContext.drawElementsInstanced') |
| 4726 @DocsEditable() |
| 4727 @Experimental() // untriaged |
| 4728 void drawElementsInstanced(int mode, int count, int type, int offset, int inst
anceCount) native; |
| 4729 |
| 4730 @DomName('WebGL2RenderingContext.drawRangeElements') |
| 4731 @DocsEditable() |
| 4732 @Experimental() // untriaged |
| 4733 void drawRangeElements(int mode, int start, int end, int count, int type, int
offset) native; |
| 4734 |
| 4735 @DomName('WebGL2RenderingContext.endQuery') |
| 4736 @DocsEditable() |
| 4737 @Experimental() // untriaged |
| 4738 void endQuery(int target) native; |
| 4739 |
| 4740 @DomName('WebGL2RenderingContext.endTransformFeedback') |
| 4741 @DocsEditable() |
| 4742 @Experimental() // untriaged |
| 4743 void endTransformFeedback() native; |
| 4744 |
| 4745 @DomName('WebGL2RenderingContext.fenceSync') |
| 4746 @DocsEditable() |
| 4747 @Experimental() // untriaged |
| 4748 Sync fenceSync(int condition, int flags) native; |
| 4749 |
| 4750 @DomName('WebGL2RenderingContext.framebufferTextureLayer') |
| 4751 @DocsEditable() |
| 4752 @Experimental() // untriaged |
| 4753 void framebufferTextureLayer(int target, int attachment, Texture texture, int
level, int layer) native; |
| 4754 |
| 4755 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') |
| 4756 @DocsEditable() |
| 4757 @Experimental() // untriaged |
| 4758 String getActiveUniformBlockName(Program program, int uniformBlockIndex) nativ
e; |
| 4759 |
| 4760 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') |
| 4761 @DocsEditable() |
| 4762 @Experimental() // untriaged |
| 4763 Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex,
int pname) native; |
| 4764 |
| 4765 @DomName('WebGL2RenderingContext.getActiveUniforms') |
| 4766 @DocsEditable() |
| 4767 @Experimental() // untriaged |
| 4768 List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pna
me) native; |
| 4769 |
| 4770 @DomName('WebGL2RenderingContext.getBufferSubData') |
| 4771 @DocsEditable() |
| 4772 @Experimental() // untriaged |
| 4773 void getBufferSubData(int target, int offset, ByteBuffer returnedData) native; |
| 4774 |
| 4775 @DomName('WebGL2RenderingContext.getFragDataLocation') |
| 4776 @DocsEditable() |
| 4777 @Experimental() // untriaged |
| 4778 int getFragDataLocation(Program program, String name) native; |
| 4779 |
| 4780 @DomName('WebGL2RenderingContext.getIndexedParameter') |
| 4781 @DocsEditable() |
| 4782 @Experimental() // untriaged |
| 4783 Object getIndexedParameter(int target, int index) native; |
| 4784 |
| 4785 @DomName('WebGL2RenderingContext.getInternalformatParameter') |
| 4786 @DocsEditable() |
| 4787 @Experimental() // untriaged |
| 4788 Object getInternalformatParameter(int target, int internalformat, int pname) n
ative; |
| 4789 |
| 4790 @DomName('WebGL2RenderingContext.getQuery') |
| 4791 @DocsEditable() |
| 4792 @Experimental() // untriaged |
| 4793 Query getQuery(int target, int pname) native; |
| 4794 |
| 4795 @DomName('WebGL2RenderingContext.getQueryParameter') |
| 4796 @DocsEditable() |
| 4797 @Experimental() // untriaged |
| 4798 Object getQueryParameter(Query query, int pname) native; |
| 4799 |
| 4800 @DomName('WebGL2RenderingContext.getSamplerParameter') |
| 4801 @DocsEditable() |
| 4802 @Experimental() // untriaged |
| 4803 Object getSamplerParameter(Sampler sampler, int pname) native; |
| 4804 |
| 4805 @DomName('WebGL2RenderingContext.getSyncParameter') |
| 4806 @DocsEditable() |
| 4807 @Experimental() // untriaged |
| 4808 Object getSyncParameter(Sync sync, int pname) native; |
| 4809 |
| 4810 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') |
| 4811 @DocsEditable() |
| 4812 @Experimental() // untriaged |
| 4813 ActiveInfo getTransformFeedbackVarying(Program program, int index) native; |
| 4814 |
| 4815 @DomName('WebGL2RenderingContext.getUniformBlockIndex') |
| 4816 @DocsEditable() |
| 4817 @Experimental() // untriaged |
| 4818 int getUniformBlockIndex(Program program, String uniformBlockName) native; |
| 4819 |
| 4820 @DomName('WebGL2RenderingContext.getUniformIndices') |
| 4821 @DocsEditable() |
| 4822 @Experimental() // untriaged |
| 4823 List<int> getUniformIndices(Program program, List<String> uniformNames) { |
| 4824 List uniformNames_1 = convertDartToNative_StringArray(uniformNames); |
| 4825 return _getUniformIndices_1(program, uniformNames_1); |
| 4826 } |
| 4827 @JSName('getUniformIndices') |
| 4828 @DomName('WebGL2RenderingContext.getUniformIndices') |
| 4829 @DocsEditable() |
| 4830 @Experimental() // untriaged |
| 4831 List<int> _getUniformIndices_1(Program program, List uniformNames) native; |
| 4832 |
| 4833 @DomName('WebGL2RenderingContext.invalidateFramebuffer') |
| 4834 @DocsEditable() |
| 4835 @Experimental() // untriaged |
| 4836 void invalidateFramebuffer(int target, List<int> attachments) native; |
| 4837 |
| 4838 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') |
| 4839 @DocsEditable() |
| 4840 @Experimental() // untriaged |
| 4841 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y,
int width, int height) native; |
| 4842 |
| 4843 @DomName('WebGL2RenderingContext.isQuery') |
| 4844 @DocsEditable() |
| 4845 @Experimental() // untriaged |
| 4846 bool isQuery(Query query) native; |
| 4847 |
| 4848 @DomName('WebGL2RenderingContext.isSampler') |
| 4849 @DocsEditable() |
| 4850 @Experimental() // untriaged |
| 4851 bool isSampler(Sampler sampler) native; |
| 4852 |
| 4853 @DomName('WebGL2RenderingContext.isSync') |
| 4854 @DocsEditable() |
| 4855 @Experimental() // untriaged |
| 4856 bool isSync(Sync sync) native; |
| 4857 |
| 4858 @DomName('WebGL2RenderingContext.isTransformFeedback') |
| 4859 @DocsEditable() |
| 4860 @Experimental() // untriaged |
| 4861 bool isTransformFeedback(TransformFeedback feedback) native; |
| 4862 |
| 4863 @DomName('WebGL2RenderingContext.isVertexArray') |
| 4864 @DocsEditable() |
| 4865 @Experimental() // untriaged |
| 4866 bool isVertexArray(VertexArrayObject vertexArray) native; |
| 4867 |
| 4868 @DomName('WebGL2RenderingContext.pauseTransformFeedback') |
| 4869 @DocsEditable() |
| 4870 @Experimental() // untriaged |
| 4871 void pauseTransformFeedback() native; |
| 4872 |
| 4873 @DomName('WebGL2RenderingContext.readBuffer') |
| 4874 @DocsEditable() |
| 4875 @Experimental() // untriaged |
| 4876 void readBuffer(int mode) native; |
| 4877 |
| 4878 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') |
| 4879 @DocsEditable() |
| 4880 @Experimental() // untriaged |
| 4881 void renderbufferStorageMultisample(int target, int samples, int internalforma
t, int width, int height) native; |
| 4882 |
| 4883 @DomName('WebGL2RenderingContext.resumeTransformFeedback') |
| 4884 @DocsEditable() |
| 4885 @Experimental() // untriaged |
| 4886 void resumeTransformFeedback() native; |
| 4887 |
| 4888 @DomName('WebGL2RenderingContext.samplerParameterf') |
| 4889 @DocsEditable() |
| 4890 @Experimental() // untriaged |
| 4891 void samplerParameterf(Sampler sampler, int pname, num param) native; |
| 4892 |
| 4893 @DomName('WebGL2RenderingContext.samplerParameteri') |
| 4894 @DocsEditable() |
| 4895 @Experimental() // untriaged |
| 4896 void samplerParameteri(Sampler sampler, int pname, int param) native; |
| 4897 |
| 4898 @DomName('WebGL2RenderingContext.texImage3D') |
| 4899 @DocsEditable() |
| 4900 @Experimental() // untriaged |
| 4901 void texImage3D(int target, int level, int internalformat, int width, int heig
ht, int depth, int border, int format, int type, TypedData pixels) native; |
| 4902 |
| 4903 @DomName('WebGL2RenderingContext.texStorage2D') |
| 4904 @DocsEditable() |
| 4905 @Experimental() // untriaged |
| 4906 void texStorage2D(int target, int levels, int internalformat, int width, int h
eight) native; |
| 4907 |
| 4908 @DomName('WebGL2RenderingContext.texStorage3D') |
| 4909 @DocsEditable() |
| 4910 @Experimental() // untriaged |
| 4911 void texStorage3D(int target, int levels, int internalformat, int width, int h
eight, int depth) native; |
| 4912 |
| 4913 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 4914 @DocsEditable() |
| 4915 @Experimental() // untriaged |
| 4916 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffse
t, int format_OR_width, int height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_
video, [int format, int type, TypedData pixels]) { |
| 4917 if (pixels != null && type != null && format != null && (canvas_OR_data_OR_d
epth_OR_image_OR_video is int)) { |
| 4918 _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video, format, type, pixel
s); |
| 4919 return; |
| 4920 } |
| 4921 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || canvas_OR_dat
a_OR_depth_OR_image_OR_video == null) && format == null && type == null && pixel
s == null) { |
| 4922 var data_1 = convertDartToNative_ImageData(canvas_OR_data_OR_depth_OR_imag
e_OR_video); |
| 4923 _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, data_1); |
| 4924 return; |
| 4925 } |
| 4926 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || canvas_OR_
data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pi
xels == null) { |
| 4927 _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video); |
| 4928 return; |
| 4929 } |
| 4930 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || canvas_OR
_data_OR_depth_OR_image_OR_video == null) && format == null && type == null && p
ixels == null) { |
| 4931 _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video); |
| 4932 return; |
| 4933 } |
| 4934 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || canvas_OR_
data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pi
xels == null) { |
| 4935 _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video); |
| 4936 return; |
| 4937 } |
| 4938 throw new ArgumentError("Incorrect number or type of arguments"); |
| 4939 } |
| 4940 @JSName('texSubImage3D') |
| 4941 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 4942 @DocsEditable() |
| 4943 @Experimental() // untriaged |
| 4944 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height,
int depth, format, type, TypedData pixels) native; |
| 4945 @JSName('texSubImage3D') |
| 4946 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 4947 @DocsEditable() |
| 4948 @Experimental() // untriaged |
| 4949 void _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, format, type,
data) native; |
| 4950 @JSName('texSubImage3D') |
| 4951 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 4952 @DocsEditable() |
| 4953 @Experimental() // untriaged |
| 4954 void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type,
ImageElement image) native; |
| 4955 @JSName('texSubImage3D') |
| 4956 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 4957 @DocsEditable() |
| 4958 @Experimental() // untriaged |
| 4959 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type,
CanvasElement canvas) native; |
| 4960 @JSName('texSubImage3D') |
| 4961 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 4962 @DocsEditable() |
| 4963 @Experimental() // untriaged |
| 4964 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type,
VideoElement video) native; |
| 4965 |
| 4966 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
| 4967 @DocsEditable() |
| 4968 @Experimental() // untriaged |
| 4969 void transformFeedbackVaryings(Program program, List<String> varyings, int buf
ferMode) { |
| 4970 List varyings_1 = convertDartToNative_StringArray(varyings); |
| 4971 _transformFeedbackVaryings_1(program, varyings_1, bufferMode); |
| 4972 return; |
| 4973 } |
| 4974 @JSName('transformFeedbackVaryings') |
| 4975 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
| 4976 @DocsEditable() |
| 4977 @Experimental() // untriaged |
| 4978 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode)
native; |
| 4979 |
| 4980 @DomName('WebGL2RenderingContext.uniform1ui') |
| 4981 @DocsEditable() |
| 4982 @Experimental() // untriaged |
| 4983 void uniform1ui(UniformLocation location, int v0) native; |
| 4984 |
| 4985 @DomName('WebGL2RenderingContext.uniform1uiv') |
| 4986 @DocsEditable() |
| 4987 @Experimental() // untriaged |
| 4988 void uniform1uiv(UniformLocation location, List<int> value) native; |
| 4989 |
| 4990 @DomName('WebGL2RenderingContext.uniform2ui') |
| 4991 @DocsEditable() |
| 4992 @Experimental() // untriaged |
| 4993 void uniform2ui(UniformLocation location, int v0, int v1) native; |
| 4994 |
| 4995 @DomName('WebGL2RenderingContext.uniform2uiv') |
| 4996 @DocsEditable() |
| 4997 @Experimental() // untriaged |
| 4998 void uniform2uiv(UniformLocation location, List<int> value) native; |
| 4999 |
| 5000 @DomName('WebGL2RenderingContext.uniform3ui') |
| 5001 @DocsEditable() |
| 5002 @Experimental() // untriaged |
| 5003 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native; |
| 5004 |
| 5005 @DomName('WebGL2RenderingContext.uniform3uiv') |
| 5006 @DocsEditable() |
| 5007 @Experimental() // untriaged |
| 5008 void uniform3uiv(UniformLocation location, List<int> value) native; |
| 5009 |
| 5010 @DomName('WebGL2RenderingContext.uniform4ui') |
| 5011 @DocsEditable() |
| 5012 @Experimental() // untriaged |
| 5013 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) nati
ve; |
| 5014 |
| 5015 @DomName('WebGL2RenderingContext.uniform4uiv') |
| 5016 @DocsEditable() |
| 5017 @Experimental() // untriaged |
| 5018 void uniform4uiv(UniformLocation location, List<int> value) native; |
| 5019 |
| 5020 @DomName('WebGL2RenderingContext.uniformBlockBinding') |
| 5021 @DocsEditable() |
| 5022 @Experimental() // untriaged |
| 5023 void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBl
ockBinding) native; |
| 5024 |
| 5025 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') |
| 5026 @DocsEditable() |
| 5027 @Experimental() // untriaged |
| 5028 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) nativ
e; |
| 5029 |
| 5030 @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') |
| 5031 @DocsEditable() |
| 5032 @Experimental() // untriaged |
| 5033 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) nativ
e; |
| 5034 |
| 5035 @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') |
| 5036 @DocsEditable() |
| 5037 @Experimental() // untriaged |
| 5038 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) nativ
e; |
| 5039 |
| 5040 @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') |
| 5041 @DocsEditable() |
| 5042 @Experimental() // untriaged |
| 5043 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) nativ
e; |
| 5044 |
| 5045 @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') |
| 5046 @DocsEditable() |
| 5047 @Experimental() // untriaged |
| 5048 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) nativ
e; |
| 5049 |
| 5050 @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') |
| 5051 @DocsEditable() |
| 5052 @Experimental() // untriaged |
| 5053 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) nativ
e; |
| 5054 |
| 5055 @DomName('WebGL2RenderingContext.vertexAttribDivisor') |
| 5056 @DocsEditable() |
| 5057 @Experimental() // untriaged |
| 5058 void vertexAttribDivisor(int index, int divisor) native; |
| 5059 |
| 5060 @DomName('WebGL2RenderingContext.vertexAttribI4i') |
| 5061 @DocsEditable() |
| 5062 @Experimental() // untriaged |
| 5063 void vertexAttribI4i(int index, int x, int y, int z, int w) native; |
| 5064 |
| 5065 @DomName('WebGL2RenderingContext.vertexAttribI4iv') |
| 5066 @DocsEditable() |
| 5067 @Experimental() // untriaged |
| 5068 void vertexAttribI4iv(int index, List<int> v) native; |
| 5069 |
| 5070 @DomName('WebGL2RenderingContext.vertexAttribI4ui') |
| 5071 @DocsEditable() |
| 5072 @Experimental() // untriaged |
| 5073 void vertexAttribI4ui(int index, int x, int y, int z, int w) native; |
| 5074 |
| 5075 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') |
| 5076 @DocsEditable() |
| 5077 @Experimental() // untriaged |
| 5078 void vertexAttribI4uiv(int index, List<int> v) native; |
| 5079 |
| 5080 @DomName('WebGL2RenderingContext.vertexAttribIPointer') |
| 5081 @DocsEditable() |
| 5082 @Experimental() // untriaged |
| 5083 void vertexAttribIPointer(int index, int size, int type, int stride, int offse
t) native; |
| 5084 |
| 5085 @DomName('WebGL2RenderingContext.waitSync') |
| 5086 @DocsEditable() |
| 5087 @Experimental() // untriaged |
| 5088 void waitSync(Sync sync, int flags, int timeout) native; |
| 5089 |
| 5090 // From WebGLRenderingContextBase |
| 5091 |
| 5092 @DomName('WebGL2RenderingContext.canvas') |
| 5093 @DocsEditable() |
| 5094 @Experimental() // untriaged |
| 5095 final CanvasElement canvas; |
| 5096 |
| 5097 @DomName('WebGL2RenderingContext.drawingBufferHeight') |
| 5098 @DocsEditable() |
| 5099 @Experimental() // untriaged |
| 5100 final int drawingBufferHeight; |
| 5101 |
| 5102 @DomName('WebGL2RenderingContext.drawingBufferWidth') |
| 5103 @DocsEditable() |
| 5104 @Experimental() // untriaged |
| 5105 final int drawingBufferWidth; |
| 5106 |
| 5107 @DomName('WebGL2RenderingContext.activeTexture') |
| 5108 @DocsEditable() |
| 5109 @Experimental() // untriaged |
| 5110 void activeTexture(int texture) native; |
| 5111 |
| 5112 @DomName('WebGL2RenderingContext.attachShader') |
| 5113 @DocsEditable() |
| 5114 @Experimental() // untriaged |
| 5115 void attachShader(Program program, Shader shader) native; |
| 5116 |
| 5117 @DomName('WebGL2RenderingContext.bindAttribLocation') |
| 5118 @DocsEditable() |
| 5119 @Experimental() // untriaged |
| 5120 void bindAttribLocation(Program program, int index, String name) native; |
| 5121 |
| 5122 @DomName('WebGL2RenderingContext.bindBuffer') |
| 5123 @DocsEditable() |
| 5124 @Experimental() // untriaged |
| 5125 void bindBuffer(int target, Buffer buffer) native; |
| 5126 |
| 5127 @DomName('WebGL2RenderingContext.bindFramebuffer') |
| 5128 @DocsEditable() |
| 5129 @Experimental() // untriaged |
| 5130 void bindFramebuffer(int target, Framebuffer framebuffer) native; |
| 5131 |
| 5132 @DomName('WebGL2RenderingContext.bindRenderbuffer') |
| 5133 @DocsEditable() |
| 5134 @Experimental() // untriaged |
| 5135 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; |
| 5136 |
| 5137 @DomName('WebGL2RenderingContext.bindTexture') |
| 5138 @DocsEditable() |
| 5139 @Experimental() // untriaged |
| 5140 void bindTexture(int target, Texture texture) native; |
| 5141 |
| 5142 @DomName('WebGL2RenderingContext.blendColor') |
| 5143 @DocsEditable() |
| 5144 @Experimental() // untriaged |
| 5145 void blendColor(num red, num green, num blue, num alpha) native; |
| 5146 |
| 5147 @DomName('WebGL2RenderingContext.blendEquation') |
| 5148 @DocsEditable() |
| 5149 @Experimental() // untriaged |
| 5150 void blendEquation(int mode) native; |
| 5151 |
| 5152 @DomName('WebGL2RenderingContext.blendEquationSeparate') |
| 5153 @DocsEditable() |
| 5154 @Experimental() // untriaged |
| 5155 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
| 5156 |
| 5157 @DomName('WebGL2RenderingContext.blendFunc') |
| 5158 @DocsEditable() |
| 5159 @Experimental() // untriaged |
| 5160 void blendFunc(int sfactor, int dfactor) native; |
| 5161 |
| 5162 @DomName('WebGL2RenderingContext.blendFuncSeparate') |
| 5163 @DocsEditable() |
| 5164 @Experimental() // untriaged |
| 5165 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; |
| 5166 |
| 5167 @DomName('WebGL2RenderingContext.bufferData') |
| 5168 @DocsEditable() |
| 5169 @Experimental() // untriaged |
| 5170 void bufferData(int target, data_OR_size, int usage) native; |
| 5171 |
| 5172 @DomName('WebGL2RenderingContext.bufferSubData') |
| 5173 @DocsEditable() |
| 5174 @Experimental() // untriaged |
| 5175 void bufferSubData(int target, int offset, data) native; |
| 5176 |
| 5177 @DomName('WebGL2RenderingContext.checkFramebufferStatus') |
| 5178 @DocsEditable() |
| 5179 @Experimental() // untriaged |
| 5180 int checkFramebufferStatus(int target) native; |
| 5181 |
| 5182 @DomName('WebGL2RenderingContext.clear') |
| 5183 @DocsEditable() |
| 5184 @Experimental() // untriaged |
| 5185 void clear(int mask) native; |
| 5186 |
| 5187 @DomName('WebGL2RenderingContext.clearColor') |
| 5188 @DocsEditable() |
| 5189 @Experimental() // untriaged |
| 5190 void clearColor(num red, num green, num blue, num alpha) native; |
| 5191 |
| 5192 @DomName('WebGL2RenderingContext.clearDepth') |
| 5193 @DocsEditable() |
| 5194 @Experimental() // untriaged |
| 5195 void clearDepth(num depth) native; |
| 5196 |
| 5197 @DomName('WebGL2RenderingContext.clearStencil') |
| 5198 @DocsEditable() |
| 5199 @Experimental() // untriaged |
| 5200 void clearStencil(int s) native; |
| 5201 |
| 5202 @DomName('WebGL2RenderingContext.colorMask') |
| 5203 @DocsEditable() |
| 5204 @Experimental() // untriaged |
| 5205 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
| 5206 |
| 5207 @DomName('WebGL2RenderingContext.compileShader') |
| 5208 @DocsEditable() |
| 5209 @Experimental() // untriaged |
| 5210 void compileShader(Shader shader) native; |
| 5211 |
| 5212 @DomName('WebGL2RenderingContext.compressedTexImage2D') |
| 5213 @DocsEditable() |
| 5214 @Experimental() // untriaged |
| 5215 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) native; |
| 5216 |
| 5217 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') |
| 5218 @DocsEditable() |
| 5219 @Experimental() // untriaged |
| 5220 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) native; |
| 5221 |
| 5222 @DomName('WebGL2RenderingContext.copyTexImage2D') |
| 5223 @DocsEditable() |
| 5224 @Experimental() // untriaged |
| 5225 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; |
| 5226 |
| 5227 @DomName('WebGL2RenderingContext.copyTexSubImage2D') |
| 5228 @DocsEditable() |
| 5229 @Experimental() // untriaged |
| 5230 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; |
| 5231 |
| 5232 @DomName('WebGL2RenderingContext.createBuffer') |
| 5233 @DocsEditable() |
| 5234 @Experimental() // untriaged |
| 5235 Buffer createBuffer() native; |
| 5236 |
| 5237 @DomName('WebGL2RenderingContext.createFramebuffer') |
| 5238 @DocsEditable() |
| 5239 @Experimental() // untriaged |
| 5240 Framebuffer createFramebuffer() native; |
| 5241 |
| 5242 @DomName('WebGL2RenderingContext.createProgram') |
| 5243 @DocsEditable() |
| 5244 @Experimental() // untriaged |
| 5245 Program createProgram() native; |
| 5246 |
| 5247 @DomName('WebGL2RenderingContext.createRenderbuffer') |
| 5248 @DocsEditable() |
| 5249 @Experimental() // untriaged |
| 5250 Renderbuffer createRenderbuffer() native; |
| 5251 |
| 5252 @DomName('WebGL2RenderingContext.createShader') |
| 5253 @DocsEditable() |
| 5254 @Experimental() // untriaged |
| 5255 Shader createShader(int type) native; |
| 5256 |
| 5257 @DomName('WebGL2RenderingContext.createTexture') |
| 5258 @DocsEditable() |
| 5259 @Experimental() // untriaged |
| 5260 Texture createTexture() native; |
| 5261 |
| 5262 @DomName('WebGL2RenderingContext.cullFace') |
| 5263 @DocsEditable() |
| 5264 @Experimental() // untriaged |
| 5265 void cullFace(int mode) native; |
| 5266 |
| 5267 @DomName('WebGL2RenderingContext.deleteBuffer') |
| 5268 @DocsEditable() |
| 5269 @Experimental() // untriaged |
| 5270 void deleteBuffer(Buffer buffer) native; |
| 5271 |
| 5272 @DomName('WebGL2RenderingContext.deleteFramebuffer') |
| 5273 @DocsEditable() |
| 5274 @Experimental() // untriaged |
| 5275 void deleteFramebuffer(Framebuffer framebuffer) native; |
| 5276 |
| 5277 @DomName('WebGL2RenderingContext.deleteProgram') |
| 5278 @DocsEditable() |
| 5279 @Experimental() // untriaged |
| 5280 void deleteProgram(Program program) native; |
| 5281 |
| 5282 @DomName('WebGL2RenderingContext.deleteRenderbuffer') |
| 5283 @DocsEditable() |
| 5284 @Experimental() // untriaged |
| 5285 void deleteRenderbuffer(Renderbuffer renderbuffer) native; |
| 5286 |
| 5287 @DomName('WebGL2RenderingContext.deleteShader') |
| 5288 @DocsEditable() |
| 5289 @Experimental() // untriaged |
| 5290 void deleteShader(Shader shader) native; |
| 5291 |
| 5292 @DomName('WebGL2RenderingContext.deleteTexture') |
| 5293 @DocsEditable() |
| 5294 @Experimental() // untriaged |
| 5295 void deleteTexture(Texture texture) native; |
| 5296 |
| 5297 @DomName('WebGL2RenderingContext.depthFunc') |
| 5298 @DocsEditable() |
| 5299 @Experimental() // untriaged |
| 5300 void depthFunc(int func) native; |
| 5301 |
| 5302 @DomName('WebGL2RenderingContext.depthMask') |
| 5303 @DocsEditable() |
| 5304 @Experimental() // untriaged |
| 5305 void depthMask(bool flag) native; |
| 5306 |
| 5307 @DomName('WebGL2RenderingContext.depthRange') |
| 5308 @DocsEditable() |
| 5309 @Experimental() // untriaged |
| 5310 void depthRange(num zNear, num zFar) native; |
| 5311 |
| 5312 @DomName('WebGL2RenderingContext.detachShader') |
| 5313 @DocsEditable() |
| 5314 @Experimental() // untriaged |
| 5315 void detachShader(Program program, Shader shader) native; |
| 5316 |
| 5317 @DomName('WebGL2RenderingContext.disable') |
| 5318 @DocsEditable() |
| 5319 @Experimental() // untriaged |
| 5320 void disable(int cap) native; |
| 5321 |
| 5322 @DomName('WebGL2RenderingContext.disableVertexAttribArray') |
| 5323 @DocsEditable() |
| 5324 @Experimental() // untriaged |
| 5325 void disableVertexAttribArray(int index) native; |
| 5326 |
| 5327 @DomName('WebGL2RenderingContext.drawArrays') |
| 5328 @DocsEditable() |
| 5329 @Experimental() // untriaged |
| 5330 void drawArrays(int mode, int first, int count) native; |
| 5331 |
| 5332 @DomName('WebGL2RenderingContext.drawElements') |
| 5333 @DocsEditable() |
| 5334 @Experimental() // untriaged |
| 5335 void drawElements(int mode, int count, int type, int offset) native; |
| 5336 |
| 5337 @DomName('WebGL2RenderingContext.enable') |
| 5338 @DocsEditable() |
| 5339 @Experimental() // untriaged |
| 5340 void enable(int cap) native; |
| 5341 |
| 5342 @DomName('WebGL2RenderingContext.enableVertexAttribArray') |
| 5343 @DocsEditable() |
| 5344 @Experimental() // untriaged |
| 5345 void enableVertexAttribArray(int index) native; |
| 5346 |
| 5347 @DomName('WebGL2RenderingContext.finish') |
| 5348 @DocsEditable() |
| 5349 @Experimental() // untriaged |
| 5350 void finish() native; |
| 5351 |
| 5352 @DomName('WebGL2RenderingContext.flush') |
| 5353 @DocsEditable() |
| 5354 @Experimental() // untriaged |
| 5355 void flush() native; |
| 5356 |
| 5357 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') |
| 5358 @DocsEditable() |
| 5359 @Experimental() // untriaged |
| 5360 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) native; |
| 5361 |
| 5362 @DomName('WebGL2RenderingContext.framebufferTexture2D') |
| 5363 @DocsEditable() |
| 5364 @Experimental() // untriaged |
| 5365 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) native; |
| 5366 |
| 5367 @DomName('WebGL2RenderingContext.frontFace') |
| 5368 @DocsEditable() |
| 5369 @Experimental() // untriaged |
| 5370 void frontFace(int mode) native; |
| 5371 |
| 5372 @DomName('WebGL2RenderingContext.generateMipmap') |
| 5373 @DocsEditable() |
| 5374 @Experimental() // untriaged |
| 5375 void generateMipmap(int target) native; |
| 5376 |
| 5377 @DomName('WebGL2RenderingContext.getActiveAttrib') |
| 5378 @DocsEditable() |
| 5379 @Experimental() // untriaged |
| 5380 ActiveInfo getActiveAttrib(Program program, int index) native; |
| 5381 |
| 5382 @DomName('WebGL2RenderingContext.getActiveUniform') |
| 5383 @DocsEditable() |
| 5384 @Experimental() // untriaged |
| 5385 ActiveInfo getActiveUniform(Program program, int index) native; |
| 5386 |
| 5387 @DomName('WebGL2RenderingContext.getAttachedShaders') |
| 5388 @DocsEditable() |
| 5389 @Experimental() // untriaged |
| 5390 List<Shader> getAttachedShaders(Program program) native; |
| 5391 |
| 5392 @DomName('WebGL2RenderingContext.getAttribLocation') |
| 5393 @DocsEditable() |
| 5394 @Experimental() // untriaged |
| 5395 int getAttribLocation(Program program, String name) native; |
| 5396 |
| 5397 @DomName('WebGL2RenderingContext.getBufferParameter') |
| 5398 @DocsEditable() |
| 5399 @Experimental() // untriaged |
| 5400 Object getBufferParameter(int target, int pname) native; |
| 5401 |
| 5402 @DomName('WebGL2RenderingContext.getContextAttributes') |
| 5403 @DocsEditable() |
| 5404 @Experimental() // untriaged |
| 5405 Map getContextAttributes() { |
| 5406 return convertNativeToDart_Dictionary(_getContextAttributes_1()); |
| 5407 } |
| 5408 @JSName('getContextAttributes') |
| 5409 @DomName('WebGL2RenderingContext.getContextAttributes') |
| 5410 @DocsEditable() |
| 5411 @Experimental() // untriaged |
| 5412 _getContextAttributes_1() native; |
| 5413 |
| 5414 @DomName('WebGL2RenderingContext.getError') |
| 5415 @DocsEditable() |
| 5416 @Experimental() // untriaged |
| 5417 int getError() native; |
| 5418 |
| 5419 @DomName('WebGL2RenderingContext.getExtension') |
| 5420 @DocsEditable() |
| 5421 @Experimental() // untriaged |
| 5422 Object getExtension(String name) native; |
| 5423 |
| 5424 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') |
| 5425 @DocsEditable() |
| 5426 @Experimental() // untriaged |
| 5427 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; |
| 5428 |
| 5429 @DomName('WebGL2RenderingContext.getParameter') |
| 5430 @DocsEditable() |
| 5431 @Experimental() // untriaged |
| 5432 Object getParameter(int pname) native; |
| 5433 |
| 5434 @DomName('WebGL2RenderingContext.getProgramInfoLog') |
| 5435 @DocsEditable() |
| 5436 @Experimental() // untriaged |
| 5437 String getProgramInfoLog(Program program) native; |
| 5438 |
| 5439 @DomName('WebGL2RenderingContext.getProgramParameter') |
| 5440 @DocsEditable() |
| 5441 @Experimental() // untriaged |
| 5442 Object getProgramParameter(Program program, int pname) native; |
| 5443 |
| 5444 @DomName('WebGL2RenderingContext.getRenderbufferParameter') |
| 5445 @DocsEditable() |
| 5446 @Experimental() // untriaged |
| 5447 Object getRenderbufferParameter(int target, int pname) native; |
| 5448 |
| 5449 @DomName('WebGL2RenderingContext.getShaderInfoLog') |
| 5450 @DocsEditable() |
| 5451 @Experimental() // untriaged |
| 5452 String getShaderInfoLog(Shader shader) native; |
| 5453 |
| 5454 @DomName('WebGL2RenderingContext.getShaderParameter') |
| 5455 @DocsEditable() |
| 5456 @Experimental() // untriaged |
| 5457 Object getShaderParameter(Shader shader, int pname) native; |
| 5458 |
| 5459 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') |
| 5460 @DocsEditable() |
| 5461 @Experimental() // untriaged |
| 5462 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) native; |
| 5463 |
| 5464 @DomName('WebGL2RenderingContext.getShaderSource') |
| 5465 @DocsEditable() |
| 5466 @Experimental() // untriaged |
| 5467 String getShaderSource(Shader shader) native; |
| 5468 |
| 5469 @DomName('WebGL2RenderingContext.getSupportedExtensions') |
| 5470 @DocsEditable() |
| 5471 @Experimental() // untriaged |
| 5472 List<String> getSupportedExtensions() native; |
| 5473 |
| 5474 @DomName('WebGL2RenderingContext.getTexParameter') |
| 5475 @DocsEditable() |
| 5476 @Experimental() // untriaged |
| 5477 Object getTexParameter(int target, int pname) native; |
| 5478 |
| 5479 @DomName('WebGL2RenderingContext.getUniform') |
| 5480 @DocsEditable() |
| 5481 @Experimental() // untriaged |
| 5482 Object getUniform(Program program, UniformLocation location) native; |
| 5483 |
| 5484 @DomName('WebGL2RenderingContext.getUniformLocation') |
| 5485 @DocsEditable() |
| 5486 @Experimental() // untriaged |
| 5487 UniformLocation getUniformLocation(Program program, String name) native; |
| 5488 |
| 5489 @DomName('WebGL2RenderingContext.getVertexAttrib') |
| 5490 @DocsEditable() |
| 5491 @Experimental() // untriaged |
| 5492 Object getVertexAttrib(int index, int pname) native; |
| 5493 |
| 5494 @DomName('WebGL2RenderingContext.getVertexAttribOffset') |
| 5495 @DocsEditable() |
| 5496 @Experimental() // untriaged |
| 5497 int getVertexAttribOffset(int index, int pname) native; |
| 5498 |
| 5499 @DomName('WebGL2RenderingContext.hint') |
| 5500 @DocsEditable() |
| 5501 @Experimental() // untriaged |
| 5502 void hint(int target, int mode) native; |
| 5503 |
| 5504 @DomName('WebGL2RenderingContext.isBuffer') |
| 5505 @DocsEditable() |
| 5506 @Experimental() // untriaged |
| 5507 bool isBuffer(Buffer buffer) native; |
| 5508 |
| 5509 @DomName('WebGL2RenderingContext.isContextLost') |
| 5510 @DocsEditable() |
| 5511 @Experimental() // untriaged |
| 5512 bool isContextLost() native; |
| 5513 |
| 5514 @DomName('WebGL2RenderingContext.isEnabled') |
| 5515 @DocsEditable() |
| 5516 @Experimental() // untriaged |
| 5517 bool isEnabled(int cap) native; |
| 5518 |
| 5519 @DomName('WebGL2RenderingContext.isFramebuffer') |
| 5520 @DocsEditable() |
| 5521 @Experimental() // untriaged |
| 5522 bool isFramebuffer(Framebuffer framebuffer) native; |
| 5523 |
| 5524 @DomName('WebGL2RenderingContext.isProgram') |
| 5525 @DocsEditable() |
| 5526 @Experimental() // untriaged |
| 5527 bool isProgram(Program program) native; |
| 5528 |
| 5529 @DomName('WebGL2RenderingContext.isRenderbuffer') |
| 5530 @DocsEditable() |
| 5531 @Experimental() // untriaged |
| 5532 bool isRenderbuffer(Renderbuffer renderbuffer) native; |
| 5533 |
| 5534 @DomName('WebGL2RenderingContext.isShader') |
| 5535 @DocsEditable() |
| 5536 @Experimental() // untriaged |
| 5537 bool isShader(Shader shader) native; |
| 5538 |
| 5539 @DomName('WebGL2RenderingContext.isTexture') |
| 5540 @DocsEditable() |
| 5541 @Experimental() // untriaged |
| 5542 bool isTexture(Texture texture) native; |
| 5543 |
| 5544 @DomName('WebGL2RenderingContext.lineWidth') |
| 5545 @DocsEditable() |
| 5546 @Experimental() // untriaged |
| 5547 void lineWidth(num width) native; |
| 5548 |
| 5549 @DomName('WebGL2RenderingContext.linkProgram') |
| 5550 @DocsEditable() |
| 5551 @Experimental() // untriaged |
| 5552 void linkProgram(Program program) native; |
| 5553 |
| 5554 @DomName('WebGL2RenderingContext.pixelStorei') |
| 5555 @DocsEditable() |
| 5556 @Experimental() // untriaged |
| 5557 void pixelStorei(int pname, int param) native; |
| 5558 |
| 5559 @DomName('WebGL2RenderingContext.polygonOffset') |
| 5560 @DocsEditable() |
| 5561 @Experimental() // untriaged |
| 5562 void polygonOffset(num factor, num units) native; |
| 5563 |
| 5564 @DomName('WebGL2RenderingContext.readPixels') |
| 5565 @DocsEditable() |
| 5566 @Experimental() // untriaged |
| 5567 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native; |
| 5568 |
| 5569 @DomName('WebGL2RenderingContext.renderbufferStorage') |
| 5570 @DocsEditable() |
| 5571 @Experimental() // untriaged |
| 5572 void renderbufferStorage(int target, int internalformat, int width, int height
) native; |
| 5573 |
| 5574 @DomName('WebGL2RenderingContext.sampleCoverage') |
| 5575 @DocsEditable() |
| 5576 @Experimental() // untriaged |
| 5577 void sampleCoverage(num value, bool invert) native; |
| 5578 |
| 5579 @DomName('WebGL2RenderingContext.scissor') |
| 5580 @DocsEditable() |
| 5581 @Experimental() // untriaged |
| 5582 void scissor(int x, int y, int width, int height) native; |
| 5583 |
| 5584 @DomName('WebGL2RenderingContext.shaderSource') |
| 5585 @DocsEditable() |
| 5586 @Experimental() // untriaged |
| 5587 void shaderSource(Shader shader, String string) native; |
| 5588 |
| 5589 @DomName('WebGL2RenderingContext.stencilFunc') |
| 5590 @DocsEditable() |
| 5591 @Experimental() // untriaged |
| 5592 void stencilFunc(int func, int ref, int mask) native; |
| 5593 |
| 5594 @DomName('WebGL2RenderingContext.stencilFuncSeparate') |
| 5595 @DocsEditable() |
| 5596 @Experimental() // untriaged |
| 5597 void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
| 5598 |
| 5599 @DomName('WebGL2RenderingContext.stencilMask') |
| 5600 @DocsEditable() |
| 5601 @Experimental() // untriaged |
| 5602 void stencilMask(int mask) native; |
| 5603 |
| 5604 @DomName('WebGL2RenderingContext.stencilMaskSeparate') |
| 5605 @DocsEditable() |
| 5606 @Experimental() // untriaged |
| 5607 void stencilMaskSeparate(int face, int mask) native; |
| 5608 |
| 5609 @DomName('WebGL2RenderingContext.stencilOp') |
| 5610 @DocsEditable() |
| 5611 @Experimental() // untriaged |
| 5612 void stencilOp(int fail, int zfail, int zpass) native; |
| 5613 |
| 5614 @DomName('WebGL2RenderingContext.stencilOpSeparate') |
| 5615 @DocsEditable() |
| 5616 @Experimental() // untriaged |
| 5617 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
| 5618 |
| 5619 @DomName('WebGL2RenderingContext.texImage2D') |
| 5620 @DocsEditable() |
| 5621 @Experimental() // untriaged |
| 5622 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, TypedData pixels]) { |
| 5623 if (pixels != null && type != null && format != null && (border_OR_canvas_OR
_image_OR_pixels_OR_video is int)) { |
| 5624 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); |
| 5625 return; |
| 5626 } |
| 5627 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null &&
pixels == null) { |
| 5628 var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_
pixels_OR_video); |
| 5629 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, pixels_1); |
| 5630 return; |
| 5631 } |
| 5632 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && format
== null && type == null && pixels == null) { |
| 5633 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 5634 return; |
| 5635 } |
| 5636 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && forma
t == null && type == null && pixels == null) { |
| 5637 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 5638 return; |
| 5639 } |
| 5640 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && format
== null && type == null && pixels == null) { |
| 5641 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 5642 return; |
| 5643 } |
| 5644 throw new ArgumentError("Incorrect number or type of arguments"); |
| 5645 } |
| 5646 @JSName('texImage2D') |
| 5647 @DomName('WebGL2RenderingContext.texImage2D') |
| 5648 @DocsEditable() |
| 5649 @Experimental() // untriaged |
| 5650 void _texImage2D_1(target, level, internalformat, width, height, int border, f
ormat, type, TypedData pixels) native; |
| 5651 @JSName('texImage2D') |
| 5652 @DomName('WebGL2RenderingContext.texImage2D') |
| 5653 @DocsEditable() |
| 5654 @Experimental() // untriaged |
| 5655 void _texImage2D_2(target, level, internalformat, format, type, pixels) native
; |
| 5656 @JSName('texImage2D') |
| 5657 @DomName('WebGL2RenderingContext.texImage2D') |
| 5658 @DocsEditable() |
| 5659 @Experimental() // untriaged |
| 5660 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i
mage) native; |
| 5661 @JSName('texImage2D') |
| 5662 @DomName('WebGL2RenderingContext.texImage2D') |
| 5663 @DocsEditable() |
| 5664 @Experimental() // untriaged |
| 5665 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; |
| 5666 @JSName('texImage2D') |
| 5667 @DomName('WebGL2RenderingContext.texImage2D') |
| 5668 @DocsEditable() |
| 5669 @Experimental() // untriaged |
| 5670 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; |
| 5671 |
| 5672 @DomName('WebGL2RenderingContext.texParameterf') |
| 5673 @DocsEditable() |
| 5674 @Experimental() // untriaged |
| 5675 void texParameterf(int target, int pname, num param) native; |
| 5676 |
| 5677 @DomName('WebGL2RenderingContext.texParameteri') |
| 5678 @DocsEditable() |
| 5679 @Experimental() // untriaged |
| 5680 void texParameteri(int target, int pname, int param) native; |
| 5681 |
| 5682 @DomName('WebGL2RenderingContext.texSubImage2D') |
| 5683 @DocsEditable() |
| 5684 @Experimental() // untriaged |
| 5685 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { |
| 5686 if (pixels != null && type != null && (canvas_OR_format_OR_image_OR_pixels_O
R_video is int)) { |
| 5687 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
| 5688 return; |
| 5689 } |
| 5690 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) { |
| 5691 var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_
pixels_OR_video); |
| 5692 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, pixels_1); |
| 5693 return; |
| 5694 } |
| 5695 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && type =
= null && pixels == null) { |
| 5696 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 5697 return; |
| 5698 } |
| 5699 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && type
== null && pixels == null) { |
| 5700 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 5701 return; |
| 5702 } |
| 5703 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && type =
= null && pixels == null) { |
| 5704 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 5705 return; |
| 5706 } |
| 5707 throw new ArgumentError("Incorrect number or type of arguments"); |
| 5708 } |
| 5709 @JSName('texSubImage2D') |
| 5710 @DomName('WebGL2RenderingContext.texSubImage2D') |
| 5711 @DocsEditable() |
| 5712 @Experimental() // untriaged |
| 5713 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form
at, type, TypedData pixels) native; |
| 5714 @JSName('texSubImage2D') |
| 5715 @DomName('WebGL2RenderingContext.texSubImage2D') |
| 5716 @DocsEditable() |
| 5717 @Experimental() // untriaged |
| 5718 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n
ative; |
| 5719 @JSName('texSubImage2D') |
| 5720 @DomName('WebGL2RenderingContext.texSubImage2D') |
| 5721 @DocsEditable() |
| 5722 @Experimental() // untriaged |
| 5723 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem
ent image) native; |
| 5724 @JSName('texSubImage2D') |
| 5725 @DomName('WebGL2RenderingContext.texSubImage2D') |
| 5726 @DocsEditable() |
| 5727 @Experimental() // untriaged |
| 5728 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; |
| 5729 @JSName('texSubImage2D') |
| 5730 @DomName('WebGL2RenderingContext.texSubImage2D') |
| 5731 @DocsEditable() |
| 5732 @Experimental() // untriaged |
| 5733 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; |
| 5734 |
| 5735 @DomName('WebGL2RenderingContext.uniform1f') |
| 5736 @DocsEditable() |
| 5737 @Experimental() // untriaged |
| 5738 void uniform1f(UniformLocation location, num x) native; |
| 5739 |
| 5740 @DomName('WebGL2RenderingContext.uniform1fv') |
| 5741 @DocsEditable() |
| 5742 @Experimental() // untriaged |
| 5743 void uniform1fv(UniformLocation location, v) native; |
| 5744 |
| 5745 @DomName('WebGL2RenderingContext.uniform1i') |
| 5746 @DocsEditable() |
| 5747 @Experimental() // untriaged |
| 5748 void uniform1i(UniformLocation location, int x) native; |
| 5749 |
| 5750 @DomName('WebGL2RenderingContext.uniform1iv') |
| 5751 @DocsEditable() |
| 5752 @Experimental() // untriaged |
| 5753 void uniform1iv(UniformLocation location, v) native; |
| 5754 |
| 5755 @DomName('WebGL2RenderingContext.uniform2f') |
| 5756 @DocsEditable() |
| 5757 @Experimental() // untriaged |
| 5758 void uniform2f(UniformLocation location, num x, num y) native; |
| 5759 |
| 5760 @DomName('WebGL2RenderingContext.uniform2fv') |
| 5761 @DocsEditable() |
| 5762 @Experimental() // untriaged |
| 5763 void uniform2fv(UniformLocation location, v) native; |
| 5764 |
| 5765 @DomName('WebGL2RenderingContext.uniform2i') |
| 5766 @DocsEditable() |
| 5767 @Experimental() // untriaged |
| 5768 void uniform2i(UniformLocation location, int x, int y) native; |
| 5769 |
| 5770 @DomName('WebGL2RenderingContext.uniform2iv') |
| 5771 @DocsEditable() |
| 5772 @Experimental() // untriaged |
| 5773 void uniform2iv(UniformLocation location, v) native; |
| 5774 |
| 5775 @DomName('WebGL2RenderingContext.uniform3f') |
| 5776 @DocsEditable() |
| 5777 @Experimental() // untriaged |
| 5778 void uniform3f(UniformLocation location, num x, num y, num z) native; |
| 5779 |
| 5780 @DomName('WebGL2RenderingContext.uniform3fv') |
| 5781 @DocsEditable() |
| 5782 @Experimental() // untriaged |
| 5783 void uniform3fv(UniformLocation location, v) native; |
| 5784 |
| 5785 @DomName('WebGL2RenderingContext.uniform3i') |
| 5786 @DocsEditable() |
| 5787 @Experimental() // untriaged |
| 5788 void uniform3i(UniformLocation location, int x, int y, int z) native; |
| 5789 |
| 5790 @DomName('WebGL2RenderingContext.uniform3iv') |
| 5791 @DocsEditable() |
| 5792 @Experimental() // untriaged |
| 5793 void uniform3iv(UniformLocation location, v) native; |
| 5794 |
| 5795 @DomName('WebGL2RenderingContext.uniform4f') |
| 5796 @DocsEditable() |
| 5797 @Experimental() // untriaged |
| 5798 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; |
| 5799 |
| 5800 @DomName('WebGL2RenderingContext.uniform4fv') |
| 5801 @DocsEditable() |
| 5802 @Experimental() // untriaged |
| 5803 void uniform4fv(UniformLocation location, v) native; |
| 5804 |
| 5805 @DomName('WebGL2RenderingContext.uniform4i') |
| 5806 @DocsEditable() |
| 5807 @Experimental() // untriaged |
| 5808 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; |
| 5809 |
| 5810 @DomName('WebGL2RenderingContext.uniform4iv') |
| 5811 @DocsEditable() |
| 5812 @Experimental() // untriaged |
| 5813 void uniform4iv(UniformLocation location, v) native; |
| 5814 |
| 5815 @DomName('WebGL2RenderingContext.uniformMatrix2fv') |
| 5816 @DocsEditable() |
| 5817 @Experimental() // untriaged |
| 5818 void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; |
| 5819 |
| 5820 @DomName('WebGL2RenderingContext.uniformMatrix3fv') |
| 5821 @DocsEditable() |
| 5822 @Experimental() // untriaged |
| 5823 void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; |
| 5824 |
| 5825 @DomName('WebGL2RenderingContext.uniformMatrix4fv') |
| 5826 @DocsEditable() |
| 5827 @Experimental() // untriaged |
| 5828 void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; |
| 5829 |
| 5830 @DomName('WebGL2RenderingContext.useProgram') |
| 5831 @DocsEditable() |
| 5832 @Experimental() // untriaged |
| 5833 void useProgram(Program program) native; |
| 5834 |
| 5835 @DomName('WebGL2RenderingContext.validateProgram') |
| 5836 @DocsEditable() |
| 5837 @Experimental() // untriaged |
| 5838 void validateProgram(Program program) native; |
| 5839 |
| 5840 @DomName('WebGL2RenderingContext.vertexAttrib1f') |
| 5841 @DocsEditable() |
| 5842 @Experimental() // untriaged |
| 5843 void vertexAttrib1f(int indx, num x) native; |
| 5844 |
| 5845 @DomName('WebGL2RenderingContext.vertexAttrib1fv') |
| 5846 @DocsEditable() |
| 5847 @Experimental() // untriaged |
| 5848 void vertexAttrib1fv(int indx, values) native; |
| 5849 |
| 5850 @DomName('WebGL2RenderingContext.vertexAttrib2f') |
| 5851 @DocsEditable() |
| 5852 @Experimental() // untriaged |
| 5853 void vertexAttrib2f(int indx, num x, num y) native; |
| 5854 |
| 5855 @DomName('WebGL2RenderingContext.vertexAttrib2fv') |
| 5856 @DocsEditable() |
| 5857 @Experimental() // untriaged |
| 5858 void vertexAttrib2fv(int indx, values) native; |
| 5859 |
| 5860 @DomName('WebGL2RenderingContext.vertexAttrib3f') |
| 5861 @DocsEditable() |
| 5862 @Experimental() // untriaged |
| 5863 void vertexAttrib3f(int indx, num x, num y, num z) native; |
| 5864 |
| 5865 @DomName('WebGL2RenderingContext.vertexAttrib3fv') |
| 5866 @DocsEditable() |
| 5867 @Experimental() // untriaged |
| 5868 void vertexAttrib3fv(int indx, values) native; |
| 5869 |
| 5870 @DomName('WebGL2RenderingContext.vertexAttrib4f') |
| 5871 @DocsEditable() |
| 5872 @Experimental() // untriaged |
| 5873 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
| 5874 |
| 5875 @DomName('WebGL2RenderingContext.vertexAttrib4fv') |
| 5876 @DocsEditable() |
| 5877 @Experimental() // untriaged |
| 5878 void vertexAttrib4fv(int indx, values) native; |
| 5879 |
| 5880 @DomName('WebGL2RenderingContext.vertexAttribPointer') |
| 5881 @DocsEditable() |
| 5882 @Experimental() // untriaged |
| 5883 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
| 5884 |
| 5885 @DomName('WebGL2RenderingContext.viewport') |
| 5886 @DocsEditable() |
| 5887 @Experimental() // untriaged |
| 5888 void viewport(int x, int y, int width, int height) native; |
| 5889 } |
| 5890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5891 // for details. All rights reserved. Use of this source code is governed by a |
| 5892 // BSD-style license that can be found in the LICENSE file. |
| 5893 |
| 5894 |
| 5895 @DocsEditable() |
| 5896 @DomName('WebGLSampler') |
| 5897 @Experimental() // untriaged |
| 5898 @Native("WebGLSampler") |
| 5899 class Sampler extends Interceptor { |
| 5900 // To suppress missing implicit constructor warnings. |
| 5901 factory Sampler._() { throw new UnsupportedError("Not supported"); } |
| 5902 } |
| 5903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5904 // for details. All rights reserved. Use of this source code is governed by a |
| 5905 // BSD-style license that can be found in the LICENSE file. |
| 5906 |
| 5907 |
| 5908 @DocsEditable() |
3279 @DomName('WebGLShader') | 5909 @DomName('WebGLShader') |
3280 @Native("WebGLShader") | 5910 @Native("WebGLShader") |
3281 class Shader extends Interceptor { | 5911 class Shader extends Interceptor { |
3282 // To suppress missing implicit constructor warnings. | 5912 // To suppress missing implicit constructor warnings. |
3283 factory Shader._() { throw new UnsupportedError("Not supported"); } | 5913 factory Shader._() { throw new UnsupportedError("Not supported"); } |
3284 } | 5914 } |
3285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3286 // for details. All rights reserved. Use of this source code is governed by a | 5916 // for details. All rights reserved. Use of this source code is governed by a |
3287 // BSD-style license that can be found in the LICENSE file. | 5917 // BSD-style license that can be found in the LICENSE file. |
3288 | 5918 |
(...skipping 16 matching lines...) Expand all Loading... |
3305 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 5935 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
3306 @DocsEditable() | 5936 @DocsEditable() |
3307 final int rangeMin; | 5937 final int rangeMin; |
3308 } | 5938 } |
3309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3310 // for details. All rights reserved. Use of this source code is governed by a | 5940 // for details. All rights reserved. Use of this source code is governed by a |
3311 // BSD-style license that can be found in the LICENSE file. | 5941 // BSD-style license that can be found in the LICENSE file. |
3312 | 5942 |
3313 | 5943 |
3314 @DocsEditable() | 5944 @DocsEditable() |
| 5945 @DomName('WebGLSync') |
| 5946 @Experimental() // untriaged |
| 5947 @Native("WebGLSync") |
| 5948 class Sync extends Interceptor { |
| 5949 // To suppress missing implicit constructor warnings. |
| 5950 factory Sync._() { throw new UnsupportedError("Not supported"); } |
| 5951 } |
| 5952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5953 // for details. All rights reserved. Use of this source code is governed by a |
| 5954 // BSD-style license that can be found in the LICENSE file. |
| 5955 |
| 5956 |
| 5957 @DocsEditable() |
3315 @DomName('WebGLTexture') | 5958 @DomName('WebGLTexture') |
3316 @Native("WebGLTexture") | 5959 @Native("WebGLTexture") |
3317 class Texture extends Interceptor { | 5960 class Texture extends Interceptor { |
3318 // To suppress missing implicit constructor warnings. | 5961 // To suppress missing implicit constructor warnings. |
3319 factory Texture._() { throw new UnsupportedError("Not supported"); } | 5962 factory Texture._() { throw new UnsupportedError("Not supported"); } |
3320 } | 5963 } |
3321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3322 // for details. All rights reserved. Use of this source code is governed by a | 5965 // for details. All rights reserved. Use of this source code is governed by a |
3323 // BSD-style license that can be found in the LICENSE file. | 5966 // BSD-style license that can be found in the LICENSE file. |
3324 | 5967 |
3325 | 5968 |
3326 @DocsEditable() | 5969 @DocsEditable() |
| 5970 @DomName('WebGLTransformFeedback') |
| 5971 @Experimental() // untriaged |
| 5972 @Native("WebGLTransformFeedback") |
| 5973 class TransformFeedback extends Interceptor { |
| 5974 // To suppress missing implicit constructor warnings. |
| 5975 factory TransformFeedback._() { throw new UnsupportedError("Not supported"); } |
| 5976 } |
| 5977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5978 // for details. All rights reserved. Use of this source code is governed by a |
| 5979 // BSD-style license that can be found in the LICENSE file. |
| 5980 |
| 5981 |
| 5982 @DocsEditable() |
3327 @DomName('WebGLUniformLocation') | 5983 @DomName('WebGLUniformLocation') |
3328 @Native("WebGLUniformLocation") | 5984 @Native("WebGLUniformLocation") |
3329 class UniformLocation extends Interceptor { | 5985 class UniformLocation extends Interceptor { |
3330 // To suppress missing implicit constructor warnings. | 5986 // To suppress missing implicit constructor warnings. |
3331 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } | 5987 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } |
3332 } | 5988 } |
3333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3334 // for details. All rights reserved. Use of this source code is governed by a | 5990 // for details. All rights reserved. Use of this source code is governed by a |
3335 // BSD-style license that can be found in the LICENSE file. | 5991 // BSD-style license that can be found in the LICENSE file. |
3336 | 5992 |
3337 | 5993 |
3338 @DocsEditable() | 5994 @DocsEditable() |
| 5995 @DomName('WebGLVertexArrayObject') |
| 5996 @Experimental() // untriaged |
| 5997 @Native("WebGLVertexArrayObject") |
| 5998 class VertexArrayObject extends Interceptor { |
| 5999 // To suppress missing implicit constructor warnings. |
| 6000 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 6001 } |
| 6002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6003 // for details. All rights reserved. Use of this source code is governed by a |
| 6004 // BSD-style license that can be found in the LICENSE file. |
| 6005 |
| 6006 |
| 6007 @DocsEditable() |
3339 @DomName('WebGLVertexArrayObjectOES') | 6008 @DomName('WebGLVertexArrayObjectOES') |
3340 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 6009 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
3341 @Experimental() // experimental | 6010 @Experimental() // experimental |
3342 @Native("WebGLVertexArrayObjectOES") | 6011 @Native("WebGLVertexArrayObjectOES") |
3343 class VertexArrayObject extends Interceptor { | 6012 class VertexArrayObjectOes extends Interceptor { |
3344 // To suppress missing implicit constructor warnings. | 6013 // To suppress missing implicit constructor warnings. |
3345 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 6014 factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported")
; } |
3346 } | 6015 } |
3347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3348 // for details. All rights reserved. Use of this source code is governed by a | 6017 // for details. All rights reserved. Use of this source code is governed by a |
| 6018 // BSD-style license that can be found in the LICENSE file. |
| 6019 |
| 6020 |
| 6021 @DocsEditable() |
| 6022 @DomName('WebGL2RenderingContextBase') |
| 6023 @Experimental() // untriaged |
| 6024 @Native("WebGL2RenderingContextBase") |
| 6025 abstract class _WebGL2RenderingContextBase extends Interceptor implements _WebGL
RenderingContextBase { |
| 6026 // To suppress missing implicit constructor warnings. |
| 6027 factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supp
orted"); } |
| 6028 |
| 6029 // From WebGLRenderingContextBase |
| 6030 } |
| 6031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6032 // for details. All rights reserved. Use of this source code is governed by a |
3349 // BSD-style license that can be found in the LICENSE file. | 6033 // BSD-style license that can be found in the LICENSE file. |
3350 | 6034 |
3351 | 6035 |
3352 @DocsEditable() | 6036 @DocsEditable() |
3353 @DomName('WebGLRenderingContextBase') | 6037 @DomName('WebGLRenderingContextBase') |
3354 @Experimental() // untriaged | 6038 @Experimental() // untriaged |
3355 abstract class _WebGLRenderingContextBase extends Interceptor { | 6039 abstract class _WebGLRenderingContextBase extends Interceptor { |
3356 // To suppress missing implicit constructor warnings. | 6040 // To suppress missing implicit constructor warnings. |
3357 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 6041 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
3358 } | 6042 } |
OLD | NEW |