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