OLD | NEW |
1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:_internal' hide deprecated; | 5 import 'dart:_internal' hide deprecated; |
6 import 'dart:html'; | 6 import 'dart:html'; |
7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 import 'dart:_blink' as _blink; | 10 import 'dart:_blink' as _blink; |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 | 364 |
365 @DocsEditable() | 365 @DocsEditable() |
366 @DomName('WebGLActiveInfo') | 366 @DomName('WebGLActiveInfo') |
367 @Unstable() | 367 @Unstable() |
368 class ActiveInfo extends NativeFieldWrapperClass2 { | 368 class ActiveInfo extends NativeFieldWrapperClass2 { |
369 // To suppress missing implicit constructor warnings. | 369 // To suppress missing implicit constructor warnings. |
370 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } | 370 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } |
371 | 371 |
372 @DomName('WebGLActiveInfo.name') | 372 @DomName('WebGLActiveInfo.name') |
373 @DocsEditable() | 373 @DocsEditable() |
374 String get name => _blink.BlinkWebGLActiveInfo.name_Getter(this); | 374 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(this); |
375 | 375 |
376 @DomName('WebGLActiveInfo.size') | 376 @DomName('WebGLActiveInfo.size') |
377 @DocsEditable() | 377 @DocsEditable() |
378 int get size => _blink.BlinkWebGLActiveInfo.size_Getter(this); | 378 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(this); |
379 | 379 |
380 @DomName('WebGLActiveInfo.type') | 380 @DomName('WebGLActiveInfo.type') |
381 @DocsEditable() | 381 @DocsEditable() |
382 int get type => _blink.BlinkWebGLActiveInfo.type_Getter(this); | 382 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(this); |
383 | 383 |
384 } | 384 } |
385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
386 // for details. All rights reserved. Use of this source code is governed by a | 386 // for details. All rights reserved. Use of this source code is governed by a |
387 // BSD-style license that can be found in the LICENSE file. | 387 // BSD-style license that can be found in the LICENSE file. |
388 | 388 |
389 // WARNING: Do not edit - generated code. | 389 // WARNING: Do not edit - generated code. |
390 | 390 |
391 | 391 |
392 @DocsEditable() | 392 @DocsEditable() |
393 @DomName('ANGLEInstancedArrays') | 393 @DomName('ANGLEInstancedArrays') |
394 @Experimental() // untriaged | 394 @Experimental() // untriaged |
395 class AngleInstancedArrays extends NativeFieldWrapperClass2 { | 395 class AngleInstancedArrays extends NativeFieldWrapperClass2 { |
396 // To suppress missing implicit constructor warnings. | 396 // To suppress missing implicit constructor warnings. |
397 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } | 397 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } |
398 | 398 |
399 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 399 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
400 @DocsEditable() | 400 @DocsEditable() |
401 @Experimental() // untriaged | 401 @Experimental() // untriaged |
402 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 402 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
403 | 403 |
404 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 404 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
405 @DocsEditable() | 405 @DocsEditable() |
406 @Experimental() // untriaged | 406 @Experimental() // untriaged |
407 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.BlinkANGLEInstancedArrays.drawArraysInstancedANGLE_Callback_4(this, mod
e, first, count, primcount); | 407 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_
(this, mode, first, count, primcount); |
408 | 408 |
409 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') | 409 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') |
410 @DocsEditable() | 410 @DocsEditable() |
411 @Experimental() // untriaged | 411 @Experimental() // untriaged |
412 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int
primcount) => _blink.BlinkANGLEInstancedArrays.drawElementsInstancedANGLE_Callb
ack_5(this, mode, count, type, offset, primcount); | 412 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int
primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawElementsInstancedAN
GLE_Callback_5_(this, mode, count, type, offset, primcount); |
413 | 413 |
414 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') | 414 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') |
415 @DocsEditable() | 415 @DocsEditable() |
416 @Experimental() // untriaged | 416 @Experimental() // untriaged |
417 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst
ancedArrays.vertexAttribDivisorANGLE_Callback_2(this, index, divisor); | 417 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst
ancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(this, index, divisor); |
418 | 418 |
419 } | 419 } |
420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
421 // for details. All rights reserved. Use of this source code is governed by a | 421 // for details. All rights reserved. Use of this source code is governed by a |
422 // BSD-style license that can be found in the LICENSE file. | 422 // BSD-style license that can be found in the LICENSE file. |
423 | 423 |
424 // WARNING: Do not edit - generated code. | 424 // WARNING: Do not edit - generated code. |
425 | 425 |
426 | 426 |
427 @DocsEditable() | 427 @DocsEditable() |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 * bits. | 575 * bits. |
576 */ | 576 */ |
577 @DomName('WebGLContextAttributes') | 577 @DomName('WebGLContextAttributes') |
578 @Unstable() | 578 @Unstable() |
579 class ContextAttributes extends NativeFieldWrapperClass2 { | 579 class ContextAttributes extends NativeFieldWrapperClass2 { |
580 // To suppress missing implicit constructor warnings. | 580 // To suppress missing implicit constructor warnings. |
581 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } | 581 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } |
582 | 582 |
583 @DomName('WebGLContextAttributes.alpha') | 583 @DomName('WebGLContextAttributes.alpha') |
584 @DocsEditable() | 584 @DocsEditable() |
585 bool get alpha => _blink.BlinkWebGLContextAttributes.alpha_Getter(this); | 585 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(th
is); |
586 | 586 |
587 @DomName('WebGLContextAttributes.alpha') | 587 @DomName('WebGLContextAttributes.alpha') |
588 @DocsEditable() | 588 @DocsEditable() |
589 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.alpha_Setter(
this, value); | 589 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph
a_Setter_(this, value); |
590 | 590 |
591 @DomName('WebGLContextAttributes.antialias') | 591 @DomName('WebGLContextAttributes.antialias') |
592 @DocsEditable() | 592 @DocsEditable() |
593 bool get antialias => _blink.BlinkWebGLContextAttributes.antialias_Getter(this
); | 593 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge
tter_(this); |
594 | 594 |
595 @DomName('WebGLContextAttributes.antialias') | 595 @DomName('WebGLContextAttributes.antialias') |
596 @DocsEditable() | 596 @DocsEditable() |
597 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.antialias
_Setter(this, value); | 597 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance.
antialias_Setter_(this, value); |
598 | 598 |
599 @DomName('WebGLContextAttributes.depth') | 599 @DomName('WebGLContextAttributes.depth') |
600 @DocsEditable() | 600 @DocsEditable() |
601 bool get depth => _blink.BlinkWebGLContextAttributes.depth_Getter(this); | 601 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(th
is); |
602 | 602 |
603 @DomName('WebGLContextAttributes.depth') | 603 @DomName('WebGLContextAttributes.depth') |
604 @DocsEditable() | 604 @DocsEditable() |
605 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.depth_Setter(
this, value); | 605 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.dept
h_Setter_(this, value); |
606 | 606 |
607 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | 607 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
608 @DocsEditable() | 608 @DocsEditable() |
609 @Experimental() // untriaged | 609 @Experimental() // untriaged |
610 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.fa
ilIfMajorPerformanceCaveat_Getter(this); | 610 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in
stance.failIfMajorPerformanceCaveat_Getter_(this); |
611 | 611 |
612 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | 612 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
613 @DocsEditable() | 613 @DocsEditable() |
614 @Experimental() // untriaged | 614 @Experimental() // untriaged |
615 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA
ttributes.failIfMajorPerformanceCaveat_Setter(this, value); | 615 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA
ttributes.instance.failIfMajorPerformanceCaveat_Setter_(this, value); |
616 | 616 |
617 @DomName('WebGLContextAttributes.premultipliedAlpha') | 617 @DomName('WebGLContextAttributes.premultipliedAlpha') |
618 @DocsEditable() | 618 @DocsEditable() |
619 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.premultiplie
dAlpha_Getter(this); | 619 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre
multipliedAlpha_Getter_(this); |
620 | 620 |
621 @DomName('WebGLContextAttributes.premultipliedAlpha') | 621 @DomName('WebGLContextAttributes.premultipliedAlpha') |
622 @DocsEditable() | 622 @DocsEditable() |
623 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes.
premultipliedAlpha_Setter(this, value); | 623 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes.
instance.premultipliedAlpha_Setter_(this, value); |
624 | 624 |
625 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 625 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
626 @DocsEditable() | 626 @DocsEditable() |
627 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.preserveD
rawingBuffer_Getter(this); | 627 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance.
preserveDrawingBuffer_Getter_(this); |
628 | 628 |
629 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 629 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
630 @DocsEditable() | 630 @DocsEditable() |
631 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut
es.preserveDrawingBuffer_Setter(this, value); | 631 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut
es.instance.preserveDrawingBuffer_Setter_(this, value); |
632 | 632 |
633 @DomName('WebGLContextAttributes.stencil') | 633 @DomName('WebGLContextAttributes.stencil') |
634 @DocsEditable() | 634 @DocsEditable() |
635 bool get stencil => _blink.BlinkWebGLContextAttributes.stencil_Getter(this); | 635 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter
_(this); |
636 | 636 |
637 @DomName('WebGLContextAttributes.stencil') | 637 @DomName('WebGLContextAttributes.stencil') |
638 @DocsEditable() | 638 @DocsEditable() |
639 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.stencil_Set
ter(this, value); | 639 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.st
encil_Setter_(this, value); |
640 | 640 |
641 } | 641 } |
642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
643 // for details. All rights reserved. Use of this source code is governed by a | 643 // for details. All rights reserved. Use of this source code is governed by a |
644 // BSD-style license that can be found in the LICENSE file. | 644 // BSD-style license that can be found in the LICENSE file. |
645 | 645 |
646 // WARNING: Do not edit - generated code. | 646 // WARNING: Do not edit - generated code. |
647 | 647 |
648 | 648 |
649 @DocsEditable() | 649 @DocsEditable() |
650 @DomName('WebGLContextEvent') | 650 @DomName('WebGLContextEvent') |
651 @Unstable() | 651 @Unstable() |
652 class ContextEvent extends Event { | 652 class ContextEvent extends Event { |
653 // To suppress missing implicit constructor warnings. | 653 // To suppress missing implicit constructor warnings. |
654 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 654 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
655 | 655 |
656 @DomName('WebGLContextEvent.statusMessage') | 656 @DomName('WebGLContextEvent.statusMessage') |
657 @DocsEditable() | 657 @DocsEditable() |
658 String get statusMessage => _blink.BlinkWebGLContextEvent.statusMessage_Getter
(this); | 658 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa
ge_Getter_(this); |
659 | 659 |
660 } | 660 } |
661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
662 // for details. All rights reserved. Use of this source code is governed by a | 662 // for details. All rights reserved. Use of this source code is governed by a |
663 // BSD-style license that can be found in the LICENSE file. | 663 // BSD-style license that can be found in the LICENSE file. |
664 | 664 |
665 // WARNING: Do not edit - generated code. | 665 // WARNING: Do not edit - generated code. |
666 | 666 |
667 | 667 |
668 @DocsEditable() | 668 @DocsEditable() |
(...skipping 23 matching lines...) Expand all Loading... |
692 @DocsEditable() | 692 @DocsEditable() |
693 @DomName('WebGLDebugShaders') | 693 @DomName('WebGLDebugShaders') |
694 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | 694 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
695 @Experimental() // experimental | 695 @Experimental() // experimental |
696 class DebugShaders extends NativeFieldWrapperClass2 { | 696 class DebugShaders extends NativeFieldWrapperClass2 { |
697 // To suppress missing implicit constructor warnings. | 697 // To suppress missing implicit constructor warnings. |
698 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } | 698 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } |
699 | 699 |
700 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 700 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
701 @DocsEditable() | 701 @DocsEditable() |
702 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade
rs.getTranslatedShaderSource_Callback_1(this, shader); | 702 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade
rs.instance.getTranslatedShaderSource_Callback_1_(this, shader); |
703 | 703 |
704 } | 704 } |
705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
706 // for details. All rights reserved. Use of this source code is governed by a | 706 // for details. All rights reserved. Use of this source code is governed by a |
707 // BSD-style license that can be found in the LICENSE file. | 707 // BSD-style license that can be found in the LICENSE file. |
708 | 708 |
709 // WARNING: Do not edit - generated code. | 709 // WARNING: Do not edit - generated code. |
710 | 710 |
711 | 711 |
712 @DocsEditable() | 712 @DocsEditable() |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') | 868 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') |
869 @DocsEditable() | 869 @DocsEditable() |
870 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | 870 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; |
871 | 871 |
872 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | 872 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') |
873 @DocsEditable() | 873 @DocsEditable() |
874 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | 874 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; |
875 | 875 |
876 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | 876 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
877 @DocsEditable() | 877 @DocsEditable() |
878 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.drawB
uffersWEBGL_Callback_1(this, buffers); | 878 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.insta
nce.drawBuffersWEBGL_Callback_1_(this, buffers); |
879 | 879 |
880 } | 880 } |
881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
882 // for details. All rights reserved. Use of this source code is governed by a | 882 // for details. All rights reserved. Use of this source code is governed by a |
883 // BSD-style license that can be found in the LICENSE file. | 883 // BSD-style license that can be found in the LICENSE file. |
884 | 884 |
885 // WARNING: Do not edit - generated code. | 885 // WARNING: Do not edit - generated code. |
886 | 886 |
887 | 887 |
888 @DocsEditable() | 888 @DocsEditable() |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 @DocsEditable() | 983 @DocsEditable() |
984 @DomName('WebGLLoseContext') | 984 @DomName('WebGLLoseContext') |
985 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 985 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
986 @Experimental() | 986 @Experimental() |
987 class LoseContext extends NativeFieldWrapperClass2 { | 987 class LoseContext extends NativeFieldWrapperClass2 { |
988 // To suppress missing implicit constructor warnings. | 988 // To suppress missing implicit constructor warnings. |
989 factory LoseContext._() { throw new UnsupportedError("Not supported"); } | 989 factory LoseContext._() { throw new UnsupportedError("Not supported"); } |
990 | 990 |
991 @DomName('WebGLLoseContext.loseContext') | 991 @DomName('WebGLLoseContext.loseContext') |
992 @DocsEditable() | 992 @DocsEditable() |
993 void loseContext() => _blink.BlinkWebGLLoseContext.loseContext_Callback_0(this
); | 993 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba
ck_0_(this); |
994 | 994 |
995 @DomName('WebGLLoseContext.restoreContext') | 995 @DomName('WebGLLoseContext.restoreContext') |
996 @DocsEditable() | 996 @DocsEditable() |
997 void restoreContext() => _blink.BlinkWebGLLoseContext.restoreContext_Callback_
0(this); | 997 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_
Callback_0_(this); |
998 | 998 |
999 } | 999 } |
1000 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1000 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1001 // for details. All rights reserved. Use of this source code is governed by a | 1001 // for details. All rights reserved. Use of this source code is governed by a |
1002 // BSD-style license that can be found in the LICENSE file. | 1002 // BSD-style license that can be found in the LICENSE file. |
1003 | 1003 |
1004 // WARNING: Do not edit - generated code. | 1004 // WARNING: Do not edit - generated code. |
1005 | 1005 |
1006 | 1006 |
1007 @DocsEditable() | 1007 @DocsEditable() |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 class OesVertexArrayObject extends NativeFieldWrapperClass2 { | 1115 class OesVertexArrayObject extends NativeFieldWrapperClass2 { |
1116 // To suppress missing implicit constructor warnings. | 1116 // To suppress missing implicit constructor warnings. |
1117 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 1117 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } |
1118 | 1118 |
1119 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1119 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1120 @DocsEditable() | 1120 @DocsEditable() |
1121 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1121 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1122 | 1122 |
1123 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1123 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
1124 @DocsEditable() | 1124 @DocsEditable() |
1125 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.bindVertexArrayOES_Callback_1(this, arrayObject); | 1125 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(this, arrayObject); |
1126 | 1126 |
1127 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1127 @DomName('OESVertexArrayObject.createVertexArrayOES') |
1128 @DocsEditable() | 1128 @DocsEditable() |
1129 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.crea
teVertexArrayOES_Callback_0(this); | 1129 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.inst
ance.createVertexArrayOES_Callback_0_(this); |
1130 | 1130 |
1131 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1131 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
1132 @DocsEditable() | 1132 @DocsEditable() |
1133 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex
ArrayObject.deleteVertexArrayOES_Callback_1(this, arrayObject); | 1133 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex
ArrayObject.instance.deleteVertexArrayOES_Callback_1_(this, arrayObject); |
1134 | 1134 |
1135 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1135 @DomName('OESVertexArrayObject.isVertexArrayOES') |
1136 @DocsEditable() | 1136 @DocsEditable() |
1137 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra
yObject.isVertexArrayOES_Callback_1(this, arrayObject); | 1137 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra
yObject.instance.isVertexArrayOES_Callback_1_(this, arrayObject); |
1138 | 1138 |
1139 } | 1139 } |
1140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1141 // for details. All rights reserved. Use of this source code is governed by a | 1141 // for details. All rights reserved. Use of this source code is governed by a |
1142 // BSD-style license that can be found in the LICENSE file. | 1142 // BSD-style license that can be found in the LICENSE file. |
1143 | 1143 |
1144 // WARNING: Do not edit - generated code. | 1144 // WARNING: Do not edit - generated code. |
1145 | 1145 |
1146 | 1146 |
1147 @DocsEditable() | 1147 @DocsEditable() |
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2370 @DocsEditable() | 2370 @DocsEditable() |
2371 static const int VIEWPORT = 0x0BA2; | 2371 static const int VIEWPORT = 0x0BA2; |
2372 | 2372 |
2373 @DomName('WebGLRenderingContext.ZERO') | 2373 @DomName('WebGLRenderingContext.ZERO') |
2374 @DocsEditable() | 2374 @DocsEditable() |
2375 static const int ZERO = 0; | 2375 static const int ZERO = 0; |
2376 | 2376 |
2377 @DomName('WebGLRenderingContext.canvas') | 2377 @DomName('WebGLRenderingContext.canvas') |
2378 @DocsEditable() | 2378 @DocsEditable() |
2379 @Experimental() // untriaged | 2379 @Experimental() // untriaged |
2380 CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.canvas_Getter(th
is); | 2380 CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.instance.canvas_
Getter_(this); |
2381 | 2381 |
2382 @DomName('WebGLRenderingContext.drawingBufferHeight') | 2382 @DomName('WebGLRenderingContext.drawingBufferHeight') |
2383 @DocsEditable() | 2383 @DocsEditable() |
2384 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.drawingBuffer
Height_Getter(this); | 2384 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.draw
ingBufferHeight_Getter_(this); |
2385 | 2385 |
2386 @DomName('WebGLRenderingContext.drawingBufferWidth') | 2386 @DomName('WebGLRenderingContext.drawingBufferWidth') |
2387 @DocsEditable() | 2387 @DocsEditable() |
2388 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.drawingBufferW
idth_Getter(this); | 2388 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawi
ngBufferWidth_Getter_(this); |
2389 | 2389 |
2390 @DomName('WebGLRenderingContext.activeTexture') | 2390 @DomName('WebGLRenderingContext.activeTexture') |
2391 @DocsEditable() | 2391 @DocsEditable() |
2392 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.activeTex
ture_Callback_1(this, texture); | 2392 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance.
activeTexture_Callback_1_(this, texture); |
2393 | 2393 |
2394 @DomName('WebGLRenderingContext.attachShader') | 2394 @DomName('WebGLRenderingContext.attachShader') |
2395 @DocsEditable() | 2395 @DocsEditable() |
2396 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.attachShader_Callback_2(this, program, shader); | 2396 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.instance.attachShader_Callback_2_(this, program, shader); |
2397 | 2397 |
2398 @DomName('WebGLRenderingContext.bindAttribLocation') | 2398 @DomName('WebGLRenderingContext.bindAttribLocation') |
2399 @DocsEditable() | 2399 @DocsEditable() |
2400 void bindAttribLocation(Program program, int index, String name) => _blink.Bli
nkWebGLRenderingContext.bindAttribLocation_Callback_3(this, program, index, name
); | 2400 void bindAttribLocation(Program program, int index, String name) => _blink.Bli
nkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(this, program, i
ndex, name); |
2401 | 2401 |
2402 @DomName('WebGLRenderingContext.bindBuffer') | 2402 @DomName('WebGLRenderingContext.bindBuffer') |
2403 @DocsEditable() | 2403 @DocsEditable() |
2404 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex
t.bindBuffer_Callback_2(this, target, buffer); | 2404 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex
t.instance.bindBuffer_Callback_2_(this, target, buffer); |
2405 | 2405 |
2406 @DomName('WebGLRenderingContext.bindFramebuffer') | 2406 @DomName('WebGLRenderingContext.bindFramebuffer') |
2407 @DocsEditable() | 2407 @DocsEditable() |
2408 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
RenderingContext.bindFramebuffer_Callback_2(this, target, framebuffer); | 2408 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
RenderingContext.instance.bindFramebuffer_Callback_2_(this, target, framebuffer)
; |
2409 | 2409 |
2410 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2410 @DomName('WebGLRenderingContext.bindRenderbuffer') |
2411 @DocsEditable() | 2411 @DocsEditable() |
2412 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGLRenderingContext.bindRenderbuffer_Callback_2(this, target, renderbuffer); | 2412 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(this, target, renderbu
ffer); |
2413 | 2413 |
2414 @DomName('WebGLRenderingContext.bindTexture') | 2414 @DomName('WebGLRenderingContext.bindTexture') |
2415 @DocsEditable() | 2415 @DocsEditable() |
2416 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon
text.bindTexture_Callback_2(this, target, texture); | 2416 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon
text.instance.bindTexture_Callback_2_(this, target, texture); |
2417 | 2417 |
2418 @DomName('WebGLRenderingContext.blendColor') | 2418 @DomName('WebGLRenderingContext.blendColor') |
2419 @DocsEditable() | 2419 @DocsEditable() |
2420 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.blendColor_Callback_4(this, red, green, blue, alpha); | 2420 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.instance.blendColor_Callback_4_(this, red, green, blue, alpha); |
2421 | 2421 |
2422 @DomName('WebGLRenderingContext.blendEquation') | 2422 @DomName('WebGLRenderingContext.blendEquation') |
2423 @DocsEditable() | 2423 @DocsEditable() |
2424 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.blendEquatio
n_Callback_1(this, mode); | 2424 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble
ndEquation_Callback_1_(this, mode); |
2425 | 2425 |
2426 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2426 @DomName('WebGLRenderingContext.blendEquationSeparate') |
2427 @DocsEditable() | 2427 @DocsEditable() |
2428 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.blendEquationSeparate_Callback_2(this, modeRGB, modeAlpha); | 2428 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.instance.blendEquationSeparate_Callback_2_(this, modeRGB, modeAlph
a); |
2429 | 2429 |
2430 @DomName('WebGLRenderingContext.blendFunc') | 2430 @DomName('WebGLRenderingContext.blendFunc') |
2431 @DocsEditable() | 2431 @DocsEditable() |
2432 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
blendFunc_Callback_2(this, sfactor, dfactor); | 2432 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
instance.blendFunc_Callback_2_(this, sfactor, dfactor); |
2433 | 2433 |
2434 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2434 @DomName('WebGLRenderingContext.blendFuncSeparate') |
2435 @DocsEditable() | 2435 @DocsEditable() |
2436 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.blendFuncSeparate_Callback_4(this, srcRGB, dst
RGB, srcAlpha, dstAlpha); | 2436 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(this, s
rcRGB, dstRGB, srcAlpha, dstAlpha); |
2437 | 2437 |
2438 @DomName('WebGLRenderingContext.bufferByteData') | 2438 @DomName('WebGLRenderingContext.bufferByteData') |
2439 @DocsEditable() | 2439 @DocsEditable() |
2440 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb
GLRenderingContext.bufferData_Callback_3(this, target, data, usage); | 2440 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb
GLRenderingContext.instance.bufferData_Callback_3_(this, target, data, usage); |
2441 | 2441 |
2442 void bufferData(int target, data_OR_size, int usage) { | 2442 void bufferData(int target, data_OR_size, int usage) { |
2443 if ((usage is int) && (data_OR_size is int) && (target is int)) { | 2443 if ((usage is int) && (data_OR_size is int) && (target is int)) { |
2444 _blink.BlinkWebGLRenderingContext.bufferData_Callback_3(this, target, data
_OR_size, usage); | 2444 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta
rget, data_OR_size, usage); |
2445 return; | 2445 return; |
2446 } | 2446 } |
2447 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { | 2447 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { |
2448 _blink.BlinkWebGLRenderingContext.bufferData_Callback_3(this, target, data
_OR_size, usage); | 2448 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta
rget, data_OR_size, usage); |
2449 return; | 2449 return; |
2450 } | 2450 } |
2451 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) &
& (target is int)) { | 2451 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) &
& (target is int)) { |
2452 _blink.BlinkWebGLRenderingContext.bufferData_Callback_3(this, target, data
_OR_size, usage); | 2452 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta
rget, data_OR_size, usage); |
2453 return; | 2453 return; |
2454 } | 2454 } |
2455 throw new ArgumentError("Incorrect number or type of arguments"); | 2455 throw new ArgumentError("Incorrect number or type of arguments"); |
2456 } | 2456 } |
2457 | 2457 |
2458 @DomName('WebGLRenderingContext.bufferDataTyped') | 2458 @DomName('WebGLRenderingContext.bufferDataTyped') |
2459 @DocsEditable() | 2459 @DocsEditable() |
2460 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb
GLRenderingContext.bufferData_Callback_3(this, target, data, usage); | 2460 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb
GLRenderingContext.instance.bufferData_Callback_3_(this, target, data, usage); |
2461 | 2461 |
2462 @DomName('WebGLRenderingContext.bufferSubByteData') | 2462 @DomName('WebGLRenderingContext.bufferSubByteData') |
2463 @DocsEditable() | 2463 @DocsEditable() |
2464 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin
kWebGLRenderingContext.bufferSubData_Callback_3(this, target, offset, data); | 2464 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin
kWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset,
data); |
2465 | 2465 |
2466 void bufferSubData(int target, int offset, data) { | 2466 void bufferSubData(int target, int offset, data) { |
2467 if ((data is TypedData) && (offset is int) && (target is int)) { | 2467 if ((data is TypedData) && (offset is int) && (target is int)) { |
2468 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_3(this, target, o
ffset, data); | 2468 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this,
target, offset, data); |
2469 return; | 2469 return; |
2470 } | 2470 } |
2471 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in
t)) { | 2471 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in
t)) { |
2472 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_3(this, target, o
ffset, data); | 2472 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this,
target, offset, data); |
2473 return; | 2473 return; |
2474 } | 2474 } |
2475 throw new ArgumentError("Incorrect number or type of arguments"); | 2475 throw new ArgumentError("Incorrect number or type of arguments"); |
2476 } | 2476 } |
2477 | 2477 |
2478 @DomName('WebGLRenderingContext.bufferSubDataTyped') | 2478 @DomName('WebGLRenderingContext.bufferSubDataTyped') |
2479 @DocsEditable() | 2479 @DocsEditable() |
2480 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin
kWebGLRenderingContext.bufferSubData_Callback_3(this, target, offset, data); | 2480 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin
kWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset,
data); |
2481 | 2481 |
2482 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2482 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
2483 @DocsEditable() | 2483 @DocsEditable() |
2484 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.ch
eckFramebufferStatus_Callback_1(this, target); | 2484 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in
stance.checkFramebufferStatus_Callback_1_(this, target); |
2485 | 2485 |
2486 @DomName('WebGLRenderingContext.clear') | 2486 @DomName('WebGLRenderingContext.clear') |
2487 @DocsEditable() | 2487 @DocsEditable() |
2488 void clear(int mask) => _blink.BlinkWebGLRenderingContext.clear_Callback_1(thi
s, mask); | 2488 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb
ack_1_(this, mask); |
2489 | 2489 |
2490 @DomName('WebGLRenderingContext.clearColor') | 2490 @DomName('WebGLRenderingContext.clearColor') |
2491 @DocsEditable() | 2491 @DocsEditable() |
2492 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.clearColor_Callback_4(this, red, green, blue, alpha); | 2492 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.instance.clearColor_Callback_4_(this, red, green, blue, alpha); |
2493 | 2493 |
2494 @DomName('WebGLRenderingContext.clearDepth') | 2494 @DomName('WebGLRenderingContext.clearDepth') |
2495 @DocsEditable() | 2495 @DocsEditable() |
2496 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.clearDepth_Cal
lback_1(this, depth); | 2496 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clear
Depth_Callback_1_(this, depth); |
2497 | 2497 |
2498 @DomName('WebGLRenderingContext.clearStencil') | 2498 @DomName('WebGLRenderingContext.clearStencil') |
2499 @DocsEditable() | 2499 @DocsEditable() |
2500 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.clearStencil_Cal
lback_1(this, s); | 2500 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearSt
encil_Callback_1_(this, s); |
2501 | 2501 |
2502 @DomName('WebGLRenderingContext.colorMask') | 2502 @DomName('WebGLRenderingContext.colorMask') |
2503 @DocsEditable() | 2503 @DocsEditable() |
2504 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb
GLRenderingContext.colorMask_Callback_4(this, red, green, blue, alpha); | 2504 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb
GLRenderingContext.instance.colorMask_Callback_4_(this, red, green, blue, alpha)
; |
2505 | 2505 |
2506 @DomName('WebGLRenderingContext.compileShader') | 2506 @DomName('WebGLRenderingContext.compileShader') |
2507 @DocsEditable() | 2507 @DocsEditable() |
2508 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.compile
Shader_Callback_1(this, shader); | 2508 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc
e.compileShader_Callback_1_(this, shader); |
2509 | 2509 |
2510 @DomName('WebGLRenderingContext.compressedTexImage2D') | 2510 @DomName('WebGLRenderingContext.compressedTexImage2D') |
2511 @DocsEditable() | 2511 @DocsEditable() |
2512 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.c
ompressedTexImage2D_Callback_7(this, target, level, internalformat, width, heigh
t, border, data); | 2512 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.i
nstance.compressedTexImage2D_Callback_7_(this, target, level, internalformat, wi
dth, height, border, data); |
2513 | 2513 |
2514 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | 2514 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
2515 @DocsEditable() | 2515 @DocsEditable() |
2516 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering
Context.compressedTexSubImage2D_Callback_8(this, target, level, xoffset, yoffset
, width, height, format, data); | 2516 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering
Context.instance.compressedTexSubImage2D_Callback_8_(this, target, level, xoffse
t, yoffset, width, height, format, data); |
2517 | 2517 |
2518 @DomName('WebGLRenderingContext.copyTexImage2D') | 2518 @DomName('WebGLRenderingContext.copyTexImage2D') |
2519 @DocsEditable() | 2519 @DocsEditable() |
2520 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.copyTexIm
age2D_Callback_8(this, target, level, internalformat, x, y, width, height, borde
r); | 2520 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance.
copyTexImage2D_Callback_8_(this, target, level, internalformat, x, y, width, hei
ght, border); |
2521 | 2521 |
2522 @DomName('WebGLRenderingContext.copyTexSubImage2D') | 2522 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
2523 @DocsEditable() | 2523 @DocsEditable() |
2524 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.BlinkWebGLRenderingContext.copyTexSubIm
age2D_Callback_8(this, target, level, xoffset, yoffset, x, y, width, height); | 2524 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.cop
yTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, x, y, width, h
eight); |
2525 | 2525 |
2526 @DomName('WebGLRenderingContext.createBuffer') | 2526 @DomName('WebGLRenderingContext.createBuffer') |
2527 @DocsEditable() | 2527 @DocsEditable() |
2528 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.createBuffer_Callba
ck_0(this); | 2528 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuff
er_Callback_0_(this); |
2529 | 2529 |
2530 @DomName('WebGLRenderingContext.createFramebuffer') | 2530 @DomName('WebGLRenderingContext.createFramebuffer') |
2531 @DocsEditable() | 2531 @DocsEditable() |
2532 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.createFra
mebuffer_Callback_0(this); | 2532 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance.
createFramebuffer_Callback_0_(this); |
2533 | 2533 |
2534 @DomName('WebGLRenderingContext.createProgram') | 2534 @DomName('WebGLRenderingContext.createProgram') |
2535 @DocsEditable() | 2535 @DocsEditable() |
2536 Program createProgram() => _blink.BlinkWebGLRenderingContext.createProgram_Cal
lback_0(this); | 2536 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createPr
ogram_Callback_0_(this); |
2537 | 2537 |
2538 @DomName('WebGLRenderingContext.createRenderbuffer') | 2538 @DomName('WebGLRenderingContext.createRenderbuffer') |
2539 @DocsEditable() | 2539 @DocsEditable() |
2540 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.createR
enderbuffer_Callback_0(this); | 2540 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instanc
e.createRenderbuffer_Callback_0_(this); |
2541 | 2541 |
2542 @DomName('WebGLRenderingContext.createShader') | 2542 @DomName('WebGLRenderingContext.createShader') |
2543 @DocsEditable() | 2543 @DocsEditable() |
2544 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.createShade
r_Callback_1(this, type); | 2544 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.cr
eateShader_Callback_1_(this, type); |
2545 | 2545 |
2546 @DomName('WebGLRenderingContext.createTexture') | 2546 @DomName('WebGLRenderingContext.createTexture') |
2547 @DocsEditable() | 2547 @DocsEditable() |
2548 Texture createTexture() => _blink.BlinkWebGLRenderingContext.createTexture_Cal
lback_0(this); | 2548 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTe
xture_Callback_0_(this); |
2549 | 2549 |
2550 @DomName('WebGLRenderingContext.cullFace') | 2550 @DomName('WebGLRenderingContext.cullFace') |
2551 @DocsEditable() | 2551 @DocsEditable() |
2552 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.cullFace_Callback
_1(this, mode); | 2552 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace
_Callback_1_(this, mode); |
2553 | 2553 |
2554 @DomName('WebGLRenderingContext.deleteBuffer') | 2554 @DomName('WebGLRenderingContext.deleteBuffer') |
2555 @DocsEditable() | 2555 @DocsEditable() |
2556 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.deleteBu
ffer_Callback_1(this, buffer); | 2556 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance
.deleteBuffer_Callback_1_(this, buffer); |
2557 | 2557 |
2558 @DomName('WebGLRenderingContext.deleteFramebuffer') | 2558 @DomName('WebGLRenderingContext.deleteFramebuffer') |
2559 @DocsEditable() | 2559 @DocsEditable() |
2560 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC
ontext.deleteFramebuffer_Callback_1(this, framebuffer); | 2560 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC
ontext.instance.deleteFramebuffer_Callback_1_(this, framebuffer); |
2561 | 2561 |
2562 @DomName('WebGLRenderingContext.deleteProgram') | 2562 @DomName('WebGLRenderingContext.deleteProgram') |
2563 @DocsEditable() | 2563 @DocsEditable() |
2564 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.delet
eProgram_Callback_1(this, program); | 2564 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.insta
nce.deleteProgram_Callback_1_(this, program); |
2565 | 2565 |
2566 @DomName('WebGLRenderingContext.deleteRenderbuffer') | 2566 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
2567 @DocsEditable() | 2567 @DocsEditable() |
2568 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi
ngContext.deleteRenderbuffer_Callback_1(this, renderbuffer); | 2568 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi
ngContext.instance.deleteRenderbuffer_Callback_1_(this, renderbuffer); |
2569 | 2569 |
2570 @DomName('WebGLRenderingContext.deleteShader') | 2570 @DomName('WebGLRenderingContext.deleteShader') |
2571 @DocsEditable() | 2571 @DocsEditable() |
2572 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.deleteSh
ader_Callback_1(this, shader); | 2572 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance
.deleteShader_Callback_1_(this, shader); |
2573 | 2573 |
2574 @DomName('WebGLRenderingContext.deleteTexture') | 2574 @DomName('WebGLRenderingContext.deleteTexture') |
2575 @DocsEditable() | 2575 @DocsEditable() |
2576 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.delet
eTexture_Callback_1(this, texture); | 2576 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta
nce.deleteTexture_Callback_1_(this, texture); |
2577 | 2577 |
2578 @DomName('WebGLRenderingContext.depthFunc') | 2578 @DomName('WebGLRenderingContext.depthFunc') |
2579 @DocsEditable() | 2579 @DocsEditable() |
2580 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.depthFunc_Callba
ck_1(this, func); | 2580 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu
nc_Callback_1_(this, func); |
2581 | 2581 |
2582 @DomName('WebGLRenderingContext.depthMask') | 2582 @DomName('WebGLRenderingContext.depthMask') |
2583 @DocsEditable() | 2583 @DocsEditable() |
2584 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.depthMask_Callb
ack_1(this, flag); | 2584 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthM
ask_Callback_1_(this, flag); |
2585 | 2585 |
2586 @DomName('WebGLRenderingContext.depthRange') | 2586 @DomName('WebGLRenderingContext.depthRange') |
2587 @DocsEditable() | 2587 @DocsEditable() |
2588 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.dept
hRange_Callback_2(this, zNear, zFar); | 2588 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.inst
ance.depthRange_Callback_2_(this, zNear, zFar); |
2589 | 2589 |
2590 @DomName('WebGLRenderingContext.detachShader') | 2590 @DomName('WebGLRenderingContext.detachShader') |
2591 @DocsEditable() | 2591 @DocsEditable() |
2592 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.detachShader_Callback_2(this, program, shader); | 2592 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.instance.detachShader_Callback_2_(this, program, shader); |
2593 | 2593 |
2594 @DomName('WebGLRenderingContext.disable') | 2594 @DomName('WebGLRenderingContext.disable') |
2595 @DocsEditable() | 2595 @DocsEditable() |
2596 void disable(int cap) => _blink.BlinkWebGLRenderingContext.disable_Callback_1(
this, cap); | 2596 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca
llback_1_(this, cap); |
2597 | 2597 |
2598 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2598 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
2599 @DocsEditable() | 2599 @DocsEditable() |
2600 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.
disableVertexAttribArray_Callback_1(this, index); | 2600 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.
instance.disableVertexAttribArray_Callback_1_(this, index); |
2601 | 2601 |
2602 @DomName('WebGLRenderingContext.drawArrays') | 2602 @DomName('WebGLRenderingContext.drawArrays') |
2603 @DocsEditable() | 2603 @DocsEditable() |
2604 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC
ontext.drawArrays_Callback_3(this, mode, first, count); | 2604 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC
ontext.instance.drawArrays_Callback_3_(this, mode, first, count); |
2605 | 2605 |
2606 @DomName('WebGLRenderingContext.drawElements') | 2606 @DomName('WebGLRenderingContext.drawElements') |
2607 @DocsEditable() | 2607 @DocsEditable() |
2608 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe
bGLRenderingContext.drawElements_Callback_4(this, mode, count, type, offset); | 2608 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe
bGLRenderingContext.instance.drawElements_Callback_4_(this, mode, count, type, o
ffset); |
2609 | 2609 |
2610 @DomName('WebGLRenderingContext.enable') | 2610 @DomName('WebGLRenderingContext.enable') |
2611 @DocsEditable() | 2611 @DocsEditable() |
2612 void enable(int cap) => _blink.BlinkWebGLRenderingContext.enable_Callback_1(th
is, cap); | 2612 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call
back_1_(this, cap); |
2613 | 2613 |
2614 @DomName('WebGLRenderingContext.enableVertexAttribArray') | 2614 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
2615 @DocsEditable() | 2615 @DocsEditable() |
2616 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.e
nableVertexAttribArray_Callback_1(this, index); | 2616 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.i
nstance.enableVertexAttribArray_Callback_1_(this, index); |
2617 | 2617 |
2618 @DomName('WebGLRenderingContext.finish') | 2618 @DomName('WebGLRenderingContext.finish') |
2619 @DocsEditable() | 2619 @DocsEditable() |
2620 void finish() => _blink.BlinkWebGLRenderingContext.finish_Callback_0(this); | 2620 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_
(this); |
2621 | 2621 |
2622 @DomName('WebGLRenderingContext.flush') | 2622 @DomName('WebGLRenderingContext.flush') |
2623 @DocsEditable() | 2623 @DocsEditable() |
2624 void flush() => _blink.BlinkWebGLRenderingContext.flush_Callback_0(this); | 2624 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(t
his); |
2625 | 2625 |
2626 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | 2626 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
2627 @DocsEditable() | 2627 @DocsEditable() |
2628 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.framebufferRe
nderbuffer_Callback_4(this, target, attachment, renderbuffertarget, renderbuffer
); | 2628 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.fram
ebufferRenderbuffer_Callback_4_(this, target, attachment, renderbuffertarget, re
nderbuffer); |
2629 | 2629 |
2630 @DomName('WebGLRenderingContext.framebufferTexture2D') | 2630 @DomName('WebGLRenderingContext.framebufferTexture2D') |
2631 @DocsEditable() | 2631 @DocsEditable() |
2632 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.BlinkWebGLRenderingContext.framebufferTexture2D_Cal
lback_5(this, target, attachment, textarget, texture, level); | 2632 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.BlinkWebGLRenderingContext.instance.framebufferText
ure2D_Callback_5_(this, target, attachment, textarget, texture, level); |
2633 | 2633 |
2634 @DomName('WebGLRenderingContext.frontFace') | 2634 @DomName('WebGLRenderingContext.frontFace') |
2635 @DocsEditable() | 2635 @DocsEditable() |
2636 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.frontFace_Callba
ck_1(this, mode); | 2636 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa
ce_Callback_1_(this, mode); |
2637 | 2637 |
2638 @DomName('WebGLRenderingContext.generateMipmap') | 2638 @DomName('WebGLRenderingContext.generateMipmap') |
2639 @DocsEditable() | 2639 @DocsEditable() |
2640 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.generateM
ipmap_Callback_1(this, target); | 2640 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance.
generateMipmap_Callback_1_(this, target); |
2641 | 2641 |
2642 @DomName('WebGLRenderingContext.getActiveAttrib') | 2642 @DomName('WebGLRenderingContext.getActiveAttrib') |
2643 @DocsEditable() | 2643 @DocsEditable() |
2644 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen
deringContext.getActiveAttrib_Callback_2(this, program, index); | 2644 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen
deringContext.instance.getActiveAttrib_Callback_2_(this, program, index); |
2645 | 2645 |
2646 @DomName('WebGLRenderingContext.getActiveUniform') | 2646 @DomName('WebGLRenderingContext.getActiveUniform') |
2647 @DocsEditable() | 2647 @DocsEditable() |
2648 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe
nderingContext.getActiveUniform_Callback_2(this, program, index); | 2648 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe
nderingContext.instance.getActiveUniform_Callback_2_(this, program, index); |
2649 | 2649 |
2650 @DomName('WebGLRenderingContext.getAttachedShaders') | 2650 @DomName('WebGLRenderingContext.getAttachedShaders') |
2651 @DocsEditable() | 2651 @DocsEditable() |
2652 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering
Context.getAttachedShaders_Callback_1(this, program); | 2652 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering
Context.instance.getAttachedShaders_Callback_1_(this, program); |
2653 | 2653 |
2654 @DomName('WebGLRenderingContext.getAttribLocation') | 2654 @DomName('WebGLRenderingContext.getAttribLocation') |
2655 @DocsEditable() | 2655 @DocsEditable() |
2656 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContext.getAttribLocation_Callback_2(this, program, name); | 2656 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContext.instance.getAttribLocation_Callback_2_(this, program, name); |
2657 | 2657 |
2658 @DomName('WebGLRenderingContext.getBufferParameter') | 2658 @DomName('WebGLRenderingContext.getBufferParameter') |
2659 @DocsEditable() | 2659 @DocsEditable() |
2660 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering
Context.getBufferParameter_Callback_2(this, target, pname); | 2660 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering
Context.instance.getBufferParameter_Callback_2_(this, target, pname); |
2661 | 2661 |
2662 @DomName('WebGLRenderingContext.getContextAttributes') | 2662 @DomName('WebGLRenderingContext.getContextAttributes') |
2663 @DocsEditable() | 2663 @DocsEditable() |
2664 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext.
getContextAttributes_Callback_0(this); | 2664 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext.
instance.getContextAttributes_Callback_0_(this); |
2665 | 2665 |
2666 @DomName('WebGLRenderingContext.getError') | 2666 @DomName('WebGLRenderingContext.getError') |
2667 @DocsEditable() | 2667 @DocsEditable() |
2668 int getError() => _blink.BlinkWebGLRenderingContext.getError_Callback_0(this); | 2668 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback
_0_(this); |
2669 | 2669 |
2670 @DomName('WebGLRenderingContext.getExtension') | 2670 @DomName('WebGLRenderingContext.getExtension') |
2671 @DocsEditable() | 2671 @DocsEditable() |
2672 Object getExtension(String name) => _blink.BlinkWebGLRenderingContext.getExten
sion_Callback_1(this, name); | 2672 Object getExtension(String name) => _blink.BlinkWebGLRenderingContext.instance
.getExtension_Callback_1_(this, name); |
2673 | 2673 |
2674 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2674 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
2675 @DocsEditable() | 2675 @DocsEditable() |
2676 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => _blink.BlinkWebGLRenderingContext.getFramebufferAttachmentParameter_Callbac
k_3(this, target, attachment, pname); | 2676 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => _blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmentParamete
r_Callback_3_(this, target, attachment, pname); |
2677 | 2677 |
2678 @DomName('WebGLRenderingContext.getParameter') | 2678 @DomName('WebGLRenderingContext.getParameter') |
2679 @DocsEditable() | 2679 @DocsEditable() |
2680 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContext.getParamet
er_Callback_1(this, pname); | 2680 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContext.instance.g
etParameter_Callback_1_(this, pname); |
2681 | 2681 |
2682 @DomName('WebGLRenderingContext.getProgramInfoLog') | 2682 @DomName('WebGLRenderingContext.getProgramInfoLog') |
2683 @DocsEditable() | 2683 @DocsEditable() |
2684 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext
.getProgramInfoLog_Callback_1(this, program); | 2684 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext
.instance.getProgramInfoLog_Callback_1_(this, program); |
2685 | 2685 |
2686 @DomName('WebGLRenderingContext.getProgramParameter') | 2686 @DomName('WebGLRenderingContext.getProgramParameter') |
2687 @DocsEditable() | 2687 @DocsEditable() |
2688 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen
deringContext.getProgramParameter_Callback_2(this, program, pname); | 2688 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen
deringContext.instance.getProgramParameter_Callback_2_(this, program, pname); |
2689 | 2689 |
2690 @DomName('WebGLRenderingContext.getRenderbufferParameter') | 2690 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
2691 @DocsEditable() | 2691 @DocsEditable() |
2692 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen
deringContext.getRenderbufferParameter_Callback_2(this, target, pname); | 2692 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen
deringContext.instance.getRenderbufferParameter_Callback_2_(this, target, pname)
; |
2693 | 2693 |
2694 @DomName('WebGLRenderingContext.getShaderInfoLog') | 2694 @DomName('WebGLRenderingContext.getShaderInfoLog') |
2695 @DocsEditable() | 2695 @DocsEditable() |
2696 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.ge
tShaderInfoLog_Callback_1(this, shader); | 2696 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in
stance.getShaderInfoLog_Callback_1_(this, shader); |
2697 | 2697 |
2698 @DomName('WebGLRenderingContext.getShaderParameter') | 2698 @DomName('WebGLRenderingContext.getShaderParameter') |
2699 @DocsEditable() | 2699 @DocsEditable() |
2700 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender
ingContext.getShaderParameter_Callback_2(this, shader, pname); | 2700 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender
ingContext.instance.getShaderParameter_Callback_2_(this, shader, pname); |
2701 | 2701 |
2702 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | 2702 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
2703 @DocsEditable() | 2703 @DocsEditable() |
2704 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => _blink.BlinkWebGLRenderingContext.getShaderPrecisionFormat_Callback_2(thi
s, shadertype, precisiontype); | 2704 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callb
ack_2_(this, shadertype, precisiontype); |
2705 | 2705 |
2706 @DomName('WebGLRenderingContext.getShaderSource') | 2706 @DomName('WebGLRenderingContext.getShaderSource') |
2707 @DocsEditable() | 2707 @DocsEditable() |
2708 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.get
ShaderSource_Callback_1(this, shader); | 2708 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins
tance.getShaderSource_Callback_1_(this, shader); |
2709 | 2709 |
2710 @DomName('WebGLRenderingContext.getSupportedExtensions') | 2710 @DomName('WebGLRenderingContext.getSupportedExtensions') |
2711 @DocsEditable() | 2711 @DocsEditable() |
2712 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.get
SupportedExtensions_Callback_0(this); | 2712 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins
tance.getSupportedExtensions_Callback_0_(this); |
2713 | 2713 |
2714 @DomName('WebGLRenderingContext.getTexParameter') | 2714 @DomName('WebGLRenderingContext.getTexParameter') |
2715 @DocsEditable() | 2715 @DocsEditable() |
2716 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon
text.getTexParameter_Callback_2(this, target, pname); | 2716 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon
text.instance.getTexParameter_Callback_2_(this, target, pname); |
2717 | 2717 |
2718 @DomName('WebGLRenderingContext.getUniform') | 2718 @DomName('WebGLRenderingContext.getUniform') |
2719 @DocsEditable() | 2719 @DocsEditable() |
2720 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe
bGLRenderingContext.getUniform_Callback_2(this, program, location); | 2720 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe
bGLRenderingContext.instance.getUniform_Callback_2_(this, program, location); |
2721 | 2721 |
2722 @DomName('WebGLRenderingContext.getUniformLocation') | 2722 @DomName('WebGLRenderingContext.getUniformLocation') |
2723 @DocsEditable() | 2723 @DocsEditable() |
2724 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli
nkWebGLRenderingContext.getUniformLocation_Callback_2(this, program, name); | 2724 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli
nkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(this, program, n
ame); |
2725 | 2725 |
2726 @DomName('WebGLRenderingContext.getVertexAttrib') | 2726 @DomName('WebGLRenderingContext.getVertexAttrib') |
2727 @DocsEditable() | 2727 @DocsEditable() |
2728 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont
ext.getVertexAttrib_Callback_2(this, index, pname); | 2728 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont
ext.instance.getVertexAttrib_Callback_2_(this, index, pname); |
2729 | 2729 |
2730 @DomName('WebGLRenderingContext.getVertexAttribOffset') | 2730 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
2731 @DocsEditable() | 2731 @DocsEditable() |
2732 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC
ontext.getVertexAttribOffset_Callback_2(this, index, pname); | 2732 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC
ontext.instance.getVertexAttribOffset_Callback_2_(this, index, pname); |
2733 | 2733 |
2734 @DomName('WebGLRenderingContext.hint') | 2734 @DomName('WebGLRenderingContext.hint') |
2735 @DocsEditable() | 2735 @DocsEditable() |
2736 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.hint_Call
back_2(this, target, mode); | 2736 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance.
hint_Callback_2_(this, target, mode); |
2737 | 2737 |
2738 @DomName('WebGLRenderingContext.isBuffer') | 2738 @DomName('WebGLRenderingContext.isBuffer') |
2739 @DocsEditable() | 2739 @DocsEditable() |
2740 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.isBuffer_Cal
lback_1(this, buffer); | 2740 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isB
uffer_Callback_1_(this, buffer); |
2741 | 2741 |
2742 @DomName('WebGLRenderingContext.isContextLost') | 2742 @DomName('WebGLRenderingContext.isContextLost') |
2743 @DocsEditable() | 2743 @DocsEditable() |
2744 bool isContextLost() => _blink.BlinkWebGLRenderingContext.isContextLost_Callba
ck_0(this); | 2744 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLo
st_Callback_0_(this); |
2745 | 2745 |
2746 @DomName('WebGLRenderingContext.isEnabled') | 2746 @DomName('WebGLRenderingContext.isEnabled') |
2747 @DocsEditable() | 2747 @DocsEditable() |
2748 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.isEnabled_Callbac
k_1(this, cap); | 2748 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnable
d_Callback_1_(this, cap); |
2749 | 2749 |
2750 @DomName('WebGLRenderingContext.isFramebuffer') | 2750 @DomName('WebGLRenderingContext.isFramebuffer') |
2751 @DocsEditable() | 2751 @DocsEditable() |
2752 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte
xt.isFramebuffer_Callback_1(this, framebuffer); | 2752 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte
xt.instance.isFramebuffer_Callback_1_(this, framebuffer); |
2753 | 2753 |
2754 @DomName('WebGLRenderingContext.isProgram') | 2754 @DomName('WebGLRenderingContext.isProgram') |
2755 @DocsEditable() | 2755 @DocsEditable() |
2756 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.isProgram
_Callback_1(this, program); | 2756 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.
isProgram_Callback_1_(this, program); |
2757 | 2757 |
2758 @DomName('WebGLRenderingContext.isRenderbuffer') | 2758 @DomName('WebGLRenderingContext.isRenderbuffer') |
2759 @DocsEditable() | 2759 @DocsEditable() |
2760 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo
ntext.isRenderbuffer_Callback_1(this, renderbuffer); | 2760 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo
ntext.instance.isRenderbuffer_Callback_1_(this, renderbuffer); |
2761 | 2761 |
2762 @DomName('WebGLRenderingContext.isShader') | 2762 @DomName('WebGLRenderingContext.isShader') |
2763 @DocsEditable() | 2763 @DocsEditable() |
2764 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.isShader_Cal
lback_1(this, shader); | 2764 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isS
hader_Callback_1_(this, shader); |
2765 | 2765 |
2766 @DomName('WebGLRenderingContext.isTexture') | 2766 @DomName('WebGLRenderingContext.isTexture') |
2767 @DocsEditable() | 2767 @DocsEditable() |
2768 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.isTexture
_Callback_1(this, texture); | 2768 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance.
isTexture_Callback_1_(this, texture); |
2769 | 2769 |
2770 @DomName('WebGLRenderingContext.lineWidth') | 2770 @DomName('WebGLRenderingContext.lineWidth') |
2771 @DocsEditable() | 2771 @DocsEditable() |
2772 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.lineWidth_Callb
ack_1(this, width); | 2772 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWi
dth_Callback_1_(this, width); |
2773 | 2773 |
2774 @DomName('WebGLRenderingContext.linkProgram') | 2774 @DomName('WebGLRenderingContext.linkProgram') |
2775 @DocsEditable() | 2775 @DocsEditable() |
2776 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.linkPro
gram_Callback_1(this, program); | 2776 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc
e.linkProgram_Callback_1_(this, program); |
2777 | 2777 |
2778 @DomName('WebGLRenderingContext.pixelStorei') | 2778 @DomName('WebGLRenderingContext.pixelStorei') |
2779 @DocsEditable() | 2779 @DocsEditable() |
2780 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.pi
xelStorei_Callback_2(this, pname, param); | 2780 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.in
stance.pixelStorei_Callback_2_(this, pname, param); |
2781 | 2781 |
2782 @DomName('WebGLRenderingContext.polygonOffset') | 2782 @DomName('WebGLRenderingContext.polygonOffset') |
2783 @DocsEditable() | 2783 @DocsEditable() |
2784 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext
.polygonOffset_Callback_2(this, factor, units); | 2784 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext
.instance.polygonOffset_Callback_2_(this, factor, units); |
2785 | 2785 |
2786 @DomName('WebGLRenderingContext.readPixels') | 2786 @DomName('WebGLRenderingContext.readPixels') |
2787 @DocsEditable() | 2787 @DocsEditable() |
2788 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.BlinkWebGLRenderingContext.readPixels_Callback_7(this,
x, y, width, height, format, type, pixels); | 2788 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback
_7_(this, x, y, width, height, format, type, pixels); |
2789 | 2789 |
2790 @DomName('WebGLRenderingContext.renderbufferStorage') | 2790 @DomName('WebGLRenderingContext.renderbufferStorage') |
2791 @DocsEditable() | 2791 @DocsEditable() |
2792 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.BlinkWebGLRenderingContext.renderbufferStorage_Callback_4(this, targ
et, internalformat, width, height); | 2792 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_(
this, target, internalformat, width, height); |
2793 | 2793 |
2794 @DomName('WebGLRenderingContext.sampleCoverage') | 2794 @DomName('WebGLRenderingContext.sampleCoverage') |
2795 @DocsEditable() | 2795 @DocsEditable() |
2796 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte
xt.sampleCoverage_Callback_2(this, value, invert); | 2796 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte
xt.instance.sampleCoverage_Callback_2_(this, value, invert); |
2797 | 2797 |
2798 @DomName('WebGLRenderingContext.scissor') | 2798 @DomName('WebGLRenderingContext.scissor') |
2799 @DocsEditable() | 2799 @DocsEditable() |
2800 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin
gContext.scissor_Callback_4(this, x, y, width, height); | 2800 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin
gContext.instance.scissor_Callback_4_(this, x, y, width, height); |
2801 | 2801 |
2802 @DomName('WebGLRenderingContext.shaderSource') | 2802 @DomName('WebGLRenderingContext.shaderSource') |
2803 @DocsEditable() | 2803 @DocsEditable() |
2804 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC
ontext.shaderSource_Callback_2(this, shader, string); | 2804 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC
ontext.instance.shaderSource_Callback_2_(this, shader, string); |
2805 | 2805 |
2806 @DomName('WebGLRenderingContext.stencilFunc') | 2806 @DomName('WebGLRenderingContext.stencilFunc') |
2807 @DocsEditable() | 2807 @DocsEditable() |
2808 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon
text.stencilFunc_Callback_3(this, func, ref, mask); | 2808 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon
text.instance.stencilFunc_Callback_3_(this, func, ref, mask); |
2809 | 2809 |
2810 @DomName('WebGLRenderingContext.stencilFuncSeparate') | 2810 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
2811 @DocsEditable() | 2811 @DocsEditable() |
2812 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin
kWebGLRenderingContext.stencilFuncSeparate_Callback_4(this, face, func, ref, mas
k); | 2812 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin
kWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(this, face, func
, ref, mask); |
2813 | 2813 |
2814 @DomName('WebGLRenderingContext.stencilMask') | 2814 @DomName('WebGLRenderingContext.stencilMask') |
2815 @DocsEditable() | 2815 @DocsEditable() |
2816 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.stencilMask_Ca
llback_1(this, mask); | 2816 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stenc
ilMask_Callback_1_(this, mask); |
2817 | 2817 |
2818 @DomName('WebGLRenderingContext.stencilMaskSeparate') | 2818 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
2819 @DocsEditable() | 2819 @DocsEditable() |
2820 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont
ext.stencilMaskSeparate_Callback_2(this, face, mask); | 2820 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont
ext.instance.stencilMaskSeparate_Callback_2_(this, face, mask); |
2821 | 2821 |
2822 @DomName('WebGLRenderingContext.stencilOp') | 2822 @DomName('WebGLRenderingContext.stencilOp') |
2823 @DocsEditable() | 2823 @DocsEditable() |
2824 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo
ntext.stencilOp_Callback_3(this, fail, zfail, zpass); | 2824 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo
ntext.instance.stencilOp_Callback_3_(this, fail, zfail, zpass); |
2825 | 2825 |
2826 @DomName('WebGLRenderingContext.stencilOpSeparate') | 2826 @DomName('WebGLRenderingContext.stencilOpSeparate') |
2827 @DocsEditable() | 2827 @DocsEditable() |
2828 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGLRenderingContext.stencilOpSeparate_Callback_4(this, face, fail, zfail, zp
ass); | 2828 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(this, face, fail,
zfail, zpass); |
2829 | 2829 |
2830 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]) { | 2830 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]) { |
2831 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i
nt) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && (height_OR_type
is int) && (format_OR_width is int) && (internalformat is int) && (level is int)
&& (target is int)) { | 2831 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i
nt) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && (height_OR_type
is int) && (format_OR_width is int) && (internalformat is int) && (level is int)
&& (target is int)) { |
2832 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_9(this, target, leve
l, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR
_pixels_OR_video, format, type, pixels); | 2832 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_(this, ta
rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O
R_image_OR_pixels_OR_video, format, type, pixels); |
2833 return; | 2833 return; |
2834 } | 2834 } |
2835 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int) && (forma
t_OR_width is int) && (internalformat is int) && (level is int) && (target is in
t) && format == null && type == null && pixels == null) { | 2835 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int) && (forma
t_OR_width is int) && (internalformat is int) && (level is int) && (target is in
t) && format == null && type == null && pixels == null) { |
2836 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_6(this, target, leve
l, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR
_pixels_OR_video); | 2836 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta
rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O
R_image_OR_pixels_OR_video); |
2837 return; | 2837 return; |
2838 } | 2838 } |
2839 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev
el is int) && (target is int) && format == null && type == null && pixels == nul
l) { | 2839 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev
el is int) && (target is int) && format == null && type == null && pixels == nul
l) { |
2840 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_6(this, target, leve
l, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR
_pixels_OR_video); | 2840 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta
rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O
R_image_OR_pixels_OR_video); |
2841 return; | 2841 return; |
2842 } | 2842 } |
2843 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && (heig
ht_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (le
vel is int) && (target is int) && format == null && type == null && pixels == nu
ll) { | 2843 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && (heig
ht_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (le
vel is int) && (target is int) && format == null && type == null && pixels == nu
ll) { |
2844 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_6(this, target, leve
l, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR
_pixels_OR_video); | 2844 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta
rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O
R_image_OR_pixels_OR_video); |
2845 return; | 2845 return; |
2846 } | 2846 } |
2847 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev
el is int) && (target is int) && format == null && type == null && pixels == nul
l) { | 2847 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev
el is int) && (target is int) && format == null && type == null && pixels == nul
l) { |
2848 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_6(this, target, leve
l, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR
_pixels_OR_video); | 2848 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta
rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O
R_image_OR_pixels_OR_video); |
2849 return; | 2849 return; |
2850 } | 2850 } |
2851 throw new ArgumentError("Incorrect number or type of arguments"); | 2851 throw new ArgumentError("Incorrect number or type of arguments"); |
2852 } | 2852 } |
2853 | 2853 |
2854 @DomName('WebGLRenderingContext.texImage2DCanvas') | 2854 @DomName('WebGLRenderingContext.texImage2DCanvas') |
2855 @DocsEditable() | 2855 @DocsEditable() |
2856 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.texImage2D_C
allback_6(this, target, level, internalformat, format, type, canvas); | 2856 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.instance.tex
Image2D_Callback_6_(this, target, level, internalformat, format, type, canvas); |
2857 | 2857 |
2858 @DomName('WebGLRenderingContext.texImage2DImage') | 2858 @DomName('WebGLRenderingContext.texImage2DImage') |
2859 @DocsEditable() | 2859 @DocsEditable() |
2860 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) => _blink.BlinkWebGLRenderingContext.texImage2D_Call
back_6(this, target, level, internalformat, format, type, image); | 2860 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instance.texIma
ge2D_Callback_6_(this, target, level, internalformat, format, type, image); |
2861 | 2861 |
2862 @DomName('WebGLRenderingContext.texImage2DImageData') | 2862 @DomName('WebGLRenderingContext.texImage2DImageData') |
2863 @DocsEditable() | 2863 @DocsEditable() |
2864 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.texImage2D_Ca
llback_6(this, target, level, internalformat, format, type, pixels); | 2864 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.instance.texI
mage2D_Callback_6_(this, target, level, internalformat, format, type, pixels); |
2865 | 2865 |
2866 @DomName('WebGLRenderingContext.texImage2DVideo') | 2866 @DomName('WebGLRenderingContext.texImage2DVideo') |
2867 @DocsEditable() | 2867 @DocsEditable() |
2868 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) => _blink.BlinkWebGLRenderingContext.texImage2D_Call
back_6(this, target, level, internalformat, format, type, video); | 2868 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instance.texIma
ge2D_Callback_6_(this, target, level, internalformat, format, type, video); |
2869 | 2869 |
2870 @DomName('WebGLRenderingContext.texParameterf') | 2870 @DomName('WebGLRenderingContext.texParameterf') |
2871 @DocsEditable() | 2871 @DocsEditable() |
2872 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContext.texParameterf_Callback_3(this, target, pname, param); | 2872 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContext.instance.texParameterf_Callback_3_(this, target, pname, param); |
2873 | 2873 |
2874 @DomName('WebGLRenderingContext.texParameteri') | 2874 @DomName('WebGLRenderingContext.texParameteri') |
2875 @DocsEditable() | 2875 @DocsEditable() |
2876 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContext.texParameteri_Callback_3(this, target, pname, param); | 2876 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContext.instance.texParameteri_Callback_3_(this, target, pname, param); |
2877 | 2877 |
2878 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]) { | 2878 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]) { |
2879 if ((pixels is TypedData || pixels == null) && (type is int) && (canvas_OR_f
ormat_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_
OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (t
arget is int)) { | 2879 if ((pixels is TypedData || pixels == null) && (type is int) && (canvas_OR_f
ormat_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_
OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (t
arget is int)) { |
2880 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_9(this, target, l
evel, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_ima
ge_OR_pixels_OR_video, type, pixels); | 2880 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_(this,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for
mat_OR_image_OR_pixels_OR_video, type, pixels); |
2881 return; | 2881 return; |
2882 } | 2882 } |
2883 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int) && (forma
t_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) &&
(target is int) && type == null && pixels == null) { | 2883 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int) && (forma
t_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) &&
(target is int) && type == null && pixels == null) { |
2884 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_7(this, target, l
evel, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_ima
ge_OR_pixels_OR_video); | 2884 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for
mat_OR_image_OR_pixels_OR_video); |
2885 return; | 2885 return; |
2886 } | 2886 } |
2887 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is
int) && (level is int) && (target is int) && type == null && pixels == null) { | 2887 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is
int) && (level is int) && (target is int) && type == null && pixels == null) { |
2888 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_7(this, target, l
evel, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_ima
ge_OR_pixels_OR_video); | 2888 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for
mat_OR_image_OR_pixels_OR_video); |
2889 return; | 2889 return; |
2890 } | 2890 } |
2891 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && (heig
ht_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset i
s int) && (level is int) && (target is int) && type == null && pixels == null) { | 2891 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && (heig
ht_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset i
s int) && (level is int) && (target is int) && type == null && pixels == null) { |
2892 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_7(this, target, l
evel, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_ima
ge_OR_pixels_OR_video); | 2892 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for
mat_OR_image_OR_pixels_OR_video); |
2893 return; | 2893 return; |
2894 } | 2894 } |
2895 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is
int) && (level is int) && (target is int) && type == null && pixels == null) { | 2895 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && (heigh
t_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is
int) && (level is int) && (target is int) && type == null && pixels == null) { |
2896 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_7(this, target, l
evel, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_ima
ge_OR_pixels_OR_video); | 2896 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this,
target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for
mat_OR_image_OR_pixels_OR_video); |
2897 return; | 2897 return; |
2898 } | 2898 } |
2899 throw new ArgumentError("Incorrect number or type of arguments"); | 2899 throw new ArgumentError("Incorrect number or type of arguments"); |
2900 } | 2900 } |
2901 | 2901 |
2902 @DomName('WebGLRenderingContext.texSubImage2DCanvas') | 2902 @DomName('WebGLRenderingContext.texSubImage2DCanvas') |
2903 @DocsEditable() | 2903 @DocsEditable() |
2904 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.tex
SubImage2D_Callback_7(this, target, level, xoffset, yoffset, format, type, canva
s); | 2904 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.ins
tance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, t
ype, canvas); |
2905 | 2905 |
2906 @DomName('WebGLRenderingContext.texSubImage2DImage') | 2906 @DomName('WebGLRenderingContext.texSubImage2DImage') |
2907 @DocsEditable() | 2907 @DocsEditable() |
2908 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContext.texSub
Image2D_Callback_7(this, target, level, xoffset, yoffset, format, type, image); | 2908 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instan
ce.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, type
, image); |
2909 | 2909 |
2910 @DomName('WebGLRenderingContext.texSubImage2DImageData') | 2910 @DomName('WebGLRenderingContext.texSubImage2DImageData') |
2911 @DocsEditable() | 2911 @DocsEditable() |
2912 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.texS
ubImage2D_Callback_7(this, target, level, xoffset, yoffset, format, type, pixels
); | 2912 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.inst
ance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, ty
pe, pixels); |
2913 | 2913 |
2914 @DomName('WebGLRenderingContext.texSubImage2DVideo') | 2914 @DomName('WebGLRenderingContext.texSubImage2DVideo') |
2915 @DocsEditable() | 2915 @DocsEditable() |
2916 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContext.texSub
Image2D_Callback_7(this, target, level, xoffset, yoffset, format, type, video); | 2916 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instan
ce.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, type
, video); |
2917 | 2917 |
2918 @DomName('WebGLRenderingContext.uniform1f') | 2918 @DomName('WebGLRenderingContext.uniform1f') |
2919 @DocsEditable() | 2919 @DocsEditable() |
2920 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontext.uniform1f_Callback_2(this, location, x); | 2920 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1f_Callback_2_(this, location, x); |
2921 | 2921 |
2922 @DomName('WebGLRenderingContext.uniform1fv') | 2922 @DomName('WebGLRenderingContext.uniform1fv') |
2923 @DocsEditable() | 2923 @DocsEditable() |
2924 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform1fv_Callback_2(this, location, v); | 2924 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform1fv_Callback_2_(this, location, v); |
2925 | 2925 |
2926 @DomName('WebGLRenderingContext.uniform1i') | 2926 @DomName('WebGLRenderingContext.uniform1i') |
2927 @DocsEditable() | 2927 @DocsEditable() |
2928 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontext.uniform1i_Callback_2(this, location, x); | 2928 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1i_Callback_2_(this, location, x); |
2929 | 2929 |
2930 @DomName('WebGLRenderingContext.uniform1iv') | 2930 @DomName('WebGLRenderingContext.uniform1iv') |
2931 @DocsEditable() | 2931 @DocsEditable() |
2932 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform1iv_Callback_2(this, location, v); | 2932 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform1iv_Callback_2_(this, location, v); |
2933 | 2933 |
2934 @DomName('WebGLRenderingContext.uniform2f') | 2934 @DomName('WebGLRenderingContext.uniform2f') |
2935 @DocsEditable() | 2935 @DocsEditable() |
2936 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen
deringContext.uniform2f_Callback_3(this, location, x, y); | 2936 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen
deringContext.instance.uniform2f_Callback_3_(this, location, x, y); |
2937 | 2937 |
2938 @DomName('WebGLRenderingContext.uniform2fv') | 2938 @DomName('WebGLRenderingContext.uniform2fv') |
2939 @DocsEditable() | 2939 @DocsEditable() |
2940 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform2fv_Callback_2(this, location, v); | 2940 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform2fv_Callback_2_(this, location, v); |
2941 | 2941 |
2942 @DomName('WebGLRenderingContext.uniform2i') | 2942 @DomName('WebGLRenderingContext.uniform2i') |
2943 @DocsEditable() | 2943 @DocsEditable() |
2944 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen
deringContext.uniform2i_Callback_3(this, location, x, y); | 2944 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen
deringContext.instance.uniform2i_Callback_3_(this, location, x, y); |
2945 | 2945 |
2946 @DomName('WebGLRenderingContext.uniform2iv') | 2946 @DomName('WebGLRenderingContext.uniform2iv') |
2947 @DocsEditable() | 2947 @DocsEditable() |
2948 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform2iv_Callback_2(this, location, v); | 2948 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform2iv_Callback_2_(this, location, v); |
2949 | 2949 |
2950 @DomName('WebGLRenderingContext.uniform3f') | 2950 @DomName('WebGLRenderingContext.uniform3f') |
2951 @DocsEditable() | 2951 @DocsEditable() |
2952 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGLRenderingContext.uniform3f_Callback_4(this, location, x, y, z); | 2952 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGLRenderingContext.instance.uniform3f_Callback_4_(this, location, x, y, z); |
2953 | 2953 |
2954 @DomName('WebGLRenderingContext.uniform3fv') | 2954 @DomName('WebGLRenderingContext.uniform3fv') |
2955 @DocsEditable() | 2955 @DocsEditable() |
2956 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform3fv_Callback_2(this, location, v); | 2956 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform3fv_Callback_2_(this, location, v); |
2957 | 2957 |
2958 @DomName('WebGLRenderingContext.uniform3i') | 2958 @DomName('WebGLRenderingContext.uniform3i') |
2959 @DocsEditable() | 2959 @DocsEditable() |
2960 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGLRenderingContext.uniform3i_Callback_4(this, location, x, y, z); | 2960 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGLRenderingContext.instance.uniform3i_Callback_4_(this, location, x, y, z); |
2961 | 2961 |
2962 @DomName('WebGLRenderingContext.uniform3iv') | 2962 @DomName('WebGLRenderingContext.uniform3iv') |
2963 @DocsEditable() | 2963 @DocsEditable() |
2964 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform3iv_Callback_2(this, location, v); | 2964 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform3iv_Callback_2_(this, location, v); |
2965 | 2965 |
2966 @DomName('WebGLRenderingContext.uniform4f') | 2966 @DomName('WebGLRenderingContext.uniform4f') |
2967 @DocsEditable() | 2967 @DocsEditable() |
2968 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGLRenderingContext.uniform4f_Callback_5(this, location, x, y, z, w); | 2968 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(this, location, x, y,
z, w); |
2969 | 2969 |
2970 @DomName('WebGLRenderingContext.uniform4fv') | 2970 @DomName('WebGLRenderingContext.uniform4fv') |
2971 @DocsEditable() | 2971 @DocsEditable() |
2972 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform4fv_Callback_2(this, location, v); | 2972 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform4fv_Callback_2_(this, location, v); |
2973 | 2973 |
2974 @DomName('WebGLRenderingContext.uniform4i') | 2974 @DomName('WebGLRenderingContext.uniform4i') |
2975 @DocsEditable() | 2975 @DocsEditable() |
2976 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGLRenderingContext.uniform4i_Callback_5(this, location, x, y, z, w); | 2976 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(this, location, x, y,
z, w); |
2977 | 2977 |
2978 @DomName('WebGLRenderingContext.uniform4iv') | 2978 @DomName('WebGLRenderingContext.uniform4iv') |
2979 @DocsEditable() | 2979 @DocsEditable() |
2980 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform4iv_Callback_2(this, location, v); | 2980 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform4iv_Callback_2_(this, location, v); |
2981 | 2981 |
2982 @DomName('WebGLRenderingContext.uniformMatrix2fv') | 2982 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
2983 @DocsEditable() | 2983 @DocsEditable() |
2984 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.uniformMatrix2fv_Callback_3(this, loca
tion, transpose, array); | 2984 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(
this, location, transpose, array); |
2985 | 2985 |
2986 @DomName('WebGLRenderingContext.uniformMatrix3fv') | 2986 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
2987 @DocsEditable() | 2987 @DocsEditable() |
2988 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.uniformMatrix3fv_Callback_3(this, loca
tion, transpose, array); | 2988 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(
this, location, transpose, array); |
2989 | 2989 |
2990 @DomName('WebGLRenderingContext.uniformMatrix4fv') | 2990 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
2991 @DocsEditable() | 2991 @DocsEditable() |
2992 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.uniformMatrix4fv_Callback_3(this, loca
tion, transpose, array); | 2992 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(
this, location, transpose, array); |
2993 | 2993 |
2994 @DomName('WebGLRenderingContext.useProgram') | 2994 @DomName('WebGLRenderingContext.useProgram') |
2995 @DocsEditable() | 2995 @DocsEditable() |
2996 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.useProgr
am_Callback_1(this, program); | 2996 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance
.useProgram_Callback_1_(this, program); |
2997 | 2997 |
2998 @DomName('WebGLRenderingContext.validateProgram') | 2998 @DomName('WebGLRenderingContext.validateProgram') |
2999 @DocsEditable() | 2999 @DocsEditable() |
3000 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.val
idateProgram_Callback_1(this, program); | 3000 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins
tance.validateProgram_Callback_1_(this, program); |
3001 | 3001 |
3002 @DomName('WebGLRenderingContext.vertexAttrib1f') | 3002 @DomName('WebGLRenderingContext.vertexAttrib1f') |
3003 @DocsEditable() | 3003 @DocsEditable() |
3004 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.vert
exAttrib1f_Callback_2(this, indx, x); | 3004 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst
ance.vertexAttrib1f_Callback_2_(this, indx, x); |
3005 | 3005 |
3006 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 3006 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
3007 @DocsEditable() | 3007 @DocsEditable() |
3008 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib1fv_Callback_2(this, indx, values); | 3008 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib1fv_Callback_2_(this, indx, values); |
3009 | 3009 |
3010 @DomName('WebGLRenderingContext.vertexAttrib2f') | 3010 @DomName('WebGLRenderingContext.vertexAttrib2f') |
3011 @DocsEditable() | 3011 @DocsEditable() |
3012 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xt.vertexAttrib2f_Callback_3(this, indx, x, y); | 3012 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xt.instance.vertexAttrib2f_Callback_3_(this, indx, x, y); |
3013 | 3013 |
3014 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 3014 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
3015 @DocsEditable() | 3015 @DocsEditable() |
3016 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib2fv_Callback_2(this, indx, values); | 3016 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib2fv_Callback_2_(this, indx, values); |
3017 | 3017 |
3018 @DomName('WebGLRenderingContext.vertexAttrib3f') | 3018 @DomName('WebGLRenderingContext.vertexAttrib3f') |
3019 @DocsEditable() | 3019 @DocsEditable() |
3020 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib3f_Callback_4(this, indx, x, y, z); | 3020 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib3f_Callback_4_(this, indx, x, y, z); |
3021 | 3021 |
3022 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 3022 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
3023 @DocsEditable() | 3023 @DocsEditable() |
3024 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib3fv_Callback_2(this, indx, values); | 3024 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib3fv_Callback_2_(this, indx, values); |
3025 | 3025 |
3026 @DomName('WebGLRenderingContext.vertexAttrib4f') | 3026 @DomName('WebGLRenderingContext.vertexAttrib4f') |
3027 @DocsEditable() | 3027 @DocsEditable() |
3028 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
RenderingContext.vertexAttrib4f_Callback_5(this, indx, x, y, z, w); | 3028 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
RenderingContext.instance.vertexAttrib4f_Callback_5_(this, indx, x, y, z, w); |
3029 | 3029 |
3030 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 3030 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
3031 @DocsEditable() | 3031 @DocsEditable() |
3032 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib4fv_Callback_2(this, indx, values); | 3032 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib4fv_Callback_2_(this, indx, values); |
3033 | 3033 |
3034 @DomName('WebGLRenderingContext.vertexAttribPointer') | 3034 @DomName('WebGLRenderingContext.vertexAttribPointer') |
3035 @DocsEditable() | 3035 @DocsEditable() |
3036 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGLRenderingContext.vertexAttribPointer_Callb
ack_6(this, indx, size, type, normalized, stride, offset); | 3036 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPoin
ter_Callback_6_(this, indx, size, type, normalized, stride, offset); |
3037 | 3037 |
3038 @DomName('WebGLRenderingContext.viewport') | 3038 @DomName('WebGLRenderingContext.viewport') |
3039 @DocsEditable() | 3039 @DocsEditable() |
3040 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi
ngContext.viewport_Callback_4(this, x, y, width, height); | 3040 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi
ngContext.instance.viewport_Callback_4_(this, x, y, width, height); |
3041 | 3041 |
3042 | 3042 |
3043 /** | 3043 /** |
3044 * Sets the currently bound texture to [data]. | 3044 * Sets the currently bound texture to [data]. |
3045 * | 3045 * |
3046 * [data] can be either an [ImageElement], a | 3046 * [data] can be either an [ImageElement], a |
3047 * [CanvasElement], a [VideoElement], or an [ImageData] object. | 3047 * [CanvasElement], a [VideoElement], or an [ImageData] object. |
3048 * | 3048 * |
3049 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. | 3049 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. |
3050 * | 3050 * |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3122 | 3122 |
3123 | 3123 |
3124 @DocsEditable() | 3124 @DocsEditable() |
3125 @DomName('WebGLShaderPrecisionFormat') | 3125 @DomName('WebGLShaderPrecisionFormat') |
3126 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { | 3126 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { |
3127 // To suppress missing implicit constructor warnings. | 3127 // To suppress missing implicit constructor warnings. |
3128 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } | 3128 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } |
3129 | 3129 |
3130 @DomName('WebGLShaderPrecisionFormat.precision') | 3130 @DomName('WebGLShaderPrecisionFormat.precision') |
3131 @DocsEditable() | 3131 @DocsEditable() |
3132 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.precision_Getter(t
his); | 3132 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision
_Getter_(this); |
3133 | 3133 |
3134 @DomName('WebGLShaderPrecisionFormat.rangeMax') | 3134 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
3135 @DocsEditable() | 3135 @DocsEditable() |
3136 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.rangeMax_Getter(thi
s); | 3136 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G
etter_(this); |
3137 | 3137 |
3138 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 3138 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
3139 @DocsEditable() | 3139 @DocsEditable() |
3140 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.rangeMin_Getter(thi
s); | 3140 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G
etter_(this); |
3141 | 3141 |
3142 } | 3142 } |
3143 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3143 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3144 // for details. All rights reserved. Use of this source code is governed by a | 3144 // for details. All rights reserved. Use of this source code is governed by a |
3145 // BSD-style license that can be found in the LICENSE file. | 3145 // BSD-style license that can be found in the LICENSE file. |
3146 | 3146 |
3147 // WARNING: Do not edit - generated code. | 3147 // WARNING: Do not edit - generated code. |
3148 | 3148 |
3149 | 3149 |
3150 @DocsEditable() | 3150 @DocsEditable() |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3192 | 3192 |
3193 | 3193 |
3194 @DocsEditable() | 3194 @DocsEditable() |
3195 @DomName('WebGLRenderingContextBase') | 3195 @DomName('WebGLRenderingContextBase') |
3196 @Experimental() // untriaged | 3196 @Experimental() // untriaged |
3197 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { | 3197 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { |
3198 // To suppress missing implicit constructor warnings. | 3198 // To suppress missing implicit constructor warnings. |
3199 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 3199 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
3200 | 3200 |
3201 } | 3201 } |
OLD | NEW |