| OLD | NEW |
| 1 /** | 1 /** |
| 2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
| 3 */ | 3 */ |
| 4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
| 5 | 5 |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_internal'; | 8 import 'dart:_internal'; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
| 11 import 'dart:nativewrappers'; | 11 import 'dart:nativewrappers'; |
| 12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
| 13 import 'dart:_blink' as _blink; | 13 import 'dart:_blink' as _blink; |
| 14 import 'dart:js' as js; | 14 import 'dart:js' as js; |
| 15 // DO NOT EDIT | 15 // DO NOT EDIT |
| 16 // Auto-generated dart:web_gl library. | 16 // Auto-generated dart:web_gl library. |
| 17 | 17 |
| 18 | 18 |
| 19 | 19 |
| 20 | 20 |
| 21 | 21 |
| 22 // FIXME: Can we make this private? | 22 // FIXME: Can we make this private? |
| 23 @Deprecated("Internal Use Only") | 23 @Deprecated("Internal Use Only") |
| 24 final web_glBlinkMap = { | 24 final web_glBlinkMap = { |
| 25 'ANGLEInstancedArrays': () => AngleInstancedArrays, | 25 'ANGLEInstancedArrays': () => AngleInstancedArrays, |
| 26 'EXTBlendMinMax': () => ExtBlendMinMax, | 26 'EXTBlendMinMax': () => ExtBlendMinMax, |
| 27 'EXTFragDepth': () => ExtFragDepth, | 27 'EXTFragDepth': () => ExtFragDepth, |
| 28 'EXTShaderTextureLOD': () => ExtShaderTextureLod, | 28 'EXTShaderTextureLOD': () => ExtShaderTextureLod, |
| 29 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic, | 29 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic, |
| 30 'EXTsRGB': () => EXTsRgb, | |
| 31 'OESElementIndexUint': () => OesElementIndexUint, | 30 'OESElementIndexUint': () => OesElementIndexUint, |
| 32 'OESStandardDerivatives': () => OesStandardDerivatives, | 31 'OESStandardDerivatives': () => OesStandardDerivatives, |
| 33 'OESTextureFloat': () => OesTextureFloat, | 32 'OESTextureFloat': () => OesTextureFloat, |
| 34 'OESTextureFloatLinear': () => OesTextureFloatLinear, | 33 'OESTextureFloatLinear': () => OesTextureFloatLinear, |
| 35 'OESTextureHalfFloat': () => OesTextureHalfFloat, | 34 'OESTextureHalfFloat': () => OesTextureHalfFloat, |
| 36 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear, | 35 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear, |
| 37 'OESVertexArrayObject': () => OesVertexArrayObject, | 36 'OESVertexArrayObject': () => OesVertexArrayObject, |
| 38 'WebGL2RenderingContext': () => RenderingContext2, | |
| 39 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase, | |
| 40 'WebGLActiveInfo': () => ActiveInfo, | 37 'WebGLActiveInfo': () => ActiveInfo, |
| 41 'WebGLBuffer': () => Buffer, | 38 'WebGLBuffer': () => Buffer, |
| 42 'WebGLCompressedTextureATC': () => CompressedTextureAtc, | 39 'WebGLCompressedTextureATC': () => CompressedTextureAtc, |
| 43 'WebGLCompressedTextureETC1': () => CompressedTextureETC1, | 40 'WebGLCompressedTextureETC1': () => CompressedTextureETC1, |
| 44 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc, | 41 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc, |
| 45 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC, | 42 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC, |
| 43 'WebGLContextAttributes': () => ContextAttributes, |
| 46 'WebGLContextEvent': () => ContextEvent, | 44 'WebGLContextEvent': () => ContextEvent, |
| 47 'WebGLDebugRendererInfo': () => DebugRendererInfo, | 45 'WebGLDebugRendererInfo': () => DebugRendererInfo, |
| 48 'WebGLDebugShaders': () => DebugShaders, | 46 'WebGLDebugShaders': () => DebugShaders, |
| 49 'WebGLDepthTexture': () => DepthTexture, | 47 'WebGLDepthTexture': () => DepthTexture, |
| 50 'WebGLDrawBuffers': () => DrawBuffers, | 48 'WebGLDrawBuffers': () => DrawBuffers, |
| 51 'WebGLFramebuffer': () => Framebuffer, | 49 'WebGLFramebuffer': () => Framebuffer, |
| 52 'WebGLLoseContext': () => LoseContext, | 50 'WebGLLoseContext': () => LoseContext, |
| 53 'WebGLProgram': () => Program, | 51 'WebGLProgram': () => Program, |
| 54 'WebGLQuery': () => Query, | |
| 55 'WebGLRenderbuffer': () => Renderbuffer, | 52 'WebGLRenderbuffer': () => Renderbuffer, |
| 56 'WebGLRenderingContext': () => RenderingContext, | 53 'WebGLRenderingContext': () => RenderingContext, |
| 57 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, | 54 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, |
| 58 'WebGLSampler': () => Sampler, | |
| 59 'WebGLShader': () => Shader, | 55 'WebGLShader': () => Shader, |
| 60 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, | 56 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, |
| 61 'WebGLSync': () => Sync, | |
| 62 'WebGLTexture': () => Texture, | 57 'WebGLTexture': () => Texture, |
| 63 'WebGLTransformFeedback': () => TransformFeedback, | |
| 64 'WebGLUniformLocation': () => UniformLocation, | 58 'WebGLUniformLocation': () => UniformLocation, |
| 65 'WebGLVertexArrayObject': () => VertexArrayObject, | 59 'WebGLVertexArrayObjectOES': () => VertexArrayObject, |
| 66 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes, | |
| 67 | 60 |
| 68 }; | 61 }; |
| 69 | 62 |
| 70 // FIXME: Can we make this private? | 63 // FIXME: Can we make this private? |
| 71 @Deprecated("Internal Use Only") | 64 @Deprecated("Internal Use Only") |
| 72 final web_glBlinkFunctionMap = { | 65 final web_glBlinkFunctionMap = { |
| 73 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstance
dArrays, | 66 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstance
dArrays, |
| 74 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax, | 67 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax, |
| 75 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth, | 68 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth, |
| 76 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextur
eLod, | 69 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextur
eLod, |
| 77 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreat
eExtTextureFilterAnisotropic, | 70 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreat
eExtTextureFilterAnisotropic, |
| 78 'EXTsRGB': () => EXTsRgb.internalCreateEXTsRgb, | |
| 79 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndex
Uint, | 71 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndex
Uint, |
| 80 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStanda
rdDerivatives, | 72 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStanda
rdDerivatives, |
| 81 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat, | 73 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat, |
| 82 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureF
loatLinear, | 74 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureF
loatLinear, |
| 83 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfF
loat, | 75 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfF
loat, |
| 84 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOes
TextureHalfFloatLinear, | 76 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOes
TextureHalfFloatLinear, |
| 85 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArra
yObject, | 77 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArra
yObject, |
| 86 'WebGL2RenderingContext': () => RenderingContext2.internalCreateRenderingConte
xt2, | |
| 87 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase.internalCreate
_WebGL2RenderingContextBase, | |
| 88 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo, | 78 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo, |
| 89 'WebGLBuffer': () => Buffer.internalCreateBuffer, | 79 'WebGLBuffer': () => Buffer.internalCreateBuffer, |
| 90 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompress
edTextureAtc, | 80 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompress
edTextureAtc, |
| 91 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompre
ssedTextureETC1, | 81 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompre
ssedTextureETC1, |
| 92 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateComp
ressedTexturePvrtc, | 82 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateComp
ressedTexturePvrtc, |
| 93 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompre
ssedTextureS3TC, | 83 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompre
ssedTextureS3TC, |
| 84 'WebGLContextAttributes': () => ContextAttributes.internalCreateContextAttribu
tes, |
| 94 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent, | 85 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent, |
| 95 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererI
nfo, | 86 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererI
nfo, |
| 96 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders, | 87 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders, |
| 97 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture, | 88 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture, |
| 98 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers, | 89 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers, |
| 99 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer, | 90 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer, |
| 100 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext, | 91 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext, |
| 101 'WebGLProgram': () => Program.internalCreateProgram, | 92 'WebGLProgram': () => Program.internalCreateProgram, |
| 102 'WebGLQuery': () => Query.internalCreateQuery, | |
| 103 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer, | 93 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer, |
| 104 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext
, | 94 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext
, |
| 105 'WebGLSampler': () => Sampler.internalCreateSampler, | |
| 106 'WebGLShader': () => Shader.internalCreateShader, | 95 'WebGLShader': () => Shader.internalCreateShader, |
| 107 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShader
PrecisionFormat, | 96 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShader
PrecisionFormat, |
| 108 'WebGLSync': () => Sync.internalCreateSync, | |
| 109 'WebGLTexture': () => Texture.internalCreateTexture, | 97 'WebGLTexture': () => Texture.internalCreateTexture, |
| 110 'WebGLTransformFeedback': () => TransformFeedback.internalCreateTransformFeedb
ack, | |
| 111 'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation, | 98 'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation, |
| 112 'WebGLVertexArrayObject': () => VertexArrayObject.internalCreateVertexArrayObj
ect, | 99 'WebGLVertexArrayObjectOES': () => VertexArrayObject.internalCreateVertexArray
Object, |
| 113 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.internalCreateVertexAr
rayObjectOes, | |
| 114 | 100 |
| 115 }; | 101 }; |
| 116 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 102 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 117 // for details. All rights reserved. Use of this source code is governed by a | 103 // for details. All rights reserved. Use of this source code is governed by a |
| 118 // BSD-style license that can be found in the LICENSE file. | 104 // BSD-style license that can be found in the LICENSE file. |
| 119 | 105 |
| 120 | 106 |
| 121 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | 107 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
| 122 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | 108 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; |
| 123 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | 109 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 | 695 |
| 710 } | 696 } |
| 711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 712 // for details. All rights reserved. Use of this source code is governed by a | 698 // for details. All rights reserved. Use of this source code is governed by a |
| 713 // BSD-style license that can be found in the LICENSE file. | 699 // BSD-style license that can be found in the LICENSE file. |
| 714 | 700 |
| 715 // WARNING: Do not edit - generated code. | 701 // WARNING: Do not edit - generated code. |
| 716 | 702 |
| 717 | 703 |
| 718 @DocsEditable() | 704 @DocsEditable() |
| 705 /** |
| 706 * The properties of a WebGL rendering context. |
| 707 * |
| 708 * If [alpha] is `true`, then the context has an alpha channel. |
| 709 * |
| 710 * If [antialias] is `true`, then antialiasing is performed by the browser, but |
| 711 * only if the browser's implementation of WebGL supports antialiasing. |
| 712 * |
| 713 * If [depth] is `true`, then the context has a depth buffer of at least 16 |
| 714 * bits. |
| 715 * |
| 716 * If [premultipliedAlpha] is `true`, then the context's colors are assumed to |
| 717 * be premultiplied. This means that color values are assumed to have been |
| 718 * multiplied by their alpha values. If [alpha] is `false`, then this flag is |
| 719 * ignored. |
| 720 * |
| 721 * If [preserveDrawingBuffer] is `false`, then all contents of the context are |
| 722 * cleared. If `true`, then all values will remain until changed or cleared. |
| 723 * |
| 724 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 |
| 725 * bits. |
| 726 */ |
| 727 @DomName('WebGLContextAttributes') |
| 728 @Unstable() |
| 729 class ContextAttributes extends DartHtmlDomObject { |
| 730 // To suppress missing implicit constructor warnings. |
| 731 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } |
| 732 |
| 733 @Deprecated("Internal Use Only") |
| 734 static ContextAttributes internalCreateContextAttributes() { |
| 735 return new ContextAttributes._internalWrap(); |
| 736 } |
| 737 |
| 738 factory ContextAttributes._internalWrap() { |
| 739 return new ContextAttributes.internal_(); |
| 740 } |
| 741 |
| 742 @Deprecated("Internal Use Only") |
| 743 ContextAttributes.internal_() { } |
| 744 |
| 745 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 746 int get hashCode => unwrap_jso(this).hashCode; |
| 747 |
| 748 @DomName('WebGLContextAttributes.alpha') |
| 749 @DocsEditable() |
| 750 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un
wrap_jso(this)); |
| 751 |
| 752 @DomName('WebGLContextAttributes.alpha') |
| 753 @DocsEditable() |
| 754 set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alpha_Set
ter_(unwrap_jso(this), value); |
| 755 |
| 756 @DomName('WebGLContextAttributes.antialias') |
| 757 @DocsEditable() |
| 758 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge
tter_(unwrap_jso(this)); |
| 759 |
| 760 @DomName('WebGLContextAttributes.antialias') |
| 761 @DocsEditable() |
| 762 set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance.antia
lias_Setter_(unwrap_jso(this), value); |
| 763 |
| 764 @DomName('WebGLContextAttributes.depth') |
| 765 @DocsEditable() |
| 766 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(un
wrap_jso(this)); |
| 767 |
| 768 @DomName('WebGLContextAttributes.depth') |
| 769 @DocsEditable() |
| 770 set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.depth_Set
ter_(unwrap_jso(this), value); |
| 771 |
| 772 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 773 @DocsEditable() |
| 774 @Experimental() // untriaged |
| 775 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in
stance.failIfMajorPerformanceCaveat_Getter_(unwrap_jso(this)); |
| 776 |
| 777 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 778 @DocsEditable() |
| 779 @Experimental() // untriaged |
| 780 set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextAttrib
utes.instance.failIfMajorPerformanceCaveat_Setter_(unwrap_jso(this), value); |
| 781 |
| 782 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 783 @DocsEditable() |
| 784 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre
multipliedAlpha_Getter_(unwrap_jso(this)); |
| 785 |
| 786 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 787 @DocsEditable() |
| 788 set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes.insta
nce.premultipliedAlpha_Setter_(unwrap_jso(this), value); |
| 789 |
| 790 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 791 @DocsEditable() |
| 792 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance.
preserveDrawingBuffer_Getter_(unwrap_jso(this)); |
| 793 |
| 794 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 795 @DocsEditable() |
| 796 set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttributes.in
stance.preserveDrawingBuffer_Setter_(unwrap_jso(this), value); |
| 797 |
| 798 @DomName('WebGLContextAttributes.stencil') |
| 799 @DocsEditable() |
| 800 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter
_(unwrap_jso(this)); |
| 801 |
| 802 @DomName('WebGLContextAttributes.stencil') |
| 803 @DocsEditable() |
| 804 set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.stencil
_Setter_(unwrap_jso(this), value); |
| 805 |
| 806 } |
| 807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 808 // for details. All rights reserved. Use of this source code is governed by a |
| 809 // BSD-style license that can be found in the LICENSE file. |
| 810 |
| 811 // WARNING: Do not edit - generated code. |
| 812 |
| 813 |
| 814 @DocsEditable() |
| 719 @DomName('WebGLContextEvent') | 815 @DomName('WebGLContextEvent') |
| 720 @Unstable() | 816 @Unstable() |
| 721 class ContextEvent extends Event { | 817 class ContextEvent extends Event { |
| 722 // To suppress missing implicit constructor warnings. | 818 // To suppress missing implicit constructor warnings. |
| 723 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 819 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
| 724 | 820 |
| 725 @DomName('WebGLContextEvent.WebGLContextEvent') | |
| 726 @DocsEditable() | |
| 727 factory ContextEvent(String type, [Map eventInit]) { | |
| 728 if (eventInit != null) { | |
| 729 var eventInit_1 = convertDartToNative_Dictionary(eventInit); | |
| 730 return wrap_jso(_blink.BlinkWebGLContextEvent.instance.constructorCallback
_2_(type, eventInit_1)); | |
| 731 } | |
| 732 return wrap_jso(_blink.BlinkWebGLContextEvent.instance.constructorCallback_1
_(type)); | |
| 733 } | |
| 734 | |
| 735 | 821 |
| 736 @Deprecated("Internal Use Only") | 822 @Deprecated("Internal Use Only") |
| 737 static ContextEvent internalCreateContextEvent() { | 823 static ContextEvent internalCreateContextEvent() { |
| 738 return new ContextEvent._internalWrap(); | 824 return new ContextEvent._internalWrap(); |
| 739 } | 825 } |
| 740 | 826 |
| 741 external factory ContextEvent._internalWrap(); | 827 external factory ContextEvent._internalWrap(); |
| 742 | 828 |
| 743 @Deprecated("Internal Use Only") | 829 @Deprecated("Internal Use Only") |
| 744 ContextEvent.internal_() : super.internal_(); | 830 ContextEvent.internal_() : super.internal_(); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 | 1116 |
| 1031 } | 1117 } |
| 1032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1033 // for details. All rights reserved. Use of this source code is governed by a | 1119 // for details. All rights reserved. Use of this source code is governed by a |
| 1034 // BSD-style license that can be found in the LICENSE file. | 1120 // BSD-style license that can be found in the LICENSE file. |
| 1035 | 1121 |
| 1036 // WARNING: Do not edit - generated code. | 1122 // WARNING: Do not edit - generated code. |
| 1037 | 1123 |
| 1038 | 1124 |
| 1039 @DocsEditable() | 1125 @DocsEditable() |
| 1040 @DomName('EXTsRGB') | |
| 1041 @Experimental() // untriaged | |
| 1042 class EXTsRgb extends DartHtmlDomObject { | |
| 1043 // To suppress missing implicit constructor warnings. | |
| 1044 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); } | |
| 1045 | |
| 1046 @Deprecated("Internal Use Only") | |
| 1047 static EXTsRgb internalCreateEXTsRgb() { | |
| 1048 return new EXTsRgb._internalWrap(); | |
| 1049 } | |
| 1050 | |
| 1051 factory EXTsRgb._internalWrap() { | |
| 1052 return new EXTsRgb.internal_(); | |
| 1053 } | |
| 1054 | |
| 1055 @Deprecated("Internal Use Only") | |
| 1056 EXTsRgb.internal_() { } | |
| 1057 | |
| 1058 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 1059 int get hashCode => unwrap_jso(this).hashCode; | |
| 1060 | |
| 1061 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') | |
| 1062 @DocsEditable() | |
| 1063 @Experimental() // untriaged | |
| 1064 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; | |
| 1065 | |
| 1066 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') | |
| 1067 @DocsEditable() | |
| 1068 @Experimental() // untriaged | |
| 1069 static const int SRGB8_ALPHA8_EXT = 0x8C43; | |
| 1070 | |
| 1071 @DomName('EXTsRGB.SRGB_ALPHA_EXT') | |
| 1072 @DocsEditable() | |
| 1073 @Experimental() // untriaged | |
| 1074 static const int SRGB_ALPHA_EXT = 0x8C42; | |
| 1075 | |
| 1076 @DomName('EXTsRGB.SRGB_EXT') | |
| 1077 @DocsEditable() | |
| 1078 @Experimental() // untriaged | |
| 1079 static const int SRGB_EXT = 0x8C40; | |
| 1080 | |
| 1081 } | |
| 1082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 1083 // for details. All rights reserved. Use of this source code is governed by a | |
| 1084 // BSD-style license that can be found in the LICENSE file. | |
| 1085 | |
| 1086 // WARNING: Do not edit - generated code. | |
| 1087 | |
| 1088 | |
| 1089 @DocsEditable() | |
| 1090 @DomName('EXTBlendMinMax') | 1126 @DomName('EXTBlendMinMax') |
| 1091 @Experimental() // untriaged | 1127 @Experimental() // untriaged |
| 1092 class ExtBlendMinMax extends DartHtmlDomObject { | 1128 class ExtBlendMinMax extends DartHtmlDomObject { |
| 1093 // To suppress missing implicit constructor warnings. | 1129 // To suppress missing implicit constructor warnings. |
| 1094 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } | 1130 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } |
| 1095 | 1131 |
| 1096 @Deprecated("Internal Use Only") | 1132 @Deprecated("Internal Use Only") |
| 1097 static ExtBlendMinMax internalCreateExtBlendMinMax() { | 1133 static ExtBlendMinMax internalCreateExtBlendMinMax() { |
| 1098 return new ExtBlendMinMax._internalWrap(); | 1134 return new ExtBlendMinMax._internalWrap(); |
| 1099 } | 1135 } |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1511 | 1547 |
| 1512 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1548 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1513 int get hashCode => unwrap_jso(this).hashCode; | 1549 int get hashCode => unwrap_jso(this).hashCode; |
| 1514 | 1550 |
| 1515 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1551 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
| 1516 @DocsEditable() | 1552 @DocsEditable() |
| 1517 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1553 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 1518 | 1554 |
| 1519 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1555 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 1520 @DocsEditable() | 1556 @DocsEditable() |
| 1521 void bindVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVerte
xArrayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_js
o(arrayObject)); | 1557 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a
rrayObject)); |
| 1522 | 1558 |
| 1523 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1559 @DomName('OESVertexArrayObject.createVertexArrayOES') |
| 1524 @DocsEditable() | 1560 @DocsEditable() |
| 1525 VertexArrayObjectOes createVertexArray() => wrap_jso(_blink.BlinkOESVertexArra
yObject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this))); | 1561 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkOESVertexArrayOb
ject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this))); |
| 1526 | 1562 |
| 1527 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1563 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
| 1528 @DocsEditable() | 1564 @DocsEditable() |
| 1529 void deleteVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVer
texArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwra
p_jso(arrayObject)); | 1565 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex
ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j
so(arrayObject)); |
| 1530 | 1566 |
| 1531 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1567 @DomName('OESVertexArrayObject.isVertexArrayOES') |
| 1532 @DocsEditable() | 1568 @DocsEditable() |
| 1533 bool isVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexA
rrayObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(ar
rayObject)); | 1569 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra
yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array
Object)); |
| 1534 | 1570 |
| 1535 } | 1571 } |
| 1536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1537 // for details. All rights reserved. Use of this source code is governed by a | 1573 // for details. All rights reserved. Use of this source code is governed by a |
| 1538 // BSD-style license that can be found in the LICENSE file. | 1574 // BSD-style license that can be found in the LICENSE file. |
| 1539 | 1575 |
| 1540 // WARNING: Do not edit - generated code. | 1576 // WARNING: Do not edit - generated code. |
| 1541 | 1577 |
| 1542 | 1578 |
| 1543 @DocsEditable() | 1579 @DocsEditable() |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1564 | 1600 |
| 1565 } | 1601 } |
| 1566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1567 // for details. All rights reserved. Use of this source code is governed by a | 1603 // for details. All rights reserved. Use of this source code is governed by a |
| 1568 // BSD-style license that can be found in the LICENSE file. | 1604 // BSD-style license that can be found in the LICENSE file. |
| 1569 | 1605 |
| 1570 // WARNING: Do not edit - generated code. | 1606 // WARNING: Do not edit - generated code. |
| 1571 | 1607 |
| 1572 | 1608 |
| 1573 @DocsEditable() | 1609 @DocsEditable() |
| 1574 @DomName('WebGLQuery') | |
| 1575 @Experimental() // untriaged | |
| 1576 class Query extends DartHtmlDomObject { | |
| 1577 // To suppress missing implicit constructor warnings. | |
| 1578 factory Query._() { throw new UnsupportedError("Not supported"); } | |
| 1579 | |
| 1580 @Deprecated("Internal Use Only") | |
| 1581 static Query internalCreateQuery() { | |
| 1582 return new Query._internalWrap(); | |
| 1583 } | |
| 1584 | |
| 1585 factory Query._internalWrap() { | |
| 1586 return new Query.internal_(); | |
| 1587 } | |
| 1588 | |
| 1589 @Deprecated("Internal Use Only") | |
| 1590 Query.internal_() { } | |
| 1591 | |
| 1592 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 1593 int get hashCode => unwrap_jso(this).hashCode; | |
| 1594 | |
| 1595 } | |
| 1596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 1597 // for details. All rights reserved. Use of this source code is governed by a | |
| 1598 // BSD-style license that can be found in the LICENSE file. | |
| 1599 | |
| 1600 // WARNING: Do not edit - generated code. | |
| 1601 | |
| 1602 | |
| 1603 @DocsEditable() | |
| 1604 @DomName('WebGLRenderbuffer') | 1610 @DomName('WebGLRenderbuffer') |
| 1605 @Unstable() | 1611 @Unstable() |
| 1606 class Renderbuffer extends DartHtmlDomObject { | 1612 class Renderbuffer extends DartHtmlDomObject { |
| 1607 // To suppress missing implicit constructor warnings. | 1613 // To suppress missing implicit constructor warnings. |
| 1608 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } | 1614 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } |
| 1609 | 1615 |
| 1610 @Deprecated("Internal Use Only") | 1616 @Deprecated("Internal Use Only") |
| 1611 static Renderbuffer internalCreateRenderbuffer() { | 1617 static Renderbuffer internalCreateRenderbuffer() { |
| 1612 return new Renderbuffer._internalWrap(); | 1618 return new Renderbuffer._internalWrap(); |
| 1613 } | 1619 } |
| (...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2899 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeR
GB, modeAlpha); | 2905 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeR
GB, modeAlpha); |
| 2900 | 2906 |
| 2901 @DomName('WebGLRenderingContext.blendFunc') | 2907 @DomName('WebGLRenderingContext.blendFunc') |
| 2902 @DocsEditable() | 2908 @DocsEditable() |
| 2903 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); | 2909 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); |
| 2904 | 2910 |
| 2905 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2911 @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 2906 @DocsEditable() | 2912 @DocsEditable() |
| 2907 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_
jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); | 2913 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_
jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); |
| 2908 | 2914 |
| 2915 @DomName('WebGLRenderingContext.bufferByteData') |
| 2916 @DocsEditable() |
| 2917 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb
GLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, dat
a, usage); |
| 2918 |
| 2909 void bufferData(int target, data_OR_size, int usage) { | 2919 void bufferData(int target, data_OR_size, int usage) { |
| 2910 if ((usage is int) && (data_OR_size is int) && (target is int)) { | 2920 if ((usage is int) && (data_OR_size is int) && (target is int)) { |
| 2911 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); | 2921 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); |
| 2912 return; | 2922 return; |
| 2913 } | 2923 } |
| 2914 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { | 2924 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { |
| 2915 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); | 2925 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); |
| 2916 return; | 2926 return; |
| 2917 } | 2927 } |
| 2918 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) &
& (target is int)) { | 2928 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) &
& (target is int)) { |
| 2919 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); | 2929 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); |
| 2920 return; | 2930 return; |
| 2921 } | 2931 } |
| 2922 throw new ArgumentError("Incorrect number or type of arguments"); | 2932 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2923 } | 2933 } |
| 2924 | 2934 |
| 2935 @DomName('WebGLRenderingContext.bufferDataTyped') |
| 2936 @DocsEditable() |
| 2937 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb
GLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unw
rap_jso(data), usage); |
| 2938 |
| 2939 @DomName('WebGLRenderingContext.bufferSubByteData') |
| 2940 @DocsEditable() |
| 2941 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin
kWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), targ
et, offset, data); |
| 2942 |
| 2925 void bufferSubData(int target, int offset, data) { | 2943 void bufferSubData(int target, int offset, data) { |
| 2926 if ((data is TypedData) && (offset is int) && (target is int)) { | 2944 if ((data is TypedData) && (offset is int) && (target is int)) { |
| 2927 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra
p_jso(this), target, offset, unwrap_jso(data)); | 2945 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra
p_jso(this), target, offset, unwrap_jso(data)); |
| 2928 return; | 2946 return; |
| 2929 } | 2947 } |
| 2930 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in
t)) { | 2948 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in
t)) { |
| 2931 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra
p_jso(this), target, offset, unwrap_jso(data)); | 2949 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra
p_jso(this), target, offset, unwrap_jso(data)); |
| 2932 return; | 2950 return; |
| 2933 } | 2951 } |
| 2934 throw new ArgumentError("Incorrect number or type of arguments"); | 2952 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2935 } | 2953 } |
| 2936 | 2954 |
| 2955 @DomName('WebGLRenderingContext.bufferSubDataTyped') |
| 2956 @DocsEditable() |
| 2957 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin
kWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), targ
et, offset, unwrap_jso(data)); |
| 2958 |
| 2937 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2959 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 2938 @DocsEditable() | 2960 @DocsEditable() |
| 2939 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in
stance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); | 2961 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in
stance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); |
| 2940 | 2962 |
| 2941 @DomName('WebGLRenderingContext.clear') | 2963 @DomName('WebGLRenderingContext.clear') |
| 2942 @DocsEditable() | 2964 @DocsEditable() |
| 2943 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb
ack_1_(unwrap_jso(this), mask); | 2965 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb
ack_1_(unwrap_jso(this), mask); |
| 2944 | 2966 |
| 2945 @DomName('WebGLRenderingContext.clearColor') | 2967 @DomName('WebGLRenderingContext.clearColor') |
| 2946 @DocsEditable() | 2968 @DocsEditable() |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3109 @DomName('WebGLRenderingContext.getAttribLocation') | 3131 @DomName('WebGLRenderingContext.getAttribLocation') |
| 3110 @DocsEditable() | 3132 @DocsEditable() |
| 3111 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p
rogram), name); | 3133 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p
rogram), name); |
| 3112 | 3134 |
| 3113 @DomName('WebGLRenderingContext.getBufferParameter') | 3135 @DomName('WebGLRenderingContext.getBufferParameter') |
| 3114 @DocsEditable() | 3136 @DocsEditable() |
| 3115 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL
RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe
t, pname)); | 3137 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL
RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe
t, pname)); |
| 3116 | 3138 |
| 3117 @DomName('WebGLRenderingContext.getContextAttributes') | 3139 @DomName('WebGLRenderingContext.getContextAttributes') |
| 3118 @DocsEditable() | 3140 @DocsEditable() |
| 3119 getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_b
link.BlinkWebGLRenderingContext.instance.getContextAttributes_Callback_0_(unwrap
_jso(this)))); | 3141 ContextAttributes getContextAttributes() => wrap_jso(_blink.BlinkWebGLRenderin
gContext.instance.getContextAttributes_Callback_0_(unwrap_jso(this))); |
| 3120 | 3142 |
| 3121 @DomName('WebGLRenderingContext.getError') | 3143 @DomName('WebGLRenderingContext.getError') |
| 3122 @DocsEditable() | 3144 @DocsEditable() |
| 3123 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback
_0_(unwrap_jso(this)); | 3145 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback
_0_(unwrap_jso(this)); |
| 3124 | 3146 |
| 3125 @DomName('WebGLRenderingContext.getExtension') | 3147 @DomName('WebGLRenderingContext.getExtension') |
| 3126 @DocsEditable() | 3148 @DocsEditable() |
| 3127 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext
.instance.getExtension_Callback_1_(unwrap_jso(this), name)); | 3149 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext
.instance.getExtension_Callback_1_(unwrap_jso(this), name)); |
| 3128 | 3150 |
| 3129 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 3151 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3299 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j
so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap
_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); | 3321 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j
so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap
_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); |
| 3300 return; | 3322 return; |
| 3301 } | 3323 } |
| 3302 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) { | 3324 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) { |
| 3303 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j
so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap
_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); | 3325 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j
so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap
_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); |
| 3304 return; | 3326 return; |
| 3305 } | 3327 } |
| 3306 throw new ArgumentError("Incorrect number or type of arguments"); | 3328 throw new ArgumentError("Incorrect number or type of arguments"); |
| 3307 } | 3329 } |
| 3308 | 3330 |
| 3331 @DomName('WebGLRenderingContext.texImage2DCanvas') |
| 3332 @DocsEditable() |
| 3333 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.instance.tex
Image2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, typ
e, unwrap_jso(canvas)); |
| 3334 |
| 3335 @DomName('WebGLRenderingContext.texImage2DImage') |
| 3336 @DocsEditable() |
| 3337 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instance.texIma
ge2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, type,
unwrap_jso(image)); |
| 3338 |
| 3339 @DomName('WebGLRenderingContext.texImage2DImageData') |
| 3340 @DocsEditable() |
| 3341 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.instance.texI
mage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, type
, unwrap_jso(pixels)); |
| 3342 |
| 3343 @DomName('WebGLRenderingContext.texImage2DVideo') |
| 3344 @DocsEditable() |
| 3345 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instance.texIma
ge2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, type,
unwrap_jso(video)); |
| 3346 |
| 3309 @DomName('WebGLRenderingContext.texParameterf') | 3347 @DomName('WebGLRenderingContext.texParameterf') |
| 3310 @DocsEditable() | 3348 @DocsEditable() |
| 3311 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname,
param); | 3349 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname,
param); |
| 3312 | 3350 |
| 3313 @DomName('WebGLRenderingContext.texParameteri') | 3351 @DomName('WebGLRenderingContext.texParameteri') |
| 3314 @DocsEditable() | 3352 @DocsEditable() |
| 3315 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname,
param); | 3353 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname,
param); |
| 3316 | 3354 |
| 3317 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]) { | 3355 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]) { |
| 3318 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)) { | 3356 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)) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 3331 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra
p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u
nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); | 3369 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra
p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u
nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); |
| 3332 return; | 3370 return; |
| 3333 } | 3371 } |
| 3334 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) { | 3372 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) { |
| 3335 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra
p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u
nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); | 3373 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra
p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u
nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); |
| 3336 return; | 3374 return; |
| 3337 } | 3375 } |
| 3338 throw new ArgumentError("Incorrect number or type of arguments"); | 3376 throw new ArgumentError("Incorrect number or type of arguments"); |
| 3339 } | 3377 } |
| 3340 | 3378 |
| 3379 @DomName('WebGLRenderingContext.texSubImage2DCanvas') |
| 3380 @DocsEditable() |
| 3381 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.ins
tance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffse
t, format, type, unwrap_jso(canvas)); |
| 3382 |
| 3383 @DomName('WebGLRenderingContext.texSubImage2DImage') |
| 3384 @DocsEditable() |
| 3385 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instan
ce.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset,
format, type, unwrap_jso(image)); |
| 3386 |
| 3387 @DomName('WebGLRenderingContext.texSubImage2DImageData') |
| 3388 @DocsEditable() |
| 3389 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.inst
ance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset
, format, type, unwrap_jso(pixels)); |
| 3390 |
| 3391 @DomName('WebGLRenderingContext.texSubImage2DVideo') |
| 3392 @DocsEditable() |
| 3393 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instan
ce.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset,
format, type, unwrap_jso(video)); |
| 3394 |
| 3341 @DomName('WebGLRenderingContext.uniform1f') | 3395 @DomName('WebGLRenderingContext.uniform1f') |
| 3342 @DocsEditable() | 3396 @DocsEditable() |
| 3343 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x)
; | 3397 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x)
; |
| 3344 | 3398 |
| 3345 void uniform1fv(UniformLocation location, v) { | 3399 @DomName('WebGLRenderingContext.uniform1fv') |
| 3346 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | 3400 @DocsEditable() |
| 3347 _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3401 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); |
| 3348 return; | 3402 |
| 3349 } | |
| 3350 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 3351 _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3352 return; | |
| 3353 } | |
| 3354 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3355 } | |
| 3356 | |
| 3357 @DomName('WebGLRenderingContext.uniform1i') | 3403 @DomName('WebGLRenderingContext.uniform1i') |
| 3358 @DocsEditable() | 3404 @DocsEditable() |
| 3359 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x)
; | 3405 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x)
; |
| 3360 | 3406 |
| 3361 void uniform1iv(UniformLocation location, v) { | 3407 @DomName('WebGLRenderingContext.uniform1iv') |
| 3362 if ((v is Int32List) && (location is UniformLocation || location == null)) { | 3408 @DocsEditable() |
| 3363 _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3409 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); |
| 3364 return; | 3410 |
| 3365 } | |
| 3366 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 3367 _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3368 return; | |
| 3369 } | |
| 3370 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3371 } | |
| 3372 | |
| 3373 @DomName('WebGLRenderingContext.uniform2f') | 3411 @DomName('WebGLRenderingContext.uniform2f') |
| 3374 @DocsEditable() | 3412 @DocsEditable() |
| 3375 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen
deringContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(locati
on), x, y); | 3413 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen
deringContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(locati
on), x, y); |
| 3376 | 3414 |
| 3377 void uniform2fv(UniformLocation location, v) { | 3415 @DomName('WebGLRenderingContext.uniform2fv') |
| 3378 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | 3416 @DocsEditable() |
| 3379 _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3417 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); |
| 3380 return; | 3418 |
| 3381 } | |
| 3382 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 3383 _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3384 return; | |
| 3385 } | |
| 3386 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3387 } | |
| 3388 | |
| 3389 @DomName('WebGLRenderingContext.uniform2i') | 3419 @DomName('WebGLRenderingContext.uniform2i') |
| 3390 @DocsEditable() | 3420 @DocsEditable() |
| 3391 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen
deringContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(locati
on), x, y); | 3421 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen
deringContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(locati
on), x, y); |
| 3392 | 3422 |
| 3393 void uniform2iv(UniformLocation location, v) { | 3423 @DomName('WebGLRenderingContext.uniform2iv') |
| 3394 if ((v is Int32List) && (location is UniformLocation || location == null)) { | 3424 @DocsEditable() |
| 3395 _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3425 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); |
| 3396 return; | 3426 |
| 3397 } | |
| 3398 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 3399 _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3400 return; | |
| 3401 } | |
| 3402 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3403 } | |
| 3404 | |
| 3405 @DomName('WebGLRenderingContext.uniform3f') | 3427 @DomName('WebGLRenderingContext.uniform3f') |
| 3406 @DocsEditable() | 3428 @DocsEditable() |
| 3407 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGLRenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_jso
(location), x, y, z); | 3429 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGLRenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_jso
(location), x, y, z); |
| 3408 | 3430 |
| 3409 void uniform3fv(UniformLocation location, v) { | 3431 @DomName('WebGLRenderingContext.uniform3fv') |
| 3410 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | 3432 @DocsEditable() |
| 3411 _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3433 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); |
| 3412 return; | 3434 |
| 3413 } | |
| 3414 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 3415 _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3416 return; | |
| 3417 } | |
| 3418 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3419 } | |
| 3420 | |
| 3421 @DomName('WebGLRenderingContext.uniform3i') | 3435 @DomName('WebGLRenderingContext.uniform3i') |
| 3422 @DocsEditable() | 3436 @DocsEditable() |
| 3423 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGLRenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_jso
(location), x, y, z); | 3437 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGLRenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_jso
(location), x, y, z); |
| 3424 | 3438 |
| 3425 void uniform3iv(UniformLocation location, v) { | 3439 @DomName('WebGLRenderingContext.uniform3iv') |
| 3426 if ((v is Int32List) && (location is UniformLocation || location == null)) { | 3440 @DocsEditable() |
| 3427 _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3441 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); |
| 3428 return; | 3442 |
| 3429 } | |
| 3430 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 3431 _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3432 return; | |
| 3433 } | |
| 3434 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3435 } | |
| 3436 | |
| 3437 @DomName('WebGLRenderingContext.uniform4f') | 3443 @DomName('WebGLRenderingContext.uniform4f') |
| 3438 @DocsEditable() | 3444 @DocsEditable() |
| 3439 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), unw
rap_jso(location), x, y, z, w); | 3445 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), unw
rap_jso(location), x, y, z, w); |
| 3440 | 3446 |
| 3441 void uniform4fv(UniformLocation location, v) { | 3447 @DomName('WebGLRenderingContext.uniform4fv') |
| 3442 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | 3448 @DocsEditable() |
| 3443 _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3449 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); |
| 3444 return; | 3450 |
| 3445 } | |
| 3446 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 3447 _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | |
| 3448 return; | |
| 3449 } | |
| 3450 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3451 } | |
| 3452 | |
| 3453 @DomName('WebGLRenderingContext.uniform4i') | 3451 @DomName('WebGLRenderingContext.uniform4i') |
| 3454 @DocsEditable() | 3452 @DocsEditable() |
| 3455 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), unw
rap_jso(location), x, y, z, w); | 3453 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), unw
rap_jso(location), x, y, z, w); |
| 3456 | 3454 |
| 3457 void uniform4iv(UniformLocation location, v) { | 3455 @DomName('WebGLRenderingContext.uniform4iv') |
| 3458 if ((v is Int32List) && (location is UniformLocation || location == null)) { | 3456 @DocsEditable() |
| 3459 _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3457 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); |
| 3460 return; | 3458 |
| 3461 } | 3459 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
| 3462 if ((v is List<int>) && (location is UniformLocation || location == null)) { | 3460 @DocsEditable() |
| 3463 _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(unwrap_j
so(this), unwrap_jso(location), unwrap_jso(v)); | 3461 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(
unwrap_jso(this), unwrap_jso(location), transpose, array); |
| 3464 return; | 3462 |
| 3465 } | 3463 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
| 3466 throw new ArgumentError("Incorrect number or type of arguments"); | 3464 @DocsEditable() |
| 3467 } | 3465 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(
unwrap_jso(this), unwrap_jso(location), transpose, array); |
| 3468 | 3466 |
| 3469 void uniformMatrix2fv(UniformLocation location, bool transpose, array) { | 3467 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
| 3470 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | 3468 @DocsEditable() |
| 3471 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(un
wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | 3469 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(
unwrap_jso(this), unwrap_jso(location), transpose, array); |
| 3472 return; | 3470 |
| 3473 } | |
| 3474 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 3475 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(un
wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 3476 return; | |
| 3477 } | |
| 3478 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3479 } | |
| 3480 | |
| 3481 void uniformMatrix3fv(UniformLocation location, bool transpose, array) { | |
| 3482 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 3483 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(un
wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 3484 return; | |
| 3485 } | |
| 3486 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 3487 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(un
wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 3488 return; | |
| 3489 } | |
| 3490 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3491 } | |
| 3492 | |
| 3493 void uniformMatrix4fv(UniformLocation location, bool transpose, array) { | |
| 3494 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 3495 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(un
wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 3496 return; | |
| 3497 } | |
| 3498 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 3499 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(un
wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 3500 return; | |
| 3501 } | |
| 3502 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3503 } | |
| 3504 | |
| 3505 @DomName('WebGLRenderingContext.useProgram') | 3471 @DomName('WebGLRenderingContext.useProgram') |
| 3506 @DocsEditable() | 3472 @DocsEditable() |
| 3507 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance
.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | 3473 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance
.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 3508 | 3474 |
| 3509 @DomName('WebGLRenderingContext.validateProgram') | 3475 @DomName('WebGLRenderingContext.validateProgram') |
| 3510 @DocsEditable() | 3476 @DocsEditable() |
| 3511 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins
tance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | 3477 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins
tance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 3512 | 3478 |
| 3513 @DomName('WebGLRenderingContext.vertexAttrib1f') | 3479 @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 3514 @DocsEditable() | 3480 @DocsEditable() |
| 3515 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst
ance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x); | 3481 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst
ance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x); |
| 3516 | 3482 |
| 3517 void vertexAttrib1fv(int indx, values) { | 3483 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 3518 if ((values is Float32List) && (indx is int)) { | 3484 @DocsEditable() |
| 3519 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | 3485 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, values); |
| 3520 return; | 3486 |
| 3521 } | |
| 3522 if ((values is List<num>) && (indx is int)) { | |
| 3523 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | |
| 3524 return; | |
| 3525 } | |
| 3526 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3527 } | |
| 3528 | |
| 3529 @DomName('WebGLRenderingContext.vertexAttrib2f') | 3487 @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 3530 @DocsEditable() | 3488 @DocsEditable() |
| 3531 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xt.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y); | 3489 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xt.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y); |
| 3532 | 3490 |
| 3533 void vertexAttrib2fv(int indx, values) { | 3491 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 3534 if ((values is Float32List) && (indx is int)) { | 3492 @DocsEditable() |
| 3535 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | 3493 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, values); |
| 3536 return; | 3494 |
| 3537 } | |
| 3538 if ((values is List<num>) && (indx is int)) { | |
| 3539 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | |
| 3540 return; | |
| 3541 } | |
| 3542 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3543 } | |
| 3544 | |
| 3545 @DomName('WebGLRenderingContext.vertexAttrib3f') | 3495 @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 3546 @DocsEditable() | 3496 @DocsEditable() |
| 3547 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z); | 3497 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z); |
| 3548 | 3498 |
| 3549 void vertexAttrib3fv(int indx, values) { | 3499 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 3550 if ((values is Float32List) && (indx is int)) { | 3500 @DocsEditable() |
| 3551 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | 3501 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, values); |
| 3552 return; | 3502 |
| 3553 } | |
| 3554 if ((values is List<num>) && (indx is int)) { | |
| 3555 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | |
| 3556 return; | |
| 3557 } | |
| 3558 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3559 } | |
| 3560 | |
| 3561 @DomName('WebGLRenderingContext.vertexAttrib4f') | 3503 @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 3562 @DocsEditable() | 3504 @DocsEditable() |
| 3563 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
RenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x,
y, z, w); | 3505 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
RenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x,
y, z, w); |
| 3564 | 3506 |
| 3565 void vertexAttrib4fv(int indx, values) { | 3507 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 3566 if ((values is Float32List) && (indx is int)) { | 3508 @DocsEditable() |
| 3567 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | 3509 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, values); |
| 3568 return; | 3510 |
| 3569 } | |
| 3570 if ((values is List<num>) && (indx is int)) { | |
| 3571 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(unw
rap_jso(this), indx, unwrap_jso(values)); | |
| 3572 return; | |
| 3573 } | |
| 3574 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3575 } | |
| 3576 | |
| 3577 @DomName('WebGLRenderingContext.vertexAttribPointer') | 3511 @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 3578 @DocsEditable() | 3512 @DocsEditable() |
| 3579 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPoin
ter_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset); | 3513 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPoin
ter_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset); |
| 3580 | 3514 |
| 3581 @DomName('WebGLRenderingContext.viewport') | 3515 @DomName('WebGLRenderingContext.viewport') |
| 3582 @DocsEditable() | 3516 @DocsEditable() |
| 3583 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi
ngContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height); | 3517 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi
ngContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height); |
| 3584 | 3518 |
| 3585 | 3519 |
| 3586 /** | 3520 /** |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3638 */ | 3572 */ |
| 3639 void texSubImage2DTyped(int targetTexture, int levelOfDetail, | 3573 void texSubImage2DTyped(int targetTexture, int levelOfDetail, |
| 3640 int xOffset, int yOffset, int width, int height, int format, | 3574 int xOffset, int yOffset, int width, int height, int format, |
| 3641 int type, TypedData data) { | 3575 int type, TypedData data) { |
| 3642 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, | 3576 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, |
| 3643 width, height, format, type, data); | 3577 width, height, format, type, data); |
| 3644 } | 3578 } |
| 3645 } | 3579 } |
| 3646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3647 // for details. All rights reserved. Use of this source code is governed by a | 3581 // for details. All rights reserved. Use of this source code is governed by a |
| 3648 // BSD-style license that can be found in the LICENSE file. | |
| 3649 | |
| 3650 // WARNING: Do not edit - generated code. | |
| 3651 | |
| 3652 | |
| 3653 @DocsEditable() | |
| 3654 @DomName('WebGL2RenderingContext') | |
| 3655 @Experimental() // untriaged | |
| 3656 class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
textBase, _WebGLRenderingContextBase { | |
| 3657 // To suppress missing implicit constructor warnings. | |
| 3658 factory RenderingContext2._() { throw new UnsupportedError("Not supported"); } | |
| 3659 | |
| 3660 @Deprecated("Internal Use Only") | |
| 3661 static RenderingContext2 internalCreateRenderingContext2() { | |
| 3662 return new RenderingContext2._internalWrap(); | |
| 3663 } | |
| 3664 | |
| 3665 factory RenderingContext2._internalWrap() { | |
| 3666 return new RenderingContext2.internal_(); | |
| 3667 } | |
| 3668 | |
| 3669 @Deprecated("Internal Use Only") | |
| 3670 RenderingContext2.internal_() { } | |
| 3671 | |
| 3672 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 3673 int get hashCode => unwrap_jso(this).hashCode; | |
| 3674 | |
| 3675 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') | |
| 3676 @DocsEditable() | |
| 3677 @Experimental() // untriaged | |
| 3678 static const int ACTIVE_ATTRIBUTES = 0x8B89; | |
| 3679 | |
| 3680 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') | |
| 3681 @DocsEditable() | |
| 3682 @Experimental() // untriaged | |
| 3683 static const int ACTIVE_TEXTURE = 0x84E0; | |
| 3684 | |
| 3685 @DomName('WebGL2RenderingContext.ACTIVE_UNIFORMS') | |
| 3686 @DocsEditable() | |
| 3687 @Experimental() // untriaged | |
| 3688 static const int ACTIVE_UNIFORMS = 0x8B86; | |
| 3689 | |
| 3690 @DomName('WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE') | |
| 3691 @DocsEditable() | |
| 3692 @Experimental() // untriaged | |
| 3693 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; | |
| 3694 | |
| 3695 @DomName('WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE') | |
| 3696 @DocsEditable() | |
| 3697 @Experimental() // untriaged | |
| 3698 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; | |
| 3699 | |
| 3700 @DomName('WebGL2RenderingContext.ALPHA') | |
| 3701 @DocsEditable() | |
| 3702 @Experimental() // untriaged | |
| 3703 static const int ALPHA = 0x1906; | |
| 3704 | |
| 3705 @DomName('WebGL2RenderingContext.ALPHA_BITS') | |
| 3706 @DocsEditable() | |
| 3707 @Experimental() // untriaged | |
| 3708 static const int ALPHA_BITS = 0x0D55; | |
| 3709 | |
| 3710 @DomName('WebGL2RenderingContext.ALWAYS') | |
| 3711 @DocsEditable() | |
| 3712 @Experimental() // untriaged | |
| 3713 static const int ALWAYS = 0x0207; | |
| 3714 | |
| 3715 @DomName('WebGL2RenderingContext.ARRAY_BUFFER') | |
| 3716 @DocsEditable() | |
| 3717 @Experimental() // untriaged | |
| 3718 static const int ARRAY_BUFFER = 0x8892; | |
| 3719 | |
| 3720 @DomName('WebGL2RenderingContext.ARRAY_BUFFER_BINDING') | |
| 3721 @DocsEditable() | |
| 3722 @Experimental() // untriaged | |
| 3723 static const int ARRAY_BUFFER_BINDING = 0x8894; | |
| 3724 | |
| 3725 @DomName('WebGL2RenderingContext.ATTACHED_SHADERS') | |
| 3726 @DocsEditable() | |
| 3727 @Experimental() // untriaged | |
| 3728 static const int ATTACHED_SHADERS = 0x8B85; | |
| 3729 | |
| 3730 @DomName('WebGL2RenderingContext.BACK') | |
| 3731 @DocsEditable() | |
| 3732 @Experimental() // untriaged | |
| 3733 static const int BACK = 0x0405; | |
| 3734 | |
| 3735 @DomName('WebGL2RenderingContext.BLEND') | |
| 3736 @DocsEditable() | |
| 3737 @Experimental() // untriaged | |
| 3738 static const int BLEND = 0x0BE2; | |
| 3739 | |
| 3740 @DomName('WebGL2RenderingContext.BLEND_COLOR') | |
| 3741 @DocsEditable() | |
| 3742 @Experimental() // untriaged | |
| 3743 static const int BLEND_COLOR = 0x8005; | |
| 3744 | |
| 3745 @DomName('WebGL2RenderingContext.BLEND_DST_ALPHA') | |
| 3746 @DocsEditable() | |
| 3747 @Experimental() // untriaged | |
| 3748 static const int BLEND_DST_ALPHA = 0x80CA; | |
| 3749 | |
| 3750 @DomName('WebGL2RenderingContext.BLEND_DST_RGB') | |
| 3751 @DocsEditable() | |
| 3752 @Experimental() // untriaged | |
| 3753 static const int BLEND_DST_RGB = 0x80C8; | |
| 3754 | |
| 3755 @DomName('WebGL2RenderingContext.BLEND_EQUATION') | |
| 3756 @DocsEditable() | |
| 3757 @Experimental() // untriaged | |
| 3758 static const int BLEND_EQUATION = 0x8009; | |
| 3759 | |
| 3760 @DomName('WebGL2RenderingContext.BLEND_EQUATION_ALPHA') | |
| 3761 @DocsEditable() | |
| 3762 @Experimental() // untriaged | |
| 3763 static const int BLEND_EQUATION_ALPHA = 0x883D; | |
| 3764 | |
| 3765 @DomName('WebGL2RenderingContext.BLEND_EQUATION_RGB') | |
| 3766 @DocsEditable() | |
| 3767 @Experimental() // untriaged | |
| 3768 static const int BLEND_EQUATION_RGB = 0x8009; | |
| 3769 | |
| 3770 @DomName('WebGL2RenderingContext.BLEND_SRC_ALPHA') | |
| 3771 @DocsEditable() | |
| 3772 @Experimental() // untriaged | |
| 3773 static const int BLEND_SRC_ALPHA = 0x80CB; | |
| 3774 | |
| 3775 @DomName('WebGL2RenderingContext.BLEND_SRC_RGB') | |
| 3776 @DocsEditable() | |
| 3777 @Experimental() // untriaged | |
| 3778 static const int BLEND_SRC_RGB = 0x80C9; | |
| 3779 | |
| 3780 @DomName('WebGL2RenderingContext.BLUE_BITS') | |
| 3781 @DocsEditable() | |
| 3782 @Experimental() // untriaged | |
| 3783 static const int BLUE_BITS = 0x0D54; | |
| 3784 | |
| 3785 @DomName('WebGL2RenderingContext.BOOL') | |
| 3786 @DocsEditable() | |
| 3787 @Experimental() // untriaged | |
| 3788 static const int BOOL = 0x8B56; | |
| 3789 | |
| 3790 @DomName('WebGL2RenderingContext.BOOL_VEC2') | |
| 3791 @DocsEditable() | |
| 3792 @Experimental() // untriaged | |
| 3793 static const int BOOL_VEC2 = 0x8B57; | |
| 3794 | |
| 3795 @DomName('WebGL2RenderingContext.BOOL_VEC3') | |
| 3796 @DocsEditable() | |
| 3797 @Experimental() // untriaged | |
| 3798 static const int BOOL_VEC3 = 0x8B58; | |
| 3799 | |
| 3800 @DomName('WebGL2RenderingContext.BOOL_VEC4') | |
| 3801 @DocsEditable() | |
| 3802 @Experimental() // untriaged | |
| 3803 static const int BOOL_VEC4 = 0x8B59; | |
| 3804 | |
| 3805 @DomName('WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL') | |
| 3806 @DocsEditable() | |
| 3807 @Experimental() // untriaged | |
| 3808 static const int BROWSER_DEFAULT_WEBGL = 0x9244; | |
| 3809 | |
| 3810 @DomName('WebGL2RenderingContext.BUFFER_SIZE') | |
| 3811 @DocsEditable() | |
| 3812 @Experimental() // untriaged | |
| 3813 static const int BUFFER_SIZE = 0x8764; | |
| 3814 | |
| 3815 @DomName('WebGL2RenderingContext.BUFFER_USAGE') | |
| 3816 @DocsEditable() | |
| 3817 @Experimental() // untriaged | |
| 3818 static const int BUFFER_USAGE = 0x8765; | |
| 3819 | |
| 3820 @DomName('WebGL2RenderingContext.BYTE') | |
| 3821 @DocsEditable() | |
| 3822 @Experimental() // untriaged | |
| 3823 static const int BYTE = 0x1400; | |
| 3824 | |
| 3825 @DomName('WebGL2RenderingContext.CCW') | |
| 3826 @DocsEditable() | |
| 3827 @Experimental() // untriaged | |
| 3828 static const int CCW = 0x0901; | |
| 3829 | |
| 3830 @DomName('WebGL2RenderingContext.CLAMP_TO_EDGE') | |
| 3831 @DocsEditable() | |
| 3832 @Experimental() // untriaged | |
| 3833 static const int CLAMP_TO_EDGE = 0x812F; | |
| 3834 | |
| 3835 @DomName('WebGL2RenderingContext.COLOR_ATTACHMENT0') | |
| 3836 @DocsEditable() | |
| 3837 @Experimental() // untriaged | |
| 3838 static const int COLOR_ATTACHMENT0 = 0x8CE0; | |
| 3839 | |
| 3840 @DomName('WebGL2RenderingContext.COLOR_BUFFER_BIT') | |
| 3841 @DocsEditable() | |
| 3842 @Experimental() // untriaged | |
| 3843 static const int COLOR_BUFFER_BIT = 0x00004000; | |
| 3844 | |
| 3845 @DomName('WebGL2RenderingContext.COLOR_CLEAR_VALUE') | |
| 3846 @DocsEditable() | |
| 3847 @Experimental() // untriaged | |
| 3848 static const int COLOR_CLEAR_VALUE = 0x0C22; | |
| 3849 | |
| 3850 @DomName('WebGL2RenderingContext.COLOR_WRITEMASK') | |
| 3851 @DocsEditable() | |
| 3852 @Experimental() // untriaged | |
| 3853 static const int COLOR_WRITEMASK = 0x0C23; | |
| 3854 | |
| 3855 @DomName('WebGL2RenderingContext.COMPILE_STATUS') | |
| 3856 @DocsEditable() | |
| 3857 @Experimental() // untriaged | |
| 3858 static const int COMPILE_STATUS = 0x8B81; | |
| 3859 | |
| 3860 @DomName('WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS') | |
| 3861 @DocsEditable() | |
| 3862 @Experimental() // untriaged | |
| 3863 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; | |
| 3864 | |
| 3865 @DomName('WebGL2RenderingContext.CONSTANT_ALPHA') | |
| 3866 @DocsEditable() | |
| 3867 @Experimental() // untriaged | |
| 3868 static const int CONSTANT_ALPHA = 0x8003; | |
| 3869 | |
| 3870 @DomName('WebGL2RenderingContext.CONSTANT_COLOR') | |
| 3871 @DocsEditable() | |
| 3872 @Experimental() // untriaged | |
| 3873 static const int CONSTANT_COLOR = 0x8001; | |
| 3874 | |
| 3875 @DomName('WebGL2RenderingContext.CONTEXT_LOST_WEBGL') | |
| 3876 @DocsEditable() | |
| 3877 @Experimental() // untriaged | |
| 3878 static const int CONTEXT_LOST_WEBGL = 0x9242; | |
| 3879 | |
| 3880 @DomName('WebGL2RenderingContext.CULL_FACE') | |
| 3881 @DocsEditable() | |
| 3882 @Experimental() // untriaged | |
| 3883 static const int CULL_FACE = 0x0B44; | |
| 3884 | |
| 3885 @DomName('WebGL2RenderingContext.CULL_FACE_MODE') | |
| 3886 @DocsEditable() | |
| 3887 @Experimental() // untriaged | |
| 3888 static const int CULL_FACE_MODE = 0x0B45; | |
| 3889 | |
| 3890 @DomName('WebGL2RenderingContext.CURRENT_PROGRAM') | |
| 3891 @DocsEditable() | |
| 3892 @Experimental() // untriaged | |
| 3893 static const int CURRENT_PROGRAM = 0x8B8D; | |
| 3894 | |
| 3895 @DomName('WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB') | |
| 3896 @DocsEditable() | |
| 3897 @Experimental() // untriaged | |
| 3898 static const int CURRENT_VERTEX_ATTRIB = 0x8626; | |
| 3899 | |
| 3900 @DomName('WebGL2RenderingContext.CW') | |
| 3901 @DocsEditable() | |
| 3902 @Experimental() // untriaged | |
| 3903 static const int CW = 0x0900; | |
| 3904 | |
| 3905 @DomName('WebGL2RenderingContext.DECR') | |
| 3906 @DocsEditable() | |
| 3907 @Experimental() // untriaged | |
| 3908 static const int DECR = 0x1E03; | |
| 3909 | |
| 3910 @DomName('WebGL2RenderingContext.DECR_WRAP') | |
| 3911 @DocsEditable() | |
| 3912 @Experimental() // untriaged | |
| 3913 static const int DECR_WRAP = 0x8508; | |
| 3914 | |
| 3915 @DomName('WebGL2RenderingContext.DELETE_STATUS') | |
| 3916 @DocsEditable() | |
| 3917 @Experimental() // untriaged | |
| 3918 static const int DELETE_STATUS = 0x8B80; | |
| 3919 | |
| 3920 @DomName('WebGL2RenderingContext.DEPTH_ATTACHMENT') | |
| 3921 @DocsEditable() | |
| 3922 @Experimental() // untriaged | |
| 3923 static const int DEPTH_ATTACHMENT = 0x8D00; | |
| 3924 | |
| 3925 @DomName('WebGL2RenderingContext.DEPTH_BITS') | |
| 3926 @DocsEditable() | |
| 3927 @Experimental() // untriaged | |
| 3928 static const int DEPTH_BITS = 0x0D56; | |
| 3929 | |
| 3930 @DomName('WebGL2RenderingContext.DEPTH_BUFFER_BIT') | |
| 3931 @DocsEditable() | |
| 3932 @Experimental() // untriaged | |
| 3933 static const int DEPTH_BUFFER_BIT = 0x00000100; | |
| 3934 | |
| 3935 @DomName('WebGL2RenderingContext.DEPTH_CLEAR_VALUE') | |
| 3936 @DocsEditable() | |
| 3937 @Experimental() // untriaged | |
| 3938 static const int DEPTH_CLEAR_VALUE = 0x0B73; | |
| 3939 | |
| 3940 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT') | |
| 3941 @DocsEditable() | |
| 3942 @Experimental() // untriaged | |
| 3943 static const int DEPTH_COMPONENT = 0x1902; | |
| 3944 | |
| 3945 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT16') | |
| 3946 @DocsEditable() | |
| 3947 @Experimental() // untriaged | |
| 3948 static const int DEPTH_COMPONENT16 = 0x81A5; | |
| 3949 | |
| 3950 @DomName('WebGL2RenderingContext.DEPTH_FUNC') | |
| 3951 @DocsEditable() | |
| 3952 @Experimental() // untriaged | |
| 3953 static const int DEPTH_FUNC = 0x0B74; | |
| 3954 | |
| 3955 @DomName('WebGL2RenderingContext.DEPTH_RANGE') | |
| 3956 @DocsEditable() | |
| 3957 @Experimental() // untriaged | |
| 3958 static const int DEPTH_RANGE = 0x0B70; | |
| 3959 | |
| 3960 @DomName('WebGL2RenderingContext.DEPTH_STENCIL') | |
| 3961 @DocsEditable() | |
| 3962 @Experimental() // untriaged | |
| 3963 static const int DEPTH_STENCIL = 0x84F9; | |
| 3964 | |
| 3965 @DomName('WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT') | |
| 3966 @DocsEditable() | |
| 3967 @Experimental() // untriaged | |
| 3968 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; | |
| 3969 | |
| 3970 @DomName('WebGL2RenderingContext.DEPTH_TEST') | |
| 3971 @DocsEditable() | |
| 3972 @Experimental() // untriaged | |
| 3973 static const int DEPTH_TEST = 0x0B71; | |
| 3974 | |
| 3975 @DomName('WebGL2RenderingContext.DEPTH_WRITEMASK') | |
| 3976 @DocsEditable() | |
| 3977 @Experimental() // untriaged | |
| 3978 static const int DEPTH_WRITEMASK = 0x0B72; | |
| 3979 | |
| 3980 @DomName('WebGL2RenderingContext.DITHER') | |
| 3981 @DocsEditable() | |
| 3982 @Experimental() // untriaged | |
| 3983 static const int DITHER = 0x0BD0; | |
| 3984 | |
| 3985 @DomName('WebGL2RenderingContext.DONT_CARE') | |
| 3986 @DocsEditable() | |
| 3987 @Experimental() // untriaged | |
| 3988 static const int DONT_CARE = 0x1100; | |
| 3989 | |
| 3990 @DomName('WebGL2RenderingContext.DST_ALPHA') | |
| 3991 @DocsEditable() | |
| 3992 @Experimental() // untriaged | |
| 3993 static const int DST_ALPHA = 0x0304; | |
| 3994 | |
| 3995 @DomName('WebGL2RenderingContext.DST_COLOR') | |
| 3996 @DocsEditable() | |
| 3997 @Experimental() // untriaged | |
| 3998 static const int DST_COLOR = 0x0306; | |
| 3999 | |
| 4000 @DomName('WebGL2RenderingContext.DYNAMIC_DRAW') | |
| 4001 @DocsEditable() | |
| 4002 @Experimental() // untriaged | |
| 4003 static const int DYNAMIC_DRAW = 0x88E8; | |
| 4004 | |
| 4005 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER') | |
| 4006 @DocsEditable() | |
| 4007 @Experimental() // untriaged | |
| 4008 static const int ELEMENT_ARRAY_BUFFER = 0x8893; | |
| 4009 | |
| 4010 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') | |
| 4011 @DocsEditable() | |
| 4012 @Experimental() // untriaged | |
| 4013 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; | |
| 4014 | |
| 4015 @DomName('WebGL2RenderingContext.EQUAL') | |
| 4016 @DocsEditable() | |
| 4017 @Experimental() // untriaged | |
| 4018 static const int EQUAL = 0x0202; | |
| 4019 | |
| 4020 @DomName('WebGL2RenderingContext.FASTEST') | |
| 4021 @DocsEditable() | |
| 4022 @Experimental() // untriaged | |
| 4023 static const int FASTEST = 0x1101; | |
| 4024 | |
| 4025 @DomName('WebGL2RenderingContext.FLOAT') | |
| 4026 @DocsEditable() | |
| 4027 @Experimental() // untriaged | |
| 4028 static const int FLOAT = 0x1406; | |
| 4029 | |
| 4030 @DomName('WebGL2RenderingContext.FLOAT_MAT2') | |
| 4031 @DocsEditable() | |
| 4032 @Experimental() // untriaged | |
| 4033 static const int FLOAT_MAT2 = 0x8B5A; | |
| 4034 | |
| 4035 @DomName('WebGL2RenderingContext.FLOAT_MAT3') | |
| 4036 @DocsEditable() | |
| 4037 @Experimental() // untriaged | |
| 4038 static const int FLOAT_MAT3 = 0x8B5B; | |
| 4039 | |
| 4040 @DomName('WebGL2RenderingContext.FLOAT_MAT4') | |
| 4041 @DocsEditable() | |
| 4042 @Experimental() // untriaged | |
| 4043 static const int FLOAT_MAT4 = 0x8B5C; | |
| 4044 | |
| 4045 @DomName('WebGL2RenderingContext.FLOAT_VEC2') | |
| 4046 @DocsEditable() | |
| 4047 @Experimental() // untriaged | |
| 4048 static const int FLOAT_VEC2 = 0x8B50; | |
| 4049 | |
| 4050 @DomName('WebGL2RenderingContext.FLOAT_VEC3') | |
| 4051 @DocsEditable() | |
| 4052 @Experimental() // untriaged | |
| 4053 static const int FLOAT_VEC3 = 0x8B51; | |
| 4054 | |
| 4055 @DomName('WebGL2RenderingContext.FLOAT_VEC4') | |
| 4056 @DocsEditable() | |
| 4057 @Experimental() // untriaged | |
| 4058 static const int FLOAT_VEC4 = 0x8B52; | |
| 4059 | |
| 4060 @DomName('WebGL2RenderingContext.FRAGMENT_SHADER') | |
| 4061 @DocsEditable() | |
| 4062 @Experimental() // untriaged | |
| 4063 static const int FRAGMENT_SHADER = 0x8B30; | |
| 4064 | |
| 4065 @DomName('WebGL2RenderingContext.FRAMEBUFFER') | |
| 4066 @DocsEditable() | |
| 4067 @Experimental() // untriaged | |
| 4068 static const int FRAMEBUFFER = 0x8D40; | |
| 4069 | |
| 4070 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') | |
| 4071 @DocsEditable() | |
| 4072 @Experimental() // untriaged | |
| 4073 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | |
| 4074 | |
| 4075 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') | |
| 4076 @DocsEditable() | |
| 4077 @Experimental() // untriaged | |
| 4078 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | |
| 4079 | |
| 4080 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE'
) | |
| 4081 @DocsEditable() | |
| 4082 @Experimental() // untriaged | |
| 4083 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | |
| 4084 | |
| 4085 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') | |
| 4086 @DocsEditable() | |
| 4087 @Experimental() // untriaged | |
| 4088 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | |
| 4089 | |
| 4090 @DomName('WebGL2RenderingContext.FRAMEBUFFER_BINDING') | |
| 4091 @DocsEditable() | |
| 4092 @Experimental() // untriaged | |
| 4093 static const int FRAMEBUFFER_BINDING = 0x8CA6; | |
| 4094 | |
| 4095 @DomName('WebGL2RenderingContext.FRAMEBUFFER_COMPLETE') | |
| 4096 @DocsEditable() | |
| 4097 @Experimental() // untriaged | |
| 4098 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; | |
| 4099 | |
| 4100 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') | |
| 4101 @DocsEditable() | |
| 4102 @Experimental() // untriaged | |
| 4103 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; | |
| 4104 | |
| 4105 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') | |
| 4106 @DocsEditable() | |
| 4107 @Experimental() // untriaged | |
| 4108 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; | |
| 4109 | |
| 4110 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') | |
| 4111 @DocsEditable() | |
| 4112 @Experimental() // untriaged | |
| 4113 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; | |
| 4114 | |
| 4115 @DomName('WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED') | |
| 4116 @DocsEditable() | |
| 4117 @Experimental() // untriaged | |
| 4118 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; | |
| 4119 | |
| 4120 @DomName('WebGL2RenderingContext.FRONT') | |
| 4121 @DocsEditable() | |
| 4122 @Experimental() // untriaged | |
| 4123 static const int FRONT = 0x0404; | |
| 4124 | |
| 4125 @DomName('WebGL2RenderingContext.FRONT_AND_BACK') | |
| 4126 @DocsEditable() | |
| 4127 @Experimental() // untriaged | |
| 4128 static const int FRONT_AND_BACK = 0x0408; | |
| 4129 | |
| 4130 @DomName('WebGL2RenderingContext.FRONT_FACE') | |
| 4131 @DocsEditable() | |
| 4132 @Experimental() // untriaged | |
| 4133 static const int FRONT_FACE = 0x0B46; | |
| 4134 | |
| 4135 @DomName('WebGL2RenderingContext.FUNC_ADD') | |
| 4136 @DocsEditable() | |
| 4137 @Experimental() // untriaged | |
| 4138 static const int FUNC_ADD = 0x8006; | |
| 4139 | |
| 4140 @DomName('WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT') | |
| 4141 @DocsEditable() | |
| 4142 @Experimental() // untriaged | |
| 4143 static const int FUNC_REVERSE_SUBTRACT = 0x800B; | |
| 4144 | |
| 4145 @DomName('WebGL2RenderingContext.FUNC_SUBTRACT') | |
| 4146 @DocsEditable() | |
| 4147 @Experimental() // untriaged | |
| 4148 static const int FUNC_SUBTRACT = 0x800A; | |
| 4149 | |
| 4150 @DomName('WebGL2RenderingContext.GENERATE_MIPMAP_HINT') | |
| 4151 @DocsEditable() | |
| 4152 @Experimental() // untriaged | |
| 4153 static const int GENERATE_MIPMAP_HINT = 0x8192; | |
| 4154 | |
| 4155 @DomName('WebGL2RenderingContext.GEQUAL') | |
| 4156 @DocsEditable() | |
| 4157 @Experimental() // untriaged | |
| 4158 static const int GEQUAL = 0x0206; | |
| 4159 | |
| 4160 @DomName('WebGL2RenderingContext.GREATER') | |
| 4161 @DocsEditable() | |
| 4162 @Experimental() // untriaged | |
| 4163 static const int GREATER = 0x0204; | |
| 4164 | |
| 4165 @DomName('WebGL2RenderingContext.GREEN_BITS') | |
| 4166 @DocsEditable() | |
| 4167 @Experimental() // untriaged | |
| 4168 static const int GREEN_BITS = 0x0D53; | |
| 4169 | |
| 4170 @DomName('WebGL2RenderingContext.HIGH_FLOAT') | |
| 4171 @DocsEditable() | |
| 4172 @Experimental() // untriaged | |
| 4173 static const int HIGH_FLOAT = 0x8DF2; | |
| 4174 | |
| 4175 @DomName('WebGL2RenderingContext.HIGH_INT') | |
| 4176 @DocsEditable() | |
| 4177 @Experimental() // untriaged | |
| 4178 static const int HIGH_INT = 0x8DF5; | |
| 4179 | |
| 4180 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT') | |
| 4181 @DocsEditable() | |
| 4182 @Experimental() // untriaged | |
| 4183 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; | |
| 4184 | |
| 4185 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE') | |
| 4186 @DocsEditable() | |
| 4187 @Experimental() // untriaged | |
| 4188 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; | |
| 4189 | |
| 4190 @DomName('WebGL2RenderingContext.INCR') | |
| 4191 @DocsEditable() | |
| 4192 @Experimental() // untriaged | |
| 4193 static const int INCR = 0x1E02; | |
| 4194 | |
| 4195 @DomName('WebGL2RenderingContext.INCR_WRAP') | |
| 4196 @DocsEditable() | |
| 4197 @Experimental() // untriaged | |
| 4198 static const int INCR_WRAP = 0x8507; | |
| 4199 | |
| 4200 @DomName('WebGL2RenderingContext.INT') | |
| 4201 @DocsEditable() | |
| 4202 @Experimental() // untriaged | |
| 4203 static const int INT = 0x1404; | |
| 4204 | |
| 4205 @DomName('WebGL2RenderingContext.INT_VEC2') | |
| 4206 @DocsEditable() | |
| 4207 @Experimental() // untriaged | |
| 4208 static const int INT_VEC2 = 0x8B53; | |
| 4209 | |
| 4210 @DomName('WebGL2RenderingContext.INT_VEC3') | |
| 4211 @DocsEditable() | |
| 4212 @Experimental() // untriaged | |
| 4213 static const int INT_VEC3 = 0x8B54; | |
| 4214 | |
| 4215 @DomName('WebGL2RenderingContext.INT_VEC4') | |
| 4216 @DocsEditable() | |
| 4217 @Experimental() // untriaged | |
| 4218 static const int INT_VEC4 = 0x8B55; | |
| 4219 | |
| 4220 @DomName('WebGL2RenderingContext.INVALID_ENUM') | |
| 4221 @DocsEditable() | |
| 4222 @Experimental() // untriaged | |
| 4223 static const int INVALID_ENUM = 0x0500; | |
| 4224 | |
| 4225 @DomName('WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION') | |
| 4226 @DocsEditable() | |
| 4227 @Experimental() // untriaged | |
| 4228 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; | |
| 4229 | |
| 4230 @DomName('WebGL2RenderingContext.INVALID_OPERATION') | |
| 4231 @DocsEditable() | |
| 4232 @Experimental() // untriaged | |
| 4233 static const int INVALID_OPERATION = 0x0502; | |
| 4234 | |
| 4235 @DomName('WebGL2RenderingContext.INVALID_VALUE') | |
| 4236 @DocsEditable() | |
| 4237 @Experimental() // untriaged | |
| 4238 static const int INVALID_VALUE = 0x0501; | |
| 4239 | |
| 4240 @DomName('WebGL2RenderingContext.INVERT') | |
| 4241 @DocsEditable() | |
| 4242 @Experimental() // untriaged | |
| 4243 static const int INVERT = 0x150A; | |
| 4244 | |
| 4245 @DomName('WebGL2RenderingContext.KEEP') | |
| 4246 @DocsEditable() | |
| 4247 @Experimental() // untriaged | |
| 4248 static const int KEEP = 0x1E00; | |
| 4249 | |
| 4250 @DomName('WebGL2RenderingContext.LEQUAL') | |
| 4251 @DocsEditable() | |
| 4252 @Experimental() // untriaged | |
| 4253 static const int LEQUAL = 0x0203; | |
| 4254 | |
| 4255 @DomName('WebGL2RenderingContext.LESS') | |
| 4256 @DocsEditable() | |
| 4257 @Experimental() // untriaged | |
| 4258 static const int LESS = 0x0201; | |
| 4259 | |
| 4260 @DomName('WebGL2RenderingContext.LINEAR') | |
| 4261 @DocsEditable() | |
| 4262 @Experimental() // untriaged | |
| 4263 static const int LINEAR = 0x2601; | |
| 4264 | |
| 4265 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR') | |
| 4266 @DocsEditable() | |
| 4267 @Experimental() // untriaged | |
| 4268 static const int LINEAR_MIPMAP_LINEAR = 0x2703; | |
| 4269 | |
| 4270 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST') | |
| 4271 @DocsEditable() | |
| 4272 @Experimental() // untriaged | |
| 4273 static const int LINEAR_MIPMAP_NEAREST = 0x2701; | |
| 4274 | |
| 4275 @DomName('WebGL2RenderingContext.LINES') | |
| 4276 @DocsEditable() | |
| 4277 @Experimental() // untriaged | |
| 4278 static const int LINES = 0x0001; | |
| 4279 | |
| 4280 @DomName('WebGL2RenderingContext.LINE_LOOP') | |
| 4281 @DocsEditable() | |
| 4282 @Experimental() // untriaged | |
| 4283 static const int LINE_LOOP = 0x0002; | |
| 4284 | |
| 4285 @DomName('WebGL2RenderingContext.LINE_STRIP') | |
| 4286 @DocsEditable() | |
| 4287 @Experimental() // untriaged | |
| 4288 static const int LINE_STRIP = 0x0003; | |
| 4289 | |
| 4290 @DomName('WebGL2RenderingContext.LINE_WIDTH') | |
| 4291 @DocsEditable() | |
| 4292 @Experimental() // untriaged | |
| 4293 static const int LINE_WIDTH = 0x0B21; | |
| 4294 | |
| 4295 @DomName('WebGL2RenderingContext.LINK_STATUS') | |
| 4296 @DocsEditable() | |
| 4297 @Experimental() // untriaged | |
| 4298 static const int LINK_STATUS = 0x8B82; | |
| 4299 | |
| 4300 @DomName('WebGL2RenderingContext.LOW_FLOAT') | |
| 4301 @DocsEditable() | |
| 4302 @Experimental() // untriaged | |
| 4303 static const int LOW_FLOAT = 0x8DF0; | |
| 4304 | |
| 4305 @DomName('WebGL2RenderingContext.LOW_INT') | |
| 4306 @DocsEditable() | |
| 4307 @Experimental() // untriaged | |
| 4308 static const int LOW_INT = 0x8DF3; | |
| 4309 | |
| 4310 @DomName('WebGL2RenderingContext.LUMINANCE') | |
| 4311 @DocsEditable() | |
| 4312 @Experimental() // untriaged | |
| 4313 static const int LUMINANCE = 0x1909; | |
| 4314 | |
| 4315 @DomName('WebGL2RenderingContext.LUMINANCE_ALPHA') | |
| 4316 @DocsEditable() | |
| 4317 @Experimental() // untriaged | |
| 4318 static const int LUMINANCE_ALPHA = 0x190A; | |
| 4319 | |
| 4320 @DomName('WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') | |
| 4321 @DocsEditable() | |
| 4322 @Experimental() // untriaged | |
| 4323 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; | |
| 4324 | |
| 4325 @DomName('WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') | |
| 4326 @DocsEditable() | |
| 4327 @Experimental() // untriaged | |
| 4328 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; | |
| 4329 | |
| 4330 @DomName('WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') | |
| 4331 @DocsEditable() | |
| 4332 @Experimental() // untriaged | |
| 4333 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; | |
| 4334 | |
| 4335 @DomName('WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE') | |
| 4336 @DocsEditable() | |
| 4337 @Experimental() // untriaged | |
| 4338 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; | |
| 4339 | |
| 4340 @DomName('WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS') | |
| 4341 @DocsEditable() | |
| 4342 @Experimental() // untriaged | |
| 4343 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; | |
| 4344 | |
| 4345 @DomName('WebGL2RenderingContext.MAX_TEXTURE_SIZE') | |
| 4346 @DocsEditable() | |
| 4347 @Experimental() // untriaged | |
| 4348 static const int MAX_TEXTURE_SIZE = 0x0D33; | |
| 4349 | |
| 4350 @DomName('WebGL2RenderingContext.MAX_VARYING_VECTORS') | |
| 4351 @DocsEditable() | |
| 4352 @Experimental() // untriaged | |
| 4353 static const int MAX_VARYING_VECTORS = 0x8DFC; | |
| 4354 | |
| 4355 @DomName('WebGL2RenderingContext.MAX_VERTEX_ATTRIBS') | |
| 4356 @DocsEditable() | |
| 4357 @Experimental() // untriaged | |
| 4358 static const int MAX_VERTEX_ATTRIBS = 0x8869; | |
| 4359 | |
| 4360 @DomName('WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') | |
| 4361 @DocsEditable() | |
| 4362 @Experimental() // untriaged | |
| 4363 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; | |
| 4364 | |
| 4365 @DomName('WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS') | |
| 4366 @DocsEditable() | |
| 4367 @Experimental() // untriaged | |
| 4368 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; | |
| 4369 | |
| 4370 @DomName('WebGL2RenderingContext.MAX_VIEWPORT_DIMS') | |
| 4371 @DocsEditable() | |
| 4372 @Experimental() // untriaged | |
| 4373 static const int MAX_VIEWPORT_DIMS = 0x0D3A; | |
| 4374 | |
| 4375 @DomName('WebGL2RenderingContext.MEDIUM_FLOAT') | |
| 4376 @DocsEditable() | |
| 4377 @Experimental() // untriaged | |
| 4378 static const int MEDIUM_FLOAT = 0x8DF1; | |
| 4379 | |
| 4380 @DomName('WebGL2RenderingContext.MEDIUM_INT') | |
| 4381 @DocsEditable() | |
| 4382 @Experimental() // untriaged | |
| 4383 static const int MEDIUM_INT = 0x8DF4; | |
| 4384 | |
| 4385 @DomName('WebGL2RenderingContext.MIRRORED_REPEAT') | |
| 4386 @DocsEditable() | |
| 4387 @Experimental() // untriaged | |
| 4388 static const int MIRRORED_REPEAT = 0x8370; | |
| 4389 | |
| 4390 @DomName('WebGL2RenderingContext.NEAREST') | |
| 4391 @DocsEditable() | |
| 4392 @Experimental() // untriaged | |
| 4393 static const int NEAREST = 0x2600; | |
| 4394 | |
| 4395 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR') | |
| 4396 @DocsEditable() | |
| 4397 @Experimental() // untriaged | |
| 4398 static const int NEAREST_MIPMAP_LINEAR = 0x2702; | |
| 4399 | |
| 4400 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST') | |
| 4401 @DocsEditable() | |
| 4402 @Experimental() // untriaged | |
| 4403 static const int NEAREST_MIPMAP_NEAREST = 0x2700; | |
| 4404 | |
| 4405 @DomName('WebGL2RenderingContext.NEVER') | |
| 4406 @DocsEditable() | |
| 4407 @Experimental() // untriaged | |
| 4408 static const int NEVER = 0x0200; | |
| 4409 | |
| 4410 @DomName('WebGL2RenderingContext.NICEST') | |
| 4411 @DocsEditable() | |
| 4412 @Experimental() // untriaged | |
| 4413 static const int NICEST = 0x1102; | |
| 4414 | |
| 4415 @DomName('WebGL2RenderingContext.NONE') | |
| 4416 @DocsEditable() | |
| 4417 @Experimental() // untriaged | |
| 4418 static const int NONE = 0; | |
| 4419 | |
| 4420 @DomName('WebGL2RenderingContext.NOTEQUAL') | |
| 4421 @DocsEditable() | |
| 4422 @Experimental() // untriaged | |
| 4423 static const int NOTEQUAL = 0x0205; | |
| 4424 | |
| 4425 @DomName('WebGL2RenderingContext.NO_ERROR') | |
| 4426 @DocsEditable() | |
| 4427 @Experimental() // untriaged | |
| 4428 static const int NO_ERROR = 0; | |
| 4429 | |
| 4430 @DomName('WebGL2RenderingContext.ONE') | |
| 4431 @DocsEditable() | |
| 4432 @Experimental() // untriaged | |
| 4433 static const int ONE = 1; | |
| 4434 | |
| 4435 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA') | |
| 4436 @DocsEditable() | |
| 4437 @Experimental() // untriaged | |
| 4438 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; | |
| 4439 | |
| 4440 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR') | |
| 4441 @DocsEditable() | |
| 4442 @Experimental() // untriaged | |
| 4443 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; | |
| 4444 | |
| 4445 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_ALPHA') | |
| 4446 @DocsEditable() | |
| 4447 @Experimental() // untriaged | |
| 4448 static const int ONE_MINUS_DST_ALPHA = 0x0305; | |
| 4449 | |
| 4450 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_COLOR') | |
| 4451 @DocsEditable() | |
| 4452 @Experimental() // untriaged | |
| 4453 static const int ONE_MINUS_DST_COLOR = 0x0307; | |
| 4454 | |
| 4455 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA') | |
| 4456 @DocsEditable() | |
| 4457 @Experimental() // untriaged | |
| 4458 static const int ONE_MINUS_SRC_ALPHA = 0x0303; | |
| 4459 | |
| 4460 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_COLOR') | |
| 4461 @DocsEditable() | |
| 4462 @Experimental() // untriaged | |
| 4463 static const int ONE_MINUS_SRC_COLOR = 0x0301; | |
| 4464 | |
| 4465 @DomName('WebGL2RenderingContext.OUT_OF_MEMORY') | |
| 4466 @DocsEditable() | |
| 4467 @Experimental() // untriaged | |
| 4468 static const int OUT_OF_MEMORY = 0x0505; | |
| 4469 | |
| 4470 @DomName('WebGL2RenderingContext.PACK_ALIGNMENT') | |
| 4471 @DocsEditable() | |
| 4472 @Experimental() // untriaged | |
| 4473 static const int PACK_ALIGNMENT = 0x0D05; | |
| 4474 | |
| 4475 @DomName('WebGL2RenderingContext.POINTS') | |
| 4476 @DocsEditable() | |
| 4477 @Experimental() // untriaged | |
| 4478 static const int POINTS = 0x0000; | |
| 4479 | |
| 4480 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FACTOR') | |
| 4481 @DocsEditable() | |
| 4482 @Experimental() // untriaged | |
| 4483 static const int POLYGON_OFFSET_FACTOR = 0x8038; | |
| 4484 | |
| 4485 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FILL') | |
| 4486 @DocsEditable() | |
| 4487 @Experimental() // untriaged | |
| 4488 static const int POLYGON_OFFSET_FILL = 0x8037; | |
| 4489 | |
| 4490 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_UNITS') | |
| 4491 @DocsEditable() | |
| 4492 @Experimental() // untriaged | |
| 4493 static const int POLYGON_OFFSET_UNITS = 0x2A00; | |
| 4494 | |
| 4495 @DomName('WebGL2RenderingContext.RED_BITS') | |
| 4496 @DocsEditable() | |
| 4497 @Experimental() // untriaged | |
| 4498 static const int RED_BITS = 0x0D52; | |
| 4499 | |
| 4500 @DomName('WebGL2RenderingContext.RENDERBUFFER') | |
| 4501 @DocsEditable() | |
| 4502 @Experimental() // untriaged | |
| 4503 static const int RENDERBUFFER = 0x8D41; | |
| 4504 | |
| 4505 @DomName('WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE') | |
| 4506 @DocsEditable() | |
| 4507 @Experimental() // untriaged | |
| 4508 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; | |
| 4509 | |
| 4510 @DomName('WebGL2RenderingContext.RENDERBUFFER_BINDING') | |
| 4511 @DocsEditable() | |
| 4512 @Experimental() // untriaged | |
| 4513 static const int RENDERBUFFER_BINDING = 0x8CA7; | |
| 4514 | |
| 4515 @DomName('WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE') | |
| 4516 @DocsEditable() | |
| 4517 @Experimental() // untriaged | |
| 4518 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; | |
| 4519 | |
| 4520 @DomName('WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE') | |
| 4521 @DocsEditable() | |
| 4522 @Experimental() // untriaged | |
| 4523 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; | |
| 4524 | |
| 4525 @DomName('WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE') | |
| 4526 @DocsEditable() | |
| 4527 @Experimental() // untriaged | |
| 4528 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; | |
| 4529 | |
| 4530 @DomName('WebGL2RenderingContext.RENDERBUFFER_HEIGHT') | |
| 4531 @DocsEditable() | |
| 4532 @Experimental() // untriaged | |
| 4533 static const int RENDERBUFFER_HEIGHT = 0x8D43; | |
| 4534 | |
| 4535 @DomName('WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT') | |
| 4536 @DocsEditable() | |
| 4537 @Experimental() // untriaged | |
| 4538 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; | |
| 4539 | |
| 4540 @DomName('WebGL2RenderingContext.RENDERBUFFER_RED_SIZE') | |
| 4541 @DocsEditable() | |
| 4542 @Experimental() // untriaged | |
| 4543 static const int RENDERBUFFER_RED_SIZE = 0x8D50; | |
| 4544 | |
| 4545 @DomName('WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE') | |
| 4546 @DocsEditable() | |
| 4547 @Experimental() // untriaged | |
| 4548 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; | |
| 4549 | |
| 4550 @DomName('WebGL2RenderingContext.RENDERBUFFER_WIDTH') | |
| 4551 @DocsEditable() | |
| 4552 @Experimental() // untriaged | |
| 4553 static const int RENDERBUFFER_WIDTH = 0x8D42; | |
| 4554 | |
| 4555 @DomName('WebGL2RenderingContext.RENDERER') | |
| 4556 @DocsEditable() | |
| 4557 @Experimental() // untriaged | |
| 4558 static const int RENDERER = 0x1F01; | |
| 4559 | |
| 4560 @DomName('WebGL2RenderingContext.REPEAT') | |
| 4561 @DocsEditable() | |
| 4562 @Experimental() // untriaged | |
| 4563 static const int REPEAT = 0x2901; | |
| 4564 | |
| 4565 @DomName('WebGL2RenderingContext.REPLACE') | |
| 4566 @DocsEditable() | |
| 4567 @Experimental() // untriaged | |
| 4568 static const int REPLACE = 0x1E01; | |
| 4569 | |
| 4570 @DomName('WebGL2RenderingContext.RGB') | |
| 4571 @DocsEditable() | |
| 4572 @Experimental() // untriaged | |
| 4573 static const int RGB = 0x1907; | |
| 4574 | |
| 4575 @DomName('WebGL2RenderingContext.RGB565') | |
| 4576 @DocsEditable() | |
| 4577 @Experimental() // untriaged | |
| 4578 static const int RGB565 = 0x8D62; | |
| 4579 | |
| 4580 @DomName('WebGL2RenderingContext.RGB5_A1') | |
| 4581 @DocsEditable() | |
| 4582 @Experimental() // untriaged | |
| 4583 static const int RGB5_A1 = 0x8057; | |
| 4584 | |
| 4585 @DomName('WebGL2RenderingContext.RGBA') | |
| 4586 @DocsEditable() | |
| 4587 @Experimental() // untriaged | |
| 4588 static const int RGBA = 0x1908; | |
| 4589 | |
| 4590 @DomName('WebGL2RenderingContext.RGBA4') | |
| 4591 @DocsEditable() | |
| 4592 @Experimental() // untriaged | |
| 4593 static const int RGBA4 = 0x8056; | |
| 4594 | |
| 4595 @DomName('WebGL2RenderingContext.SAMPLER_2D') | |
| 4596 @DocsEditable() | |
| 4597 @Experimental() // untriaged | |
| 4598 static const int SAMPLER_2D = 0x8B5E; | |
| 4599 | |
| 4600 @DomName('WebGL2RenderingContext.SAMPLER_CUBE') | |
| 4601 @DocsEditable() | |
| 4602 @Experimental() // untriaged | |
| 4603 static const int SAMPLER_CUBE = 0x8B60; | |
| 4604 | |
| 4605 @DomName('WebGL2RenderingContext.SAMPLES') | |
| 4606 @DocsEditable() | |
| 4607 @Experimental() // untriaged | |
| 4608 static const int SAMPLES = 0x80A9; | |
| 4609 | |
| 4610 @DomName('WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE') | |
| 4611 @DocsEditable() | |
| 4612 @Experimental() // untriaged | |
| 4613 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; | |
| 4614 | |
| 4615 @DomName('WebGL2RenderingContext.SAMPLE_BUFFERS') | |
| 4616 @DocsEditable() | |
| 4617 @Experimental() // untriaged | |
| 4618 static const int SAMPLE_BUFFERS = 0x80A8; | |
| 4619 | |
| 4620 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE') | |
| 4621 @DocsEditable() | |
| 4622 @Experimental() // untriaged | |
| 4623 static const int SAMPLE_COVERAGE = 0x80A0; | |
| 4624 | |
| 4625 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT') | |
| 4626 @DocsEditable() | |
| 4627 @Experimental() // untriaged | |
| 4628 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; | |
| 4629 | |
| 4630 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE') | |
| 4631 @DocsEditable() | |
| 4632 @Experimental() // untriaged | |
| 4633 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; | |
| 4634 | |
| 4635 @DomName('WebGL2RenderingContext.SCISSOR_BOX') | |
| 4636 @DocsEditable() | |
| 4637 @Experimental() // untriaged | |
| 4638 static const int SCISSOR_BOX = 0x0C10; | |
| 4639 | |
| 4640 @DomName('WebGL2RenderingContext.SCISSOR_TEST') | |
| 4641 @DocsEditable() | |
| 4642 @Experimental() // untriaged | |
| 4643 static const int SCISSOR_TEST = 0x0C11; | |
| 4644 | |
| 4645 @DomName('WebGL2RenderingContext.SHADER_TYPE') | |
| 4646 @DocsEditable() | |
| 4647 @Experimental() // untriaged | |
| 4648 static const int SHADER_TYPE = 0x8B4F; | |
| 4649 | |
| 4650 @DomName('WebGL2RenderingContext.SHADING_LANGUAGE_VERSION') | |
| 4651 @DocsEditable() | |
| 4652 @Experimental() // untriaged | |
| 4653 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; | |
| 4654 | |
| 4655 @DomName('WebGL2RenderingContext.SHORT') | |
| 4656 @DocsEditable() | |
| 4657 @Experimental() // untriaged | |
| 4658 static const int SHORT = 0x1402; | |
| 4659 | |
| 4660 @DomName('WebGL2RenderingContext.SRC_ALPHA') | |
| 4661 @DocsEditable() | |
| 4662 @Experimental() // untriaged | |
| 4663 static const int SRC_ALPHA = 0x0302; | |
| 4664 | |
| 4665 @DomName('WebGL2RenderingContext.SRC_ALPHA_SATURATE') | |
| 4666 @DocsEditable() | |
| 4667 @Experimental() // untriaged | |
| 4668 static const int SRC_ALPHA_SATURATE = 0x0308; | |
| 4669 | |
| 4670 @DomName('WebGL2RenderingContext.SRC_COLOR') | |
| 4671 @DocsEditable() | |
| 4672 @Experimental() // untriaged | |
| 4673 static const int SRC_COLOR = 0x0300; | |
| 4674 | |
| 4675 @DomName('WebGL2RenderingContext.STATIC_DRAW') | |
| 4676 @DocsEditable() | |
| 4677 @Experimental() // untriaged | |
| 4678 static const int STATIC_DRAW = 0x88E4; | |
| 4679 | |
| 4680 @DomName('WebGL2RenderingContext.STENCIL_ATTACHMENT') | |
| 4681 @DocsEditable() | |
| 4682 @Experimental() // untriaged | |
| 4683 static const int STENCIL_ATTACHMENT = 0x8D20; | |
| 4684 | |
| 4685 @DomName('WebGL2RenderingContext.STENCIL_BACK_FAIL') | |
| 4686 @DocsEditable() | |
| 4687 @Experimental() // untriaged | |
| 4688 static const int STENCIL_BACK_FAIL = 0x8801; | |
| 4689 | |
| 4690 @DomName('WebGL2RenderingContext.STENCIL_BACK_FUNC') | |
| 4691 @DocsEditable() | |
| 4692 @Experimental() // untriaged | |
| 4693 static const int STENCIL_BACK_FUNC = 0x8800; | |
| 4694 | |
| 4695 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') | |
| 4696 @DocsEditable() | |
| 4697 @Experimental() // untriaged | |
| 4698 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; | |
| 4699 | |
| 4700 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') | |
| 4701 @DocsEditable() | |
| 4702 @Experimental() // untriaged | |
| 4703 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; | |
| 4704 | |
| 4705 @DomName('WebGL2RenderingContext.STENCIL_BACK_REF') | |
| 4706 @DocsEditable() | |
| 4707 @Experimental() // untriaged | |
| 4708 static const int STENCIL_BACK_REF = 0x8CA3; | |
| 4709 | |
| 4710 @DomName('WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK') | |
| 4711 @DocsEditable() | |
| 4712 @Experimental() // untriaged | |
| 4713 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; | |
| 4714 | |
| 4715 @DomName('WebGL2RenderingContext.STENCIL_BACK_WRITEMASK') | |
| 4716 @DocsEditable() | |
| 4717 @Experimental() // untriaged | |
| 4718 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; | |
| 4719 | |
| 4720 @DomName('WebGL2RenderingContext.STENCIL_BITS') | |
| 4721 @DocsEditable() | |
| 4722 @Experimental() // untriaged | |
| 4723 static const int STENCIL_BITS = 0x0D57; | |
| 4724 | |
| 4725 @DomName('WebGL2RenderingContext.STENCIL_BUFFER_BIT') | |
| 4726 @DocsEditable() | |
| 4727 @Experimental() // untriaged | |
| 4728 static const int STENCIL_BUFFER_BIT = 0x00000400; | |
| 4729 | |
| 4730 @DomName('WebGL2RenderingContext.STENCIL_CLEAR_VALUE') | |
| 4731 @DocsEditable() | |
| 4732 @Experimental() // untriaged | |
| 4733 static const int STENCIL_CLEAR_VALUE = 0x0B91; | |
| 4734 | |
| 4735 @DomName('WebGL2RenderingContext.STENCIL_FAIL') | |
| 4736 @DocsEditable() | |
| 4737 @Experimental() // untriaged | |
| 4738 static const int STENCIL_FAIL = 0x0B94; | |
| 4739 | |
| 4740 @DomName('WebGL2RenderingContext.STENCIL_FUNC') | |
| 4741 @DocsEditable() | |
| 4742 @Experimental() // untriaged | |
| 4743 static const int STENCIL_FUNC = 0x0B92; | |
| 4744 | |
| 4745 @DomName('WebGL2RenderingContext.STENCIL_INDEX') | |
| 4746 @DocsEditable() | |
| 4747 @Experimental() // untriaged | |
| 4748 static const int STENCIL_INDEX = 0x1901; | |
| 4749 | |
| 4750 @DomName('WebGL2RenderingContext.STENCIL_INDEX8') | |
| 4751 @DocsEditable() | |
| 4752 @Experimental() // untriaged | |
| 4753 static const int STENCIL_INDEX8 = 0x8D48; | |
| 4754 | |
| 4755 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL') | |
| 4756 @DocsEditable() | |
| 4757 @Experimental() // untriaged | |
| 4758 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; | |
| 4759 | |
| 4760 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS') | |
| 4761 @DocsEditable() | |
| 4762 @Experimental() // untriaged | |
| 4763 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; | |
| 4764 | |
| 4765 @DomName('WebGL2RenderingContext.STENCIL_REF') | |
| 4766 @DocsEditable() | |
| 4767 @Experimental() // untriaged | |
| 4768 static const int STENCIL_REF = 0x0B97; | |
| 4769 | |
| 4770 @DomName('WebGL2RenderingContext.STENCIL_TEST') | |
| 4771 @DocsEditable() | |
| 4772 @Experimental() // untriaged | |
| 4773 static const int STENCIL_TEST = 0x0B90; | |
| 4774 | |
| 4775 @DomName('WebGL2RenderingContext.STENCIL_VALUE_MASK') | |
| 4776 @DocsEditable() | |
| 4777 @Experimental() // untriaged | |
| 4778 static const int STENCIL_VALUE_MASK = 0x0B93; | |
| 4779 | |
| 4780 @DomName('WebGL2RenderingContext.STENCIL_WRITEMASK') | |
| 4781 @DocsEditable() | |
| 4782 @Experimental() // untriaged | |
| 4783 static const int STENCIL_WRITEMASK = 0x0B98; | |
| 4784 | |
| 4785 @DomName('WebGL2RenderingContext.STREAM_DRAW') | |
| 4786 @DocsEditable() | |
| 4787 @Experimental() // untriaged | |
| 4788 static const int STREAM_DRAW = 0x88E0; | |
| 4789 | |
| 4790 @DomName('WebGL2RenderingContext.SUBPIXEL_BITS') | |
| 4791 @DocsEditable() | |
| 4792 @Experimental() // untriaged | |
| 4793 static const int SUBPIXEL_BITS = 0x0D50; | |
| 4794 | |
| 4795 @DomName('WebGL2RenderingContext.TEXTURE') | |
| 4796 @DocsEditable() | |
| 4797 @Experimental() // untriaged | |
| 4798 static const int TEXTURE = 0x1702; | |
| 4799 | |
| 4800 @DomName('WebGL2RenderingContext.TEXTURE0') | |
| 4801 @DocsEditable() | |
| 4802 @Experimental() // untriaged | |
| 4803 static const int TEXTURE0 = 0x84C0; | |
| 4804 | |
| 4805 @DomName('WebGL2RenderingContext.TEXTURE1') | |
| 4806 @DocsEditable() | |
| 4807 @Experimental() // untriaged | |
| 4808 static const int TEXTURE1 = 0x84C1; | |
| 4809 | |
| 4810 @DomName('WebGL2RenderingContext.TEXTURE10') | |
| 4811 @DocsEditable() | |
| 4812 @Experimental() // untriaged | |
| 4813 static const int TEXTURE10 = 0x84CA; | |
| 4814 | |
| 4815 @DomName('WebGL2RenderingContext.TEXTURE11') | |
| 4816 @DocsEditable() | |
| 4817 @Experimental() // untriaged | |
| 4818 static const int TEXTURE11 = 0x84CB; | |
| 4819 | |
| 4820 @DomName('WebGL2RenderingContext.TEXTURE12') | |
| 4821 @DocsEditable() | |
| 4822 @Experimental() // untriaged | |
| 4823 static const int TEXTURE12 = 0x84CC; | |
| 4824 | |
| 4825 @DomName('WebGL2RenderingContext.TEXTURE13') | |
| 4826 @DocsEditable() | |
| 4827 @Experimental() // untriaged | |
| 4828 static const int TEXTURE13 = 0x84CD; | |
| 4829 | |
| 4830 @DomName('WebGL2RenderingContext.TEXTURE14') | |
| 4831 @DocsEditable() | |
| 4832 @Experimental() // untriaged | |
| 4833 static const int TEXTURE14 = 0x84CE; | |
| 4834 | |
| 4835 @DomName('WebGL2RenderingContext.TEXTURE15') | |
| 4836 @DocsEditable() | |
| 4837 @Experimental() // untriaged | |
| 4838 static const int TEXTURE15 = 0x84CF; | |
| 4839 | |
| 4840 @DomName('WebGL2RenderingContext.TEXTURE16') | |
| 4841 @DocsEditable() | |
| 4842 @Experimental() // untriaged | |
| 4843 static const int TEXTURE16 = 0x84D0; | |
| 4844 | |
| 4845 @DomName('WebGL2RenderingContext.TEXTURE17') | |
| 4846 @DocsEditable() | |
| 4847 @Experimental() // untriaged | |
| 4848 static const int TEXTURE17 = 0x84D1; | |
| 4849 | |
| 4850 @DomName('WebGL2RenderingContext.TEXTURE18') | |
| 4851 @DocsEditable() | |
| 4852 @Experimental() // untriaged | |
| 4853 static const int TEXTURE18 = 0x84D2; | |
| 4854 | |
| 4855 @DomName('WebGL2RenderingContext.TEXTURE19') | |
| 4856 @DocsEditable() | |
| 4857 @Experimental() // untriaged | |
| 4858 static const int TEXTURE19 = 0x84D3; | |
| 4859 | |
| 4860 @DomName('WebGL2RenderingContext.TEXTURE2') | |
| 4861 @DocsEditable() | |
| 4862 @Experimental() // untriaged | |
| 4863 static const int TEXTURE2 = 0x84C2; | |
| 4864 | |
| 4865 @DomName('WebGL2RenderingContext.TEXTURE20') | |
| 4866 @DocsEditable() | |
| 4867 @Experimental() // untriaged | |
| 4868 static const int TEXTURE20 = 0x84D4; | |
| 4869 | |
| 4870 @DomName('WebGL2RenderingContext.TEXTURE21') | |
| 4871 @DocsEditable() | |
| 4872 @Experimental() // untriaged | |
| 4873 static const int TEXTURE21 = 0x84D5; | |
| 4874 | |
| 4875 @DomName('WebGL2RenderingContext.TEXTURE22') | |
| 4876 @DocsEditable() | |
| 4877 @Experimental() // untriaged | |
| 4878 static const int TEXTURE22 = 0x84D6; | |
| 4879 | |
| 4880 @DomName('WebGL2RenderingContext.TEXTURE23') | |
| 4881 @DocsEditable() | |
| 4882 @Experimental() // untriaged | |
| 4883 static const int TEXTURE23 = 0x84D7; | |
| 4884 | |
| 4885 @DomName('WebGL2RenderingContext.TEXTURE24') | |
| 4886 @DocsEditable() | |
| 4887 @Experimental() // untriaged | |
| 4888 static const int TEXTURE24 = 0x84D8; | |
| 4889 | |
| 4890 @DomName('WebGL2RenderingContext.TEXTURE25') | |
| 4891 @DocsEditable() | |
| 4892 @Experimental() // untriaged | |
| 4893 static const int TEXTURE25 = 0x84D9; | |
| 4894 | |
| 4895 @DomName('WebGL2RenderingContext.TEXTURE26') | |
| 4896 @DocsEditable() | |
| 4897 @Experimental() // untriaged | |
| 4898 static const int TEXTURE26 = 0x84DA; | |
| 4899 | |
| 4900 @DomName('WebGL2RenderingContext.TEXTURE27') | |
| 4901 @DocsEditable() | |
| 4902 @Experimental() // untriaged | |
| 4903 static const int TEXTURE27 = 0x84DB; | |
| 4904 | |
| 4905 @DomName('WebGL2RenderingContext.TEXTURE28') | |
| 4906 @DocsEditable() | |
| 4907 @Experimental() // untriaged | |
| 4908 static const int TEXTURE28 = 0x84DC; | |
| 4909 | |
| 4910 @DomName('WebGL2RenderingContext.TEXTURE29') | |
| 4911 @DocsEditable() | |
| 4912 @Experimental() // untriaged | |
| 4913 static const int TEXTURE29 = 0x84DD; | |
| 4914 | |
| 4915 @DomName('WebGL2RenderingContext.TEXTURE3') | |
| 4916 @DocsEditable() | |
| 4917 @Experimental() // untriaged | |
| 4918 static const int TEXTURE3 = 0x84C3; | |
| 4919 | |
| 4920 @DomName('WebGL2RenderingContext.TEXTURE30') | |
| 4921 @DocsEditable() | |
| 4922 @Experimental() // untriaged | |
| 4923 static const int TEXTURE30 = 0x84DE; | |
| 4924 | |
| 4925 @DomName('WebGL2RenderingContext.TEXTURE31') | |
| 4926 @DocsEditable() | |
| 4927 @Experimental() // untriaged | |
| 4928 static const int TEXTURE31 = 0x84DF; | |
| 4929 | |
| 4930 @DomName('WebGL2RenderingContext.TEXTURE4') | |
| 4931 @DocsEditable() | |
| 4932 @Experimental() // untriaged | |
| 4933 static const int TEXTURE4 = 0x84C4; | |
| 4934 | |
| 4935 @DomName('WebGL2RenderingContext.TEXTURE5') | |
| 4936 @DocsEditable() | |
| 4937 @Experimental() // untriaged | |
| 4938 static const int TEXTURE5 = 0x84C5; | |
| 4939 | |
| 4940 @DomName('WebGL2RenderingContext.TEXTURE6') | |
| 4941 @DocsEditable() | |
| 4942 @Experimental() // untriaged | |
| 4943 static const int TEXTURE6 = 0x84C6; | |
| 4944 | |
| 4945 @DomName('WebGL2RenderingContext.TEXTURE7') | |
| 4946 @DocsEditable() | |
| 4947 @Experimental() // untriaged | |
| 4948 static const int TEXTURE7 = 0x84C7; | |
| 4949 | |
| 4950 @DomName('WebGL2RenderingContext.TEXTURE8') | |
| 4951 @DocsEditable() | |
| 4952 @Experimental() // untriaged | |
| 4953 static const int TEXTURE8 = 0x84C8; | |
| 4954 | |
| 4955 @DomName('WebGL2RenderingContext.TEXTURE9') | |
| 4956 @DocsEditable() | |
| 4957 @Experimental() // untriaged | |
| 4958 static const int TEXTURE9 = 0x84C9; | |
| 4959 | |
| 4960 @DomName('WebGL2RenderingContext.TEXTURE_2D') | |
| 4961 @DocsEditable() | |
| 4962 @Experimental() // untriaged | |
| 4963 static const int TEXTURE_2D = 0x0DE1; | |
| 4964 | |
| 4965 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_2D') | |
| 4966 @DocsEditable() | |
| 4967 @Experimental() // untriaged | |
| 4968 static const int TEXTURE_BINDING_2D = 0x8069; | |
| 4969 | |
| 4970 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP') | |
| 4971 @DocsEditable() | |
| 4972 @Experimental() // untriaged | |
| 4973 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; | |
| 4974 | |
| 4975 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP') | |
| 4976 @DocsEditable() | |
| 4977 @Experimental() // untriaged | |
| 4978 static const int TEXTURE_CUBE_MAP = 0x8513; | |
| 4979 | |
| 4980 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') | |
| 4981 @DocsEditable() | |
| 4982 @Experimental() // untriaged | |
| 4983 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; | |
| 4984 | |
| 4985 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') | |
| 4986 @DocsEditable() | |
| 4987 @Experimental() // untriaged | |
| 4988 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; | |
| 4989 | |
| 4990 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') | |
| 4991 @DocsEditable() | |
| 4992 @Experimental() // untriaged | |
| 4993 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; | |
| 4994 | |
| 4995 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') | |
| 4996 @DocsEditable() | |
| 4997 @Experimental() // untriaged | |
| 4998 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; | |
| 4999 | |
| 5000 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') | |
| 5001 @DocsEditable() | |
| 5002 @Experimental() // untriaged | |
| 5003 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; | |
| 5004 | |
| 5005 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') | |
| 5006 @DocsEditable() | |
| 5007 @Experimental() // untriaged | |
| 5008 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; | |
| 5009 | |
| 5010 @DomName('WebGL2RenderingContext.TEXTURE_MAG_FILTER') | |
| 5011 @DocsEditable() | |
| 5012 @Experimental() // untriaged | |
| 5013 static const int TEXTURE_MAG_FILTER = 0x2800; | |
| 5014 | |
| 5015 @DomName('WebGL2RenderingContext.TEXTURE_MIN_FILTER') | |
| 5016 @DocsEditable() | |
| 5017 @Experimental() // untriaged | |
| 5018 static const int TEXTURE_MIN_FILTER = 0x2801; | |
| 5019 | |
| 5020 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_S') | |
| 5021 @DocsEditable() | |
| 5022 @Experimental() // untriaged | |
| 5023 static const int TEXTURE_WRAP_S = 0x2802; | |
| 5024 | |
| 5025 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_T') | |
| 5026 @DocsEditable() | |
| 5027 @Experimental() // untriaged | |
| 5028 static const int TEXTURE_WRAP_T = 0x2803; | |
| 5029 | |
| 5030 @DomName('WebGL2RenderingContext.TRIANGLES') | |
| 5031 @DocsEditable() | |
| 5032 @Experimental() // untriaged | |
| 5033 static const int TRIANGLES = 0x0004; | |
| 5034 | |
| 5035 @DomName('WebGL2RenderingContext.TRIANGLE_FAN') | |
| 5036 @DocsEditable() | |
| 5037 @Experimental() // untriaged | |
| 5038 static const int TRIANGLE_FAN = 0x0006; | |
| 5039 | |
| 5040 @DomName('WebGL2RenderingContext.TRIANGLE_STRIP') | |
| 5041 @DocsEditable() | |
| 5042 @Experimental() // untriaged | |
| 5043 static const int TRIANGLE_STRIP = 0x0005; | |
| 5044 | |
| 5045 @DomName('WebGL2RenderingContext.UNPACK_ALIGNMENT') | |
| 5046 @DocsEditable() | |
| 5047 @Experimental() // untriaged | |
| 5048 static const int UNPACK_ALIGNMENT = 0x0CF5; | |
| 5049 | |
| 5050 @DomName('WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') | |
| 5051 @DocsEditable() | |
| 5052 @Experimental() // untriaged | |
| 5053 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | |
| 5054 | |
| 5055 @DomName('WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL') | |
| 5056 @DocsEditable() | |
| 5057 @Experimental() // untriaged | |
| 5058 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; | |
| 5059 | |
| 5060 @DomName('WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') | |
| 5061 @DocsEditable() | |
| 5062 @Experimental() // untriaged | |
| 5063 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | |
| 5064 | |
| 5065 @DomName('WebGL2RenderingContext.UNSIGNED_BYTE') | |
| 5066 @DocsEditable() | |
| 5067 @Experimental() // untriaged | |
| 5068 static const int UNSIGNED_BYTE = 0x1401; | |
| 5069 | |
| 5070 @DomName('WebGL2RenderingContext.UNSIGNED_INT') | |
| 5071 @DocsEditable() | |
| 5072 @Experimental() // untriaged | |
| 5073 static const int UNSIGNED_INT = 0x1405; | |
| 5074 | |
| 5075 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT') | |
| 5076 @DocsEditable() | |
| 5077 @Experimental() // untriaged | |
| 5078 static const int UNSIGNED_SHORT = 0x1403; | |
| 5079 | |
| 5080 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4') | |
| 5081 @DocsEditable() | |
| 5082 @Experimental() // untriaged | |
| 5083 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; | |
| 5084 | |
| 5085 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1') | |
| 5086 @DocsEditable() | |
| 5087 @Experimental() // untriaged | |
| 5088 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; | |
| 5089 | |
| 5090 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5') | |
| 5091 @DocsEditable() | |
| 5092 @Experimental() // untriaged | |
| 5093 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; | |
| 5094 | |
| 5095 @DomName('WebGL2RenderingContext.VALIDATE_STATUS') | |
| 5096 @DocsEditable() | |
| 5097 @Experimental() // untriaged | |
| 5098 static const int VALIDATE_STATUS = 0x8B83; | |
| 5099 | |
| 5100 @DomName('WebGL2RenderingContext.VENDOR') | |
| 5101 @DocsEditable() | |
| 5102 @Experimental() // untriaged | |
| 5103 static const int VENDOR = 0x1F00; | |
| 5104 | |
| 5105 @DomName('WebGL2RenderingContext.VERSION') | |
| 5106 @DocsEditable() | |
| 5107 @Experimental() // untriaged | |
| 5108 static const int VERSION = 0x1F02; | |
| 5109 | |
| 5110 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') | |
| 5111 @DocsEditable() | |
| 5112 @Experimental() // untriaged | |
| 5113 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; | |
| 5114 | |
| 5115 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') | |
| 5116 @DocsEditable() | |
| 5117 @Experimental() // untriaged | |
| 5118 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; | |
| 5119 | |
| 5120 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') | |
| 5121 @DocsEditable() | |
| 5122 @Experimental() // untriaged | |
| 5123 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; | |
| 5124 | |
| 5125 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') | |
| 5126 @DocsEditable() | |
| 5127 @Experimental() // untriaged | |
| 5128 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; | |
| 5129 | |
| 5130 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') | |
| 5131 @DocsEditable() | |
| 5132 @Experimental() // untriaged | |
| 5133 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; | |
| 5134 | |
| 5135 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') | |
| 5136 @DocsEditable() | |
| 5137 @Experimental() // untriaged | |
| 5138 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | |
| 5139 | |
| 5140 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') | |
| 5141 @DocsEditable() | |
| 5142 @Experimental() // untriaged | |
| 5143 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | |
| 5144 | |
| 5145 @DomName('WebGL2RenderingContext.VERTEX_SHADER') | |
| 5146 @DocsEditable() | |
| 5147 @Experimental() // untriaged | |
| 5148 static const int VERTEX_SHADER = 0x8B31; | |
| 5149 | |
| 5150 @DomName('WebGL2RenderingContext.VIEWPORT') | |
| 5151 @DocsEditable() | |
| 5152 @Experimental() // untriaged | |
| 5153 static const int VIEWPORT = 0x0BA2; | |
| 5154 | |
| 5155 @DomName('WebGL2RenderingContext.ZERO') | |
| 5156 @DocsEditable() | |
| 5157 @Experimental() // untriaged | |
| 5158 static const int ZERO = 0; | |
| 5159 | |
| 5160 @DomName('WebGL2RenderingContext.beginQuery') | |
| 5161 @DocsEditable() | |
| 5162 @Experimental() // untriaged | |
| 5163 void beginQuery(int target, Query query) => _blink.BlinkWebGL2RenderingContext
.instance.beginQuery_Callback_2_(unwrap_jso(this), target, unwrap_jso(query)); | |
| 5164 | |
| 5165 @DomName('WebGL2RenderingContext.beginTransformFeedback') | |
| 5166 @DocsEditable() | |
| 5167 @Experimental() // untriaged | |
| 5168 void beginTransformFeedback(int primitiveMode) => _blink.BlinkWebGL2RenderingC
ontext.instance.beginTransformFeedback_Callback_1_(unwrap_jso(this), primitiveMo
de); | |
| 5169 | |
| 5170 @DomName('WebGL2RenderingContext.bindBufferBase') | |
| 5171 @DocsEditable() | |
| 5172 @Experimental() // untriaged | |
| 5173 void bindBufferBase(int target, int index, Buffer buffer) => _blink.BlinkWebGL
2RenderingContext.instance.bindBufferBase_Callback_3_(unwrap_jso(this), target,
index, unwrap_jso(buffer)); | |
| 5174 | |
| 5175 @DomName('WebGL2RenderingContext.bindBufferRange') | |
| 5176 @DocsEditable() | |
| 5177 @Experimental() // untriaged | |
| 5178 void bindBufferRange(int target, int index, Buffer buffer, int offset, int siz
e) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferRange_Callback_5_(un
wrap_jso(this), target, index, unwrap_jso(buffer), offset, size); | |
| 5179 | |
| 5180 @DomName('WebGL2RenderingContext.bindSampler') | |
| 5181 @DocsEditable() | |
| 5182 @Experimental() // untriaged | |
| 5183 void bindSampler(int unit, Sampler sampler) => _blink.BlinkWebGL2RenderingCont
ext.instance.bindSampler_Callback_2_(unwrap_jso(this), unit, unwrap_jso(sampler)
); | |
| 5184 | |
| 5185 @DomName('WebGL2RenderingContext.bindTransformFeedback') | |
| 5186 @DocsEditable() | |
| 5187 @Experimental() // untriaged | |
| 5188 void bindTransformFeedback(int target, TransformFeedback feedback) => _blink.B
linkWebGL2RenderingContext.instance.bindTransformFeedback_Callback_2_(unwrap_jso
(this), target, unwrap_jso(feedback)); | |
| 5189 | |
| 5190 @DomName('WebGL2RenderingContext.bindVertexArray') | |
| 5191 @DocsEditable() | |
| 5192 @Experimental() // untriaged | |
| 5193 void bindVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Rende
ringContext.instance.bindVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(ve
rtexArray)); | |
| 5194 | |
| 5195 @DomName('WebGL2RenderingContext.blitFramebuffer') | |
| 5196 @DocsEditable() | |
| 5197 @Experimental() // untriaged | |
| 5198 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, in
t dstY0, int dstX1, int dstY1, int mask, int filter) => _blink.BlinkWebGL2Render
ingContext.instance.blitFramebuffer_Callback_10_(unwrap_jso(this), srcX0, srcY0,
srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); | |
| 5199 | |
| 5200 @DomName('WebGL2RenderingContext.clearBufferfi') | |
| 5201 @DocsEditable() | |
| 5202 @Experimental() // untriaged | |
| 5203 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) => _bli
nk.BlinkWebGL2RenderingContext.instance.clearBufferfi_Callback_4_(unwrap_jso(thi
s), buffer, drawbuffer, depth, stencil); | |
| 5204 | |
| 5205 void clearBufferfv(int buffer, int drawbuffer, value) { | |
| 5206 if ((value is Float32List) && (drawbuffer is int) && (buffer is int)) { | |
| 5207 _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwr
ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); | |
| 5208 return; | |
| 5209 } | |
| 5210 if ((value is List<num>) && (drawbuffer is int) && (buffer is int)) { | |
| 5211 _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwr
ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); | |
| 5212 return; | |
| 5213 } | |
| 5214 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5215 } | |
| 5216 | |
| 5217 void clearBufferiv(int buffer, int drawbuffer, value) { | |
| 5218 if ((value is Int32List) && (drawbuffer is int) && (buffer is int)) { | |
| 5219 _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwr
ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); | |
| 5220 return; | |
| 5221 } | |
| 5222 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) { | |
| 5223 _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwr
ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); | |
| 5224 return; | |
| 5225 } | |
| 5226 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5227 } | |
| 5228 | |
| 5229 void clearBufferuiv(int buffer, int drawbuffer, value) { | |
| 5230 if ((value is Uint32List) && (drawbuffer is int) && (buffer is int)) { | |
| 5231 _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unw
rap_jso(this), buffer, drawbuffer, unwrap_jso(value)); | |
| 5232 return; | |
| 5233 } | |
| 5234 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) { | |
| 5235 _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unw
rap_jso(this), buffer, drawbuffer, unwrap_jso(value)); | |
| 5236 return; | |
| 5237 } | |
| 5238 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5239 } | |
| 5240 | |
| 5241 @DomName('WebGL2RenderingContext.clientWaitSync') | |
| 5242 @DocsEditable() | |
| 5243 @Experimental() // untriaged | |
| 5244 int clientWaitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Ren
deringContext.instance.clientWaitSync_Callback_3_(unwrap_jso(this), unwrap_jso(s
ync), flags, timeout); | |
| 5245 | |
| 5246 @DomName('WebGL2RenderingContext.compressedTexImage3D') | |
| 5247 @DocsEditable() | |
| 5248 @Experimental() // untriaged | |
| 5249 void compressedTexImage3D(int target, int level, int internalformat, int width
, int height, int depth, int border, TypedData data) => _blink.BlinkWebGL2Render
ingContext.instance.compressedTexImage3D_Callback_8_(unwrap_jso(this), target, l
evel, internalformat, width, height, depth, border, unwrap_jso(data)); | |
| 5250 | |
| 5251 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') | |
| 5252 @DocsEditable() | |
| 5253 @Experimental() // untriaged | |
| 5254 void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset,
int zoffset, int width, int height, int depth, int format, TypedData data) => _b
link.BlinkWebGL2RenderingContext.instance.compressedTexSubImage3D_Callback_10_(u
nwrap_jso(this), target, level, xoffset, yoffset, zoffset, width, height, depth,
format, unwrap_jso(data)); | |
| 5255 | |
| 5256 @DomName('WebGL2RenderingContext.copyBufferSubData') | |
| 5257 @DocsEditable() | |
| 5258 @Experimental() // untriaged | |
| 5259 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int wr
iteOffset, int size) => _blink.BlinkWebGL2RenderingContext.instance.copyBufferSu
bData_Callback_5_(unwrap_jso(this), readTarget, writeTarget, readOffset, writeOf
fset, size); | |
| 5260 | |
| 5261 @DomName('WebGL2RenderingContext.copyTexSubImage3D') | |
| 5262 @DocsEditable() | |
| 5263 @Experimental() // untriaged | |
| 5264 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zo
ffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContex
t.instance.copyTexSubImage3D_Callback_9_(unwrap_jso(this), target, level, xoffse
t, yoffset, zoffset, x, y, width, height); | |
| 5265 | |
| 5266 @DomName('WebGL2RenderingContext.createQuery') | |
| 5267 @DocsEditable() | |
| 5268 @Experimental() // untriaged | |
| 5269 Query createQuery() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.cr
eateQuery_Callback_0_(unwrap_jso(this))); | |
| 5270 | |
| 5271 @DomName('WebGL2RenderingContext.createSampler') | |
| 5272 @DocsEditable() | |
| 5273 @Experimental() // untriaged | |
| 5274 Sampler createSampler() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc
e.createSampler_Callback_0_(unwrap_jso(this))); | |
| 5275 | |
| 5276 @DomName('WebGL2RenderingContext.createTransformFeedback') | |
| 5277 @DocsEditable() | |
| 5278 @Experimental() // untriaged | |
| 5279 TransformFeedback createTransformFeedback() => wrap_jso(_blink.BlinkWebGL2Rend
eringContext.instance.createTransformFeedback_Callback_0_(unwrap_jso(this))); | |
| 5280 | |
| 5281 @DomName('WebGL2RenderingContext.createVertexArray') | |
| 5282 @DocsEditable() | |
| 5283 @Experimental() // untriaged | |
| 5284 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkWebGL2RenderingC
ontext.instance.createVertexArray_Callback_0_(unwrap_jso(this))); | |
| 5285 | |
| 5286 @DomName('WebGL2RenderingContext.deleteQuery') | |
| 5287 @DocsEditable() | |
| 5288 @Experimental() // untriaged | |
| 5289 void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.d
eleteQuery_Callback_1_(unwrap_jso(this), unwrap_jso(query)); | |
| 5290 | |
| 5291 @DomName('WebGL2RenderingContext.deleteSampler') | |
| 5292 @DocsEditable() | |
| 5293 @Experimental() // untriaged | |
| 5294 void deleteSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.inst
ance.deleteSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler)); | |
| 5295 | |
| 5296 @DomName('WebGL2RenderingContext.deleteSync') | |
| 5297 @DocsEditable() | |
| 5298 @Experimental() // untriaged | |
| 5299 void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.dele
teSync_Callback_1_(unwrap_jso(this), unwrap_jso(sync)); | |
| 5300 | |
| 5301 @DomName('WebGL2RenderingContext.deleteTransformFeedback') | |
| 5302 @DocsEditable() | |
| 5303 @Experimental() // untriaged | |
| 5304 void deleteTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2
RenderingContext.instance.deleteTransformFeedback_Callback_1_(unwrap_jso(this),
unwrap_jso(feedback)); | |
| 5305 | |
| 5306 @DomName('WebGL2RenderingContext.deleteVertexArray') | |
| 5307 @DocsEditable() | |
| 5308 @Experimental() // untriaged | |
| 5309 void deleteVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Ren
deringContext.instance.deleteVertexArray_Callback_1_(unwrap_jso(this), unwrap_js
o(vertexArray)); | |
| 5310 | |
| 5311 @DomName('WebGL2RenderingContext.drawArraysInstanced') | |
| 5312 @DocsEditable() | |
| 5313 @Experimental() // untriaged | |
| 5314 void drawArraysInstanced(int mode, int first, int count, int instanceCount) =>
_blink.BlinkWebGL2RenderingContext.instance.drawArraysInstanced_Callback_4_(unw
rap_jso(this), mode, first, count, instanceCount); | |
| 5315 | |
| 5316 @DomName('WebGL2RenderingContext.drawBuffers') | |
| 5317 @DocsEditable() | |
| 5318 @Experimental() // untriaged | |
| 5319 void drawBuffers(List<int> buffers) => _blink.BlinkWebGL2RenderingContext.inst
ance.drawBuffers_Callback_1_(unwrap_jso(this), buffers); | |
| 5320 | |
| 5321 @DomName('WebGL2RenderingContext.drawElementsInstanced') | |
| 5322 @DocsEditable() | |
| 5323 @Experimental() // untriaged | |
| 5324 void drawElementsInstanced(int mode, int count, int type, int offset, int inst
anceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawElementsInstanced_
Callback_5_(unwrap_jso(this), mode, count, type, offset, instanceCount); | |
| 5325 | |
| 5326 @DomName('WebGL2RenderingContext.drawRangeElements') | |
| 5327 @DocsEditable() | |
| 5328 @Experimental() // untriaged | |
| 5329 void drawRangeElements(int mode, int start, int end, int count, int type, int
offset) => _blink.BlinkWebGL2RenderingContext.instance.drawRangeElements_Callbac
k_6_(unwrap_jso(this), mode, start, end, count, type, offset); | |
| 5330 | |
| 5331 @DomName('WebGL2RenderingContext.endQuery') | |
| 5332 @DocsEditable() | |
| 5333 @Experimental() // untriaged | |
| 5334 void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance.endQu
ery_Callback_1_(unwrap_jso(this), target); | |
| 5335 | |
| 5336 @DomName('WebGL2RenderingContext.endTransformFeedback') | |
| 5337 @DocsEditable() | |
| 5338 @Experimental() // untriaged | |
| 5339 void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.end
TransformFeedback_Callback_0_(unwrap_jso(this)); | |
| 5340 | |
| 5341 @DomName('WebGL2RenderingContext.fenceSync') | |
| 5342 @DocsEditable() | |
| 5343 @Experimental() // untriaged | |
| 5344 Sync fenceSync(int condition, int flags) => wrap_jso(_blink.BlinkWebGL2Renderi
ngContext.instance.fenceSync_Callback_2_(unwrap_jso(this), condition, flags)); | |
| 5345 | |
| 5346 @DomName('WebGL2RenderingContext.framebufferTextureLayer') | |
| 5347 @DocsEditable() | |
| 5348 @Experimental() // untriaged | |
| 5349 void framebufferTextureLayer(int target, int attachment, Texture texture, int
level, int layer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferText
ureLayer_Callback_5_(unwrap_jso(this), target, attachment, unwrap_jso(texture),
level, layer); | |
| 5350 | |
| 5351 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') | |
| 5352 @DocsEditable() | |
| 5353 @Experimental() // untriaged | |
| 5354 String getActiveUniformBlockName(Program program, int uniformBlockIndex) => _b
link.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockName_Callback_2_(
unwrap_jso(this), unwrap_jso(program), uniformBlockIndex); | |
| 5355 | |
| 5356 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') | |
| 5357 @DocsEditable() | |
| 5358 @Experimental() // untriaged | |
| 5359 Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex,
int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getActiveUnif
ormBlockParameter_Callback_3_(unwrap_jso(this), unwrap_jso(program), uniformBloc
kIndex, pname)); | |
| 5360 | |
| 5361 @DomName('WebGL2RenderingContext.getActiveUniforms') | |
| 5362 @DocsEditable() | |
| 5363 @Experimental() // untriaged | |
| 5364 List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pna
me) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniforms_Callback_3_
(unwrap_jso(this), unwrap_jso(program), uniformIndices, pname); | |
| 5365 | |
| 5366 @DomName('WebGL2RenderingContext.getBufferSubData') | |
| 5367 @DocsEditable() | |
| 5368 @Experimental() // untriaged | |
| 5369 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => _bli
nk.BlinkWebGL2RenderingContext.instance.getBufferSubData_Callback_3_(unwrap_jso(
this), target, offset, unwrap_jso(returnedData)); | |
| 5370 | |
| 5371 @DomName('WebGL2RenderingContext.getFragDataLocation') | |
| 5372 @DocsEditable() | |
| 5373 @Experimental() // untriaged | |
| 5374 int getFragDataLocation(Program program, String name) => _blink.BlinkWebGL2Ren
deringContext.instance.getFragDataLocation_Callback_2_(unwrap_jso(this), unwrap_
jso(program), name); | |
| 5375 | |
| 5376 @DomName('WebGL2RenderingContext.getIndexedParameter') | |
| 5377 @DocsEditable() | |
| 5378 @Experimental() // untriaged | |
| 5379 Object getIndexedParameter(int target, int index) => wrap_jso(_blink.BlinkWebG
L2RenderingContext.instance.getIndexedParameter_Callback_2_(unwrap_jso(this), ta
rget, index)); | |
| 5380 | |
| 5381 @DomName('WebGL2RenderingContext.getInternalformatParameter') | |
| 5382 @DocsEditable() | |
| 5383 @Experimental() // untriaged | |
| 5384 Object getInternalformatParameter(int target, int internalformat, int pname) =
> wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getInternalformatParamete
r_Callback_3_(unwrap_jso(this), target, internalformat, pname)); | |
| 5385 | |
| 5386 @DomName('WebGL2RenderingContext.getQuery') | |
| 5387 @DocsEditable() | |
| 5388 @Experimental() // untriaged | |
| 5389 Query getQuery(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingC
ontext.instance.getQuery_Callback_2_(unwrap_jso(this), target, pname)); | |
| 5390 | |
| 5391 @DomName('WebGL2RenderingContext.getQueryParameter') | |
| 5392 @DocsEditable() | |
| 5393 @Experimental() // untriaged | |
| 5394 Object getQueryParameter(Query query, int pname) => wrap_jso(_blink.BlinkWebGL
2RenderingContext.instance.getQueryParameter_Callback_2_(unwrap_jso(this), unwra
p_jso(query), pname)); | |
| 5395 | |
| 5396 @DomName('WebGL2RenderingContext.getSamplerParameter') | |
| 5397 @DocsEditable() | |
| 5398 @Experimental() // untriaged | |
| 5399 Object getSamplerParameter(Sampler sampler, int pname) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getSamplerParameter_Callback_2_(unwrap_jso(this
), unwrap_jso(sampler), pname)); | |
| 5400 | |
| 5401 @DomName('WebGL2RenderingContext.getSyncParameter') | |
| 5402 @DocsEditable() | |
| 5403 @Experimental() // untriaged | |
| 5404 Object getSyncParameter(Sync sync, int pname) => wrap_jso(_blink.BlinkWebGL2Re
nderingContext.instance.getSyncParameter_Callback_2_(unwrap_jso(this), unwrap_js
o(sync), pname)); | |
| 5405 | |
| 5406 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') | |
| 5407 @DocsEditable() | |
| 5408 @Experimental() // untriaged | |
| 5409 ActiveInfo getTransformFeedbackVarying(Program program, int index) => wrap_jso
(_blink.BlinkWebGL2RenderingContext.instance.getTransformFeedbackVarying_Callbac
k_2_(unwrap_jso(this), unwrap_jso(program), index)); | |
| 5410 | |
| 5411 @DomName('WebGL2RenderingContext.getUniformBlockIndex') | |
| 5412 @DocsEditable() | |
| 5413 @Experimental() // untriaged | |
| 5414 int getUniformBlockIndex(Program program, String uniformBlockName) => _blink.B
linkWebGL2RenderingContext.instance.getUniformBlockIndex_Callback_2_(unwrap_jso(
this), unwrap_jso(program), uniformBlockName); | |
| 5415 | |
| 5416 @DomName('WebGL2RenderingContext.getUniformIndices') | |
| 5417 @DocsEditable() | |
| 5418 @Experimental() // untriaged | |
| 5419 List<int> getUniformIndices(Program program, List<String> uniformNames) => _bl
ink.BlinkWebGL2RenderingContext.instance.getUniformIndices_Callback_2_(unwrap_js
o(this), unwrap_jso(program), uniformNames); | |
| 5420 | |
| 5421 @DomName('WebGL2RenderingContext.invalidateFramebuffer') | |
| 5422 @DocsEditable() | |
| 5423 @Experimental() // untriaged | |
| 5424 void invalidateFramebuffer(int target, List<int> attachments) => _blink.BlinkW
ebGL2RenderingContext.instance.invalidateFramebuffer_Callback_2_(unwrap_jso(this
), target, attachments); | |
| 5425 | |
| 5426 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') | |
| 5427 @DocsEditable() | |
| 5428 @Experimental() // untriaged | |
| 5429 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y,
int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.invalidat
eSubFramebuffer_Callback_6_(unwrap_jso(this), target, attachments, x, y, width,
height); | |
| 5430 | |
| 5431 @DomName('WebGL2RenderingContext.isQuery') | |
| 5432 @DocsEditable() | |
| 5433 @Experimental() // untriaged | |
| 5434 bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.isQue
ry_Callback_1_(unwrap_jso(this), unwrap_jso(query)); | |
| 5435 | |
| 5436 @DomName('WebGL2RenderingContext.isSampler') | |
| 5437 @DocsEditable() | |
| 5438 @Experimental() // untriaged | |
| 5439 bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance
.isSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler)); | |
| 5440 | |
| 5441 @DomName('WebGL2RenderingContext.isSync') | |
| 5442 @DocsEditable() | |
| 5443 @Experimental() // untriaged | |
| 5444 bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.isSync_C
allback_1_(unwrap_jso(this), unwrap_jso(sync)); | |
| 5445 | |
| 5446 @DomName('WebGL2RenderingContext.isTransformFeedback') | |
| 5447 @DocsEditable() | |
| 5448 @Experimental() // untriaged | |
| 5449 bool isTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2Rend
eringContext.instance.isTransformFeedback_Callback_1_(unwrap_jso(this), unwrap_j
so(feedback)); | |
| 5450 | |
| 5451 @DomName('WebGL2RenderingContext.isVertexArray') | |
| 5452 @DocsEditable() | |
| 5453 @Experimental() // untriaged | |
| 5454 bool isVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Renderi
ngContext.instance.isVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(vertex
Array)); | |
| 5455 | |
| 5456 @DomName('WebGL2RenderingContext.pauseTransformFeedback') | |
| 5457 @DocsEditable() | |
| 5458 @Experimental() // untriaged | |
| 5459 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.p
auseTransformFeedback_Callback_0_(unwrap_jso(this)); | |
| 5460 | |
| 5461 @DomName('WebGL2RenderingContext.readBuffer') | |
| 5462 @DocsEditable() | |
| 5463 @Experimental() // untriaged | |
| 5464 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance.readB
uffer_Callback_1_(unwrap_jso(this), mode); | |
| 5465 | |
| 5466 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') | |
| 5467 @DocsEditable() | |
| 5468 @Experimental() // untriaged | |
| 5469 void renderbufferStorageMultisample(int target, int samples, int internalforma
t, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderb
ufferStorageMultisample_Callback_5_(unwrap_jso(this), target, samples, internalf
ormat, width, height); | |
| 5470 | |
| 5471 @DomName('WebGL2RenderingContext.resumeTransformFeedback') | |
| 5472 @DocsEditable() | |
| 5473 @Experimental() // untriaged | |
| 5474 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.
resumeTransformFeedback_Callback_0_(unwrap_jso(this)); | |
| 5475 | |
| 5476 @DomName('WebGL2RenderingContext.samplerParameterf') | |
| 5477 @DocsEditable() | |
| 5478 @Experimental() // untriaged | |
| 5479 void samplerParameterf(Sampler sampler, int pname, num param) => _blink.BlinkW
ebGL2RenderingContext.instance.samplerParameterf_Callback_3_(unwrap_jso(this), u
nwrap_jso(sampler), pname, param); | |
| 5480 | |
| 5481 @DomName('WebGL2RenderingContext.samplerParameteri') | |
| 5482 @DocsEditable() | |
| 5483 @Experimental() // untriaged | |
| 5484 void samplerParameteri(Sampler sampler, int pname, int param) => _blink.BlinkW
ebGL2RenderingContext.instance.samplerParameteri_Callback_3_(unwrap_jso(this), u
nwrap_jso(sampler), pname, param); | |
| 5485 | |
| 5486 @DomName('WebGL2RenderingContext.texImage3D') | |
| 5487 @DocsEditable() | |
| 5488 @Experimental() // untriaged | |
| 5489 void texImage3D(int target, int level, int internalformat, int width, int heig
ht, int depth, int border, int format, int type, TypedData pixels) => _blink.Bli
nkWebGL2RenderingContext.instance.texImage3D_Callback_10_(unwrap_jso(this), targ
et, level, internalformat, width, height, depth, border, format, type, unwrap_js
o(pixels)); | |
| 5490 | |
| 5491 @DomName('WebGL2RenderingContext.texStorage2D') | |
| 5492 @DocsEditable() | |
| 5493 @Experimental() // untriaged | |
| 5494 void texStorage2D(int target, int levels, int internalformat, int width, int h
eight) => _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_(u
nwrap_jso(this), target, levels, internalformat, width, height); | |
| 5495 | |
| 5496 @DomName('WebGL2RenderingContext.texStorage3D') | |
| 5497 @DocsEditable() | |
| 5498 @Experimental() // untriaged | |
| 5499 void texStorage3D(int target, int levels, int internalformat, int width, int h
eight, int depth) => _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Ca
llback_6_(unwrap_jso(this), target, levels, internalformat, width, height, depth
); | |
| 5500 | |
| 5501 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffse
t, int format_OR_width, int height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_
video, [int format, int type, TypedData pixels]) { | |
| 5502 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i
nt) && (canvas_OR_data_OR_depth_OR_image_OR_video is int) && (height_OR_type is
int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xof
fset is int) && (level is int) && (target is int)) { | |
| 5503 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_(unw
rap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height
_OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video), format, type, u
nwrap_jso(pixels)); | |
| 5504 return; | |
| 5505 } | |
| 5506 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || canvas_OR_dat
a_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_OR_w
idth is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (lev
el is int) && (target is int) && format == null && type == null && pixels == nul
l) { | |
| 5507 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr
ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_
OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); | |
| 5508 return; | |
| 5509 } | |
| 5510 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || canvas_OR_
data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_O
R_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (
level is int) && (target is int) && format == null && type == null && pixels ==
null) { | |
| 5511 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr
ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_
OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); | |
| 5512 return; | |
| 5513 } | |
| 5514 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || canvas_OR
_data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_
OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) &&
(level is int) && (target is int) && format == null && type == null && pixels ==
null) { | |
| 5515 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr
ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_
OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); | |
| 5516 return; | |
| 5517 } | |
| 5518 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || canvas_OR_
data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_O
R_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (
level is int) && (target is int) && format == null && type == null && pixels ==
null) { | |
| 5519 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr
ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_
OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); | |
| 5520 return; | |
| 5521 } | |
| 5522 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5523 } | |
| 5524 | |
| 5525 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | |
| 5526 @DocsEditable() | |
| 5527 @Experimental() // untriaged | |
| 5528 void transformFeedbackVaryings(Program program, List<String> varyings, int buf
ferMode) => _blink.BlinkWebGL2RenderingContext.instance.transformFeedbackVarying
s_Callback_3_(unwrap_jso(this), unwrap_jso(program), varyings, bufferMode); | |
| 5529 | |
| 5530 @DomName('WebGL2RenderingContext.uniform1ui') | |
| 5531 @DocsEditable() | |
| 5532 @Experimental() // untriaged | |
| 5533 void uniform1ui(UniformLocation location, int v0) => _blink.BlinkWebGL2Renderi
ngContext.instance.uniform1ui_Callback_2_(unwrap_jso(this), unwrap_jso(location)
, v0); | |
| 5534 | |
| 5535 @DomName('WebGL2RenderingContext.uniform1uiv') | |
| 5536 @DocsEditable() | |
| 5537 @Experimental() // untriaged | |
| 5538 void uniform1uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb
GL2RenderingContext.instance.uniform1uiv_Callback_2_(unwrap_jso(this), unwrap_js
o(location), value); | |
| 5539 | |
| 5540 @DomName('WebGL2RenderingContext.uniform2ui') | |
| 5541 @DocsEditable() | |
| 5542 @Experimental() // untriaged | |
| 5543 void uniform2ui(UniformLocation location, int v0, int v1) => _blink.BlinkWebGL
2RenderingContext.instance.uniform2ui_Callback_3_(unwrap_jso(this), unwrap_jso(l
ocation), v0, v1); | |
| 5544 | |
| 5545 @DomName('WebGL2RenderingContext.uniform2uiv') | |
| 5546 @DocsEditable() | |
| 5547 @Experimental() // untriaged | |
| 5548 void uniform2uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb
GL2RenderingContext.instance.uniform2uiv_Callback_2_(unwrap_jso(this), unwrap_js
o(location), value); | |
| 5549 | |
| 5550 @DomName('WebGL2RenderingContext.uniform3ui') | |
| 5551 @DocsEditable() | |
| 5552 @Experimental() // untriaged | |
| 5553 void uniform3ui(UniformLocation location, int v0, int v1, int v2) => _blink.Bl
inkWebGL2RenderingContext.instance.uniform3ui_Callback_4_(unwrap_jso(this), unwr
ap_jso(location), v0, v1, v2); | |
| 5554 | |
| 5555 @DomName('WebGL2RenderingContext.uniform3uiv') | |
| 5556 @DocsEditable() | |
| 5557 @Experimental() // untriaged | |
| 5558 void uniform3uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb
GL2RenderingContext.instance.uniform3uiv_Callback_2_(unwrap_jso(this), unwrap_js
o(location), value); | |
| 5559 | |
| 5560 @DomName('WebGL2RenderingContext.uniform4ui') | |
| 5561 @DocsEditable() | |
| 5562 @Experimental() // untriaged | |
| 5563 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => _
blink.BlinkWebGL2RenderingContext.instance.uniform4ui_Callback_5_(unwrap_jso(thi
s), unwrap_jso(location), v0, v1, v2, v3); | |
| 5564 | |
| 5565 @DomName('WebGL2RenderingContext.uniform4uiv') | |
| 5566 @DocsEditable() | |
| 5567 @Experimental() // untriaged | |
| 5568 void uniform4uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb
GL2RenderingContext.instance.uniform4uiv_Callback_2_(unwrap_jso(this), unwrap_js
o(location), value); | |
| 5569 | |
| 5570 @DomName('WebGL2RenderingContext.uniformBlockBinding') | |
| 5571 @DocsEditable() | |
| 5572 @Experimental() // untriaged | |
| 5573 void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBl
ockBinding) => _blink.BlinkWebGL2RenderingContext.instance.uniformBlockBinding_C
allback_3_(unwrap_jso(this), unwrap_jso(program), uniformBlockIndex, uniformBloc
kBinding); | |
| 5574 | |
| 5575 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) { | |
| 5576 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 5577 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5578 return; | |
| 5579 } | |
| 5580 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 5581 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5582 return; | |
| 5583 } | |
| 5584 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5585 } | |
| 5586 | |
| 5587 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) { | |
| 5588 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 5589 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5590 return; | |
| 5591 } | |
| 5592 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 5593 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5594 return; | |
| 5595 } | |
| 5596 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5597 } | |
| 5598 | |
| 5599 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) { | |
| 5600 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 5601 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5602 return; | |
| 5603 } | |
| 5604 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 5605 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5606 return; | |
| 5607 } | |
| 5608 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5609 } | |
| 5610 | |
| 5611 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) { | |
| 5612 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 5613 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5614 return; | |
| 5615 } | |
| 5616 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 5617 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5618 return; | |
| 5619 } | |
| 5620 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5621 } | |
| 5622 | |
| 5623 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) { | |
| 5624 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 5625 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5626 return; | |
| 5627 } | |
| 5628 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 5629 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5630 return; | |
| 5631 } | |
| 5632 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5633 } | |
| 5634 | |
| 5635 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) { | |
| 5636 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 5637 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5638 return; | |
| 5639 } | |
| 5640 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 5641 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_
(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); | |
| 5642 return; | |
| 5643 } | |
| 5644 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5645 } | |
| 5646 | |
| 5647 @DomName('WebGL2RenderingContext.vertexAttribDivisor') | |
| 5648 @DocsEditable() | |
| 5649 @Experimental() // untriaged | |
| 5650 void vertexAttribDivisor(int index, int divisor) => _blink.BlinkWebGL2Renderin
gContext.instance.vertexAttribDivisor_Callback_2_(unwrap_jso(this), index, divis
or); | |
| 5651 | |
| 5652 @DomName('WebGL2RenderingContext.vertexAttribI4i') | |
| 5653 @DocsEditable() | |
| 5654 @Experimental() // untriaged | |
| 5655 void vertexAttribI4i(int index, int x, int y, int z, int w) => _blink.BlinkWeb
GL2RenderingContext.instance.vertexAttribI4i_Callback_5_(unwrap_jso(this), index
, x, y, z, w); | |
| 5656 | |
| 5657 @DomName('WebGL2RenderingContext.vertexAttribI4iv') | |
| 5658 @DocsEditable() | |
| 5659 @Experimental() // untriaged | |
| 5660 void vertexAttribI4iv(int index, List<int> v) => _blink.BlinkWebGL2RenderingCo
ntext.instance.vertexAttribI4iv_Callback_2_(unwrap_jso(this), index, v); | |
| 5661 | |
| 5662 @DomName('WebGL2RenderingContext.vertexAttribI4ui') | |
| 5663 @DocsEditable() | |
| 5664 @Experimental() // untriaged | |
| 5665 void vertexAttribI4ui(int index, int x, int y, int z, int w) => _blink.BlinkWe
bGL2RenderingContext.instance.vertexAttribI4ui_Callback_5_(unwrap_jso(this), ind
ex, x, y, z, w); | |
| 5666 | |
| 5667 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') | |
| 5668 @DocsEditable() | |
| 5669 @Experimental() // untriaged | |
| 5670 void vertexAttribI4uiv(int index, List<int> v) => _blink.BlinkWebGL2RenderingC
ontext.instance.vertexAttribI4uiv_Callback_2_(unwrap_jso(this), index, v); | |
| 5671 | |
| 5672 @DomName('WebGL2RenderingContext.vertexAttribIPointer') | |
| 5673 @DocsEditable() | |
| 5674 @Experimental() // untriaged | |
| 5675 void vertexAttribIPointer(int index, int size, int type, int stride, int offse
t) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribIPointer_Callback_
5_(unwrap_jso(this), index, size, type, stride, offset); | |
| 5676 | |
| 5677 @DomName('WebGL2RenderingContext.waitSync') | |
| 5678 @DocsEditable() | |
| 5679 @Experimental() // untriaged | |
| 5680 void waitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Renderin
gContext.instance.waitSync_Callback_3_(unwrap_jso(this), unwrap_jso(sync), flags
, timeout); | |
| 5681 | |
| 5682 @DomName('WebGL2RenderingContext.canvas') | |
| 5683 @DocsEditable() | |
| 5684 @Experimental() // untriaged | |
| 5685 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGL2RenderingContext.instan
ce.canvas_Getter_(unwrap_jso(this))); | |
| 5686 | |
| 5687 @DomName('WebGL2RenderingContext.drawingBufferHeight') | |
| 5688 @DocsEditable() | |
| 5689 @Experimental() // untriaged | |
| 5690 int get drawingBufferHeight => _blink.BlinkWebGL2RenderingContext.instance.dra
wingBufferHeight_Getter_(unwrap_jso(this)); | |
| 5691 | |
| 5692 @DomName('WebGL2RenderingContext.drawingBufferWidth') | |
| 5693 @DocsEditable() | |
| 5694 @Experimental() // untriaged | |
| 5695 int get drawingBufferWidth => _blink.BlinkWebGL2RenderingContext.instance.draw
ingBufferWidth_Getter_(unwrap_jso(this)); | |
| 5696 | |
| 5697 @DomName('WebGL2RenderingContext.activeTexture') | |
| 5698 @DocsEditable() | |
| 5699 @Experimental() // untriaged | |
| 5700 void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance
.activeTexture_Callback_1_(unwrap_jso(this), texture); | |
| 5701 | |
| 5702 @DomName('WebGL2RenderingContext.attachShader') | |
| 5703 @DocsEditable() | |
| 5704 @Experimental() // untriaged | |
| 5705 void attachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi
ngContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program
), unwrap_jso(shader)); | |
| 5706 | |
| 5707 @DomName('WebGL2RenderingContext.bindAttribLocation') | |
| 5708 @DocsEditable() | |
| 5709 @Experimental() // untriaged | |
| 5710 void bindAttribLocation(Program program, int index, String name) => _blink.Bli
nkWebGL2RenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this
), unwrap_jso(program), index, name); | |
| 5711 | |
| 5712 @DomName('WebGL2RenderingContext.bindBuffer') | |
| 5713 @DocsEditable() | |
| 5714 @Experimental() // untriaged | |
| 5715 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGL2RenderingConte
xt.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer))
; | |
| 5716 | |
| 5717 @DomName('WebGL2RenderingContext.bindFramebuffer') | |
| 5718 @DocsEditable() | |
| 5719 @Experimental() // untriaged | |
| 5720 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
2RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target,
unwrap_jso(framebuffer)); | |
| 5721 | |
| 5722 @DomName('WebGL2RenderingContext.bindRenderbuffer') | |
| 5723 @DocsEditable() | |
| 5724 @Experimental() // untriaged | |
| 5725 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGL2RenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), tar
get, unwrap_jso(renderbuffer)); | |
| 5726 | |
| 5727 @DomName('WebGL2RenderingContext.bindTexture') | |
| 5728 @DocsEditable() | |
| 5729 @Experimental() // untriaged | |
| 5730 void bindTexture(int target, Texture texture) => _blink.BlinkWebGL2RenderingCo
ntext.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(text
ure)); | |
| 5731 | |
| 5732 @DomName('WebGL2RenderingContext.blendColor') | |
| 5733 @DocsEditable() | |
| 5734 @Experimental() // untriaged | |
| 5735 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2
RenderingContext.instance.blendColor_Callback_4_(unwrap_jso(this), red, green, b
lue, alpha); | |
| 5736 | |
| 5737 @DomName('WebGL2RenderingContext.blendEquation') | |
| 5738 @DocsEditable() | |
| 5739 @Experimental() // untriaged | |
| 5740 void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance.bl
endEquation_Callback_1_(unwrap_jso(this), mode); | |
| 5741 | |
| 5742 @DomName('WebGL2RenderingContext.blendEquationSeparate') | |
| 5743 @DocsEditable() | |
| 5744 @Experimental() // untriaged | |
| 5745 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGL2Re
nderingContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), mode
RGB, modeAlpha); | |
| 5746 | |
| 5747 @DomName('WebGL2RenderingContext.blendFunc') | |
| 5748 @DocsEditable() | |
| 5749 @Experimental() // untriaged | |
| 5750 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGL2RenderingContext
.instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); | |
| 5751 | |
| 5752 @DomName('WebGL2RenderingContext.blendFuncSeparate') | |
| 5753 @DocsEditable() | |
| 5754 @Experimental() // untriaged | |
| 5755 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap
_jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); | |
| 5756 | |
| 5757 void bufferData(int target, data_OR_size, int usage) { | |
| 5758 if ((usage is int) && (data_OR_size is int) && (target is int)) { | |
| 5759 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_
jso(this), target, unwrap_jso(data_OR_size), usage); | |
| 5760 return; | |
| 5761 } | |
| 5762 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { | |
| 5763 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_
jso(this), target, unwrap_jso(data_OR_size), usage); | |
| 5764 return; | |
| 5765 } | |
| 5766 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) &
& (target is int)) { | |
| 5767 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_
jso(this), target, unwrap_jso(data_OR_size), usage); | |
| 5768 return; | |
| 5769 } | |
| 5770 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5771 } | |
| 5772 | |
| 5773 void bufferSubData(int target, int offset, data) { | |
| 5774 if ((data is TypedData) && (offset is int) && (target is int)) { | |
| 5775 _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(unwr
ap_jso(this), target, offset, unwrap_jso(data)); | |
| 5776 return; | |
| 5777 } | |
| 5778 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in
t)) { | |
| 5779 _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(unwr
ap_jso(this), target, offset, unwrap_jso(data)); | |
| 5780 return; | |
| 5781 } | |
| 5782 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 5783 } | |
| 5784 | |
| 5785 @DomName('WebGL2RenderingContext.checkFramebufferStatus') | |
| 5786 @DocsEditable() | |
| 5787 @Experimental() // untriaged | |
| 5788 int checkFramebufferStatus(int target) => _blink.BlinkWebGL2RenderingContext.i
nstance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); | |
| 5789 | |
| 5790 @DomName('WebGL2RenderingContext.clear') | |
| 5791 @DocsEditable() | |
| 5792 @Experimental() // untriaged | |
| 5793 void clear(int mask) => _blink.BlinkWebGL2RenderingContext.instance.clear_Call
back_1_(unwrap_jso(this), mask); | |
| 5794 | |
| 5795 @DomName('WebGL2RenderingContext.clearColor') | |
| 5796 @DocsEditable() | |
| 5797 @Experimental() // untriaged | |
| 5798 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2
RenderingContext.instance.clearColor_Callback_4_(unwrap_jso(this), red, green, b
lue, alpha); | |
| 5799 | |
| 5800 @DomName('WebGL2RenderingContext.clearDepth') | |
| 5801 @DocsEditable() | |
| 5802 @Experimental() // untriaged | |
| 5803 void clearDepth(num depth) => _blink.BlinkWebGL2RenderingContext.instance.clea
rDepth_Callback_1_(unwrap_jso(this), depth); | |
| 5804 | |
| 5805 @DomName('WebGL2RenderingContext.clearStencil') | |
| 5806 @DocsEditable() | |
| 5807 @Experimental() // untriaged | |
| 5808 void clearStencil(int s) => _blink.BlinkWebGL2RenderingContext.instance.clearS
tencil_Callback_1_(unwrap_jso(this), s); | |
| 5809 | |
| 5810 @DomName('WebGL2RenderingContext.colorMask') | |
| 5811 @DocsEditable() | |
| 5812 @Experimental() // untriaged | |
| 5813 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb
GL2RenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green,
blue, alpha); | |
| 5814 | |
| 5815 @DomName('WebGL2RenderingContext.compileShader') | |
| 5816 @DocsEditable() | |
| 5817 @Experimental() // untriaged | |
| 5818 void compileShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instan
ce.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | |
| 5819 | |
| 5820 @DomName('WebGL2RenderingContext.compressedTexImage2D') | |
| 5821 @DocsEditable() | |
| 5822 @Experimental() // untriaged | |
| 5823 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext.
instance.compressedTexImage2D_Callback_7_(unwrap_jso(this), target, level, inter
nalformat, width, height, border, unwrap_jso(data)); | |
| 5824 | |
| 5825 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') | |
| 5826 @DocsEditable() | |
| 5827 @Experimental() // untriaged | |
| 5828 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.BlinkWebGL2Renderin
gContext.instance.compressedTexSubImage2D_Callback_8_(unwrap_jso(this), target,
level, xoffset, yoffset, width, height, format, unwrap_jso(data)); | |
| 5829 | |
| 5830 @DomName('WebGL2RenderingContext.copyTexImage2D') | |
| 5831 @DocsEditable() | |
| 5832 @Experimental() // untriaged | |
| 5833 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.BlinkWebGL2RenderingContext.instance
.copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x,
y, width, height, border); | |
| 5834 | |
| 5835 @DomName('WebGL2RenderingContext.copyTexSubImage2D') | |
| 5836 @DocsEditable() | |
| 5837 @Experimental() // untriaged | |
| 5838 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.co
pyTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x
, y, width, height); | |
| 5839 | |
| 5840 @DomName('WebGL2RenderingContext.createBuffer') | |
| 5841 @DocsEditable() | |
| 5842 @Experimental() // untriaged | |
| 5843 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.
createBuffer_Callback_0_(unwrap_jso(this))); | |
| 5844 | |
| 5845 @DomName('WebGL2RenderingContext.createFramebuffer') | |
| 5846 @DocsEditable() | |
| 5847 @Experimental() // untriaged | |
| 5848 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext
.instance.createFramebuffer_Callback_0_(unwrap_jso(this))); | |
| 5849 | |
| 5850 @DomName('WebGL2RenderingContext.createProgram') | |
| 5851 @DocsEditable() | |
| 5852 @Experimental() // untriaged | |
| 5853 Program createProgram() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc
e.createProgram_Callback_0_(unwrap_jso(this))); | |
| 5854 | |
| 5855 @DomName('WebGL2RenderingContext.createRenderbuffer') | |
| 5856 @DocsEditable() | |
| 5857 @Experimental() // untriaged | |
| 5858 Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGL2RenderingConte
xt.instance.createRenderbuffer_Callback_0_(unwrap_jso(this))); | |
| 5859 | |
| 5860 @DomName('WebGL2RenderingContext.createShader') | |
| 5861 @DocsEditable() | |
| 5862 @Experimental() // untriaged | |
| 5863 Shader createShader(int type) => wrap_jso(_blink.BlinkWebGL2RenderingContext.i
nstance.createShader_Callback_1_(unwrap_jso(this), type)); | |
| 5864 | |
| 5865 @DomName('WebGL2RenderingContext.createTexture') | |
| 5866 @DocsEditable() | |
| 5867 @Experimental() // untriaged | |
| 5868 Texture createTexture() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc
e.createTexture_Callback_0_(unwrap_jso(this))); | |
| 5869 | |
| 5870 @DomName('WebGL2RenderingContext.cullFace') | |
| 5871 @DocsEditable() | |
| 5872 @Experimental() // untriaged | |
| 5873 void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.cullFac
e_Callback_1_(unwrap_jso(this), mode); | |
| 5874 | |
| 5875 @DomName('WebGL2RenderingContext.deleteBuffer') | |
| 5876 @DocsEditable() | |
| 5877 @Experimental() // untriaged | |
| 5878 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instanc
e.deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); | |
| 5879 | |
| 5880 @DomName('WebGL2RenderingContext.deleteFramebuffer') | |
| 5881 @DocsEditable() | |
| 5882 @Experimental() // untriaged | |
| 5883 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2Rendering
Context.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(fram
ebuffer)); | |
| 5884 | |
| 5885 @DomName('WebGL2RenderingContext.deleteProgram') | |
| 5886 @DocsEditable() | |
| 5887 @Experimental() // untriaged | |
| 5888 void deleteProgram(Program program) => _blink.BlinkWebGL2RenderingContext.inst
ance.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 5889 | |
| 5890 @DomName('WebGL2RenderingContext.deleteRenderbuffer') | |
| 5891 @DocsEditable() | |
| 5892 @Experimental() // untriaged | |
| 5893 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2Render
ingContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(
renderbuffer)); | |
| 5894 | |
| 5895 @DomName('WebGL2RenderingContext.deleteShader') | |
| 5896 @DocsEditable() | |
| 5897 @Experimental() // untriaged | |
| 5898 void deleteShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instanc
e.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | |
| 5899 | |
| 5900 @DomName('WebGL2RenderingContext.deleteTexture') | |
| 5901 @DocsEditable() | |
| 5902 @Experimental() // untriaged | |
| 5903 void deleteTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.inst
ance.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); | |
| 5904 | |
| 5905 @DomName('WebGL2RenderingContext.depthFunc') | |
| 5906 @DocsEditable() | |
| 5907 @Experimental() // untriaged | |
| 5908 void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance.depthF
unc_Callback_1_(unwrap_jso(this), func); | |
| 5909 | |
| 5910 @DomName('WebGL2RenderingContext.depthMask') | |
| 5911 @DocsEditable() | |
| 5912 @Experimental() // untriaged | |
| 5913 void depthMask(bool flag) => _blink.BlinkWebGL2RenderingContext.instance.depth
Mask_Callback_1_(unwrap_jso(this), flag); | |
| 5914 | |
| 5915 @DomName('WebGL2RenderingContext.depthRange') | |
| 5916 @DocsEditable() | |
| 5917 @Experimental() // untriaged | |
| 5918 void depthRange(num zNear, num zFar) => _blink.BlinkWebGL2RenderingContext.ins
tance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar); | |
| 5919 | |
| 5920 @DomName('WebGL2RenderingContext.detachShader') | |
| 5921 @DocsEditable() | |
| 5922 @Experimental() // untriaged | |
| 5923 void detachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi
ngContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program
), unwrap_jso(shader)); | |
| 5924 | |
| 5925 @DomName('WebGL2RenderingContext.disable') | |
| 5926 @DocsEditable() | |
| 5927 @Experimental() // untriaged | |
| 5928 void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.disable_C
allback_1_(unwrap_jso(this), cap); | |
| 5929 | |
| 5930 @DomName('WebGL2RenderingContext.disableVertexAttribArray') | |
| 5931 @DocsEditable() | |
| 5932 @Experimental() // untriaged | |
| 5933 void disableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext
.instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index); | |
| 5934 | |
| 5935 @DomName('WebGL2RenderingContext.drawArrays') | |
| 5936 @DocsEditable() | |
| 5937 @Experimental() // untriaged | |
| 5938 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGL2Rendering
Context.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count); | |
| 5939 | |
| 5940 @DomName('WebGL2RenderingContext.drawElements') | |
| 5941 @DocsEditable() | |
| 5942 @Experimental() // untriaged | |
| 5943 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe
bGL2RenderingContext.instance.drawElements_Callback_4_(unwrap_jso(this), mode, c
ount, type, offset); | |
| 5944 | |
| 5945 @DomName('WebGL2RenderingContext.enable') | |
| 5946 @DocsEditable() | |
| 5947 @Experimental() // untriaged | |
| 5948 void enable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.enable_Cal
lback_1_(unwrap_jso(this), cap); | |
| 5949 | |
| 5950 @DomName('WebGL2RenderingContext.enableVertexAttribArray') | |
| 5951 @DocsEditable() | |
| 5952 @Experimental() // untriaged | |
| 5953 void enableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext.
instance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index); | |
| 5954 | |
| 5955 @DomName('WebGL2RenderingContext.finish') | |
| 5956 @DocsEditable() | |
| 5957 @Experimental() // untriaged | |
| 5958 void finish() => _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0
_(unwrap_jso(this)); | |
| 5959 | |
| 5960 @DomName('WebGL2RenderingContext.flush') | |
| 5961 @DocsEditable() | |
| 5962 @Experimental() // untriaged | |
| 5963 void flush() => _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_(
unwrap_jso(this)); | |
| 5964 | |
| 5965 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') | |
| 5966 @DocsEditable() | |
| 5967 @Experimental() // untriaged | |
| 5968 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.fra
mebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuf
fertarget, unwrap_jso(renderbuffer)); | |
| 5969 | |
| 5970 @DomName('WebGL2RenderingContext.framebufferTexture2D') | |
| 5971 @DocsEditable() | |
| 5972 @Experimental() // untriaged | |
| 5973 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTex
ture2D_Callback_5_(unwrap_jso(this), target, attachment, textarget, unwrap_jso(t
exture), level); | |
| 5974 | |
| 5975 @DomName('WebGL2RenderingContext.frontFace') | |
| 5976 @DocsEditable() | |
| 5977 @Experimental() // untriaged | |
| 5978 void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.frontF
ace_Callback_1_(unwrap_jso(this), mode); | |
| 5979 | |
| 5980 @DomName('WebGL2RenderingContext.generateMipmap') | |
| 5981 @DocsEditable() | |
| 5982 @Experimental() // untriaged | |
| 5983 void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance
.generateMipmap_Callback_1_(unwrap_jso(this), target); | |
| 5984 | |
| 5985 @DomName('WebGL2RenderingContext.getActiveAttrib') | |
| 5986 @DocsEditable() | |
| 5987 @Experimental() // untriaged | |
| 5988 ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), u
nwrap_jso(program), index)); | |
| 5989 | |
| 5990 @DomName('WebGL2RenderingContext.getActiveUniform') | |
| 5991 @DocsEditable() | |
| 5992 @Experimental() // untriaged | |
| 5993 ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.Bli
nkWebGL2RenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this),
unwrap_jso(program), index)); | |
| 5994 | |
| 5995 @DomName('WebGL2RenderingContext.getAttachedShaders') | |
| 5996 @DocsEditable() | |
| 5997 @Experimental() // untriaged | |
| 5998 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL
2RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwr
ap_jso(program))); | |
| 5999 | |
| 6000 @DomName('WebGL2RenderingContext.getAttribLocation') | |
| 6001 @DocsEditable() | |
| 6002 @Experimental() // untriaged | |
| 6003 int getAttribLocation(Program program, String name) => _blink.BlinkWebGL2Rende
ringContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(
program), name); | |
| 6004 | |
| 6005 @DomName('WebGL2RenderingContext.getBufferParameter') | |
| 6006 @DocsEditable() | |
| 6007 @Experimental() // untriaged | |
| 6008 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL
2RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targ
et, pname)); | |
| 6009 | |
| 6010 @DomName('WebGL2RenderingContext.getContextAttributes') | |
| 6011 @DocsEditable() | |
| 6012 @Experimental() // untriaged | |
| 6013 getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_b
link.BlinkWebGL2RenderingContext.instance.getContextAttributes_Callback_0_(unwra
p_jso(this)))); | |
| 6014 | |
| 6015 @DomName('WebGL2RenderingContext.getError') | |
| 6016 @DocsEditable() | |
| 6017 @Experimental() // untriaged | |
| 6018 int getError() => _blink.BlinkWebGL2RenderingContext.instance.getError_Callbac
k_0_(unwrap_jso(this)); | |
| 6019 | |
| 6020 @DomName('WebGL2RenderingContext.getExtension') | |
| 6021 @DocsEditable() | |
| 6022 @Experimental() // untriaged | |
| 6023 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGL2RenderingContex
t.instance.getExtension_Callback_1_(unwrap_jso(this), name)); | |
| 6024 | |
| 6025 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') | |
| 6026 @DocsEditable() | |
| 6027 @Experimental() // untriaged | |
| 6028 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getFramebufferAttachme
ntParameter_Callback_3_(unwrap_jso(this), target, attachment, pname)); | |
| 6029 | |
| 6030 @DomName('WebGL2RenderingContext.getParameter') | |
| 6031 @DocsEditable() | |
| 6032 @Experimental() // untriaged | |
| 6033 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.
instance.getParameter_Callback_1_(unwrap_jso(this), pname)); | |
| 6034 | |
| 6035 @DomName('WebGL2RenderingContext.getProgramInfoLog') | |
| 6036 @DocsEditable() | |
| 6037 @Experimental() // untriaged | |
| 6038 String getProgramInfoLog(Program program) => _blink.BlinkWebGL2RenderingContex
t.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 6039 | |
| 6040 @DomName('WebGL2RenderingContext.getProgramParameter') | |
| 6041 @DocsEditable() | |
| 6042 @Experimental() // untriaged | |
| 6043 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this
), unwrap_jso(program), pname)); | |
| 6044 | |
| 6045 @DomName('WebGL2RenderingContext.getRenderbufferParameter') | |
| 6046 @DocsEditable() | |
| 6047 @Experimental() // untriaged | |
| 6048 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso
(this), target, pname)); | |
| 6049 | |
| 6050 @DomName('WebGL2RenderingContext.getShaderInfoLog') | |
| 6051 @DocsEditable() | |
| 6052 @Experimental() // untriaged | |
| 6053 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGL2RenderingContext.i
nstance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | |
| 6054 | |
| 6055 @DomName('WebGL2RenderingContext.getShaderParameter') | |
| 6056 @DocsEditable() | |
| 6057 @Experimental() // untriaged | |
| 6058 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe
bGL2RenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), u
nwrap_jso(shader), pname)); | |
| 6059 | |
| 6060 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') | |
| 6061 @DocsEditable() | |
| 6062 @Experimental() // untriaged | |
| 6063 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getShaderPrecisionFo
rmat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); | |
| 6064 | |
| 6065 @DomName('WebGL2RenderingContext.getShaderSource') | |
| 6066 @DocsEditable() | |
| 6067 @Experimental() // untriaged | |
| 6068 String getShaderSource(Shader shader) => _blink.BlinkWebGL2RenderingContext.in
stance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | |
| 6069 | |
| 6070 @DomName('WebGL2RenderingContext.getSupportedExtensions') | |
| 6071 @DocsEditable() | |
| 6072 @Experimental() // untriaged | |
| 6073 List<String> getSupportedExtensions() => _blink.BlinkWebGL2RenderingContext.in
stance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); | |
| 6074 | |
| 6075 @DomName('WebGL2RenderingContext.getTexParameter') | |
| 6076 @DocsEditable() | |
| 6077 @Experimental() // untriaged | |
| 6078 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL2Re
nderingContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pn
ame)); | |
| 6079 | |
| 6080 @DomName('WebGL2RenderingContext.getUniform') | |
| 6081 @DocsEditable() | |
| 6082 @Experimental() // untriaged | |
| 6083 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin
k.BlinkWebGL2RenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this),
unwrap_jso(program), unwrap_jso(location))); | |
| 6084 | |
| 6085 @DomName('WebGL2RenderingContext.getUniformLocation') | |
| 6086 @DocsEditable() | |
| 6087 @Experimental() // untriaged | |
| 6088 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_
blink.BlinkWebGL2RenderingContext.instance.getUniformLocation_Callback_2_(unwrap
_jso(this), unwrap_jso(program), name)); | |
| 6089 | |
| 6090 @DomName('WebGL2RenderingContext.getVertexAttrib') | |
| 6091 @DocsEditable() | |
| 6092 @Experimental() // untriaged | |
| 6093 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGL2Ren
deringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pnam
e)); | |
| 6094 | |
| 6095 @DomName('WebGL2RenderingContext.getVertexAttribOffset') | |
| 6096 @DocsEditable() | |
| 6097 @Experimental() // untriaged | |
| 6098 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGL2Rendering
Context.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pnam
e); | |
| 6099 | |
| 6100 @DomName('WebGL2RenderingContext.hint') | |
| 6101 @DocsEditable() | |
| 6102 @Experimental() // untriaged | |
| 6103 void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance
.hint_Callback_2_(unwrap_jso(this), target, mode); | |
| 6104 | |
| 6105 @DomName('WebGL2RenderingContext.isBuffer') | |
| 6106 @DocsEditable() | |
| 6107 @Experimental() // untriaged | |
| 6108 bool isBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.is
Buffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); | |
| 6109 | |
| 6110 @DomName('WebGL2RenderingContext.isContextLost') | |
| 6111 @DocsEditable() | |
| 6112 @Experimental() // untriaged | |
| 6113 bool isContextLost() => _blink.BlinkWebGL2RenderingContext.instance.isContextL
ost_Callback_0_(unwrap_jso(this)); | |
| 6114 | |
| 6115 @DomName('WebGL2RenderingContext.isEnabled') | |
| 6116 @DocsEditable() | |
| 6117 @Experimental() // untriaged | |
| 6118 bool isEnabled(int cap) => _blink.BlinkWebGL2RenderingContext.instance.isEnabl
ed_Callback_1_(unwrap_jso(this), cap); | |
| 6119 | |
| 6120 @DomName('WebGL2RenderingContext.isFramebuffer') | |
| 6121 @DocsEditable() | |
| 6122 @Experimental() // untriaged | |
| 6123 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingCont
ext.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer)
); | |
| 6124 | |
| 6125 @DomName('WebGL2RenderingContext.isProgram') | |
| 6126 @DocsEditable() | |
| 6127 @Experimental() // untriaged | |
| 6128 bool isProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance
.isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 6129 | |
| 6130 @DomName('WebGL2RenderingContext.isRenderbuffer') | |
| 6131 @DocsEditable() | |
| 6132 @Experimental() // untriaged | |
| 6133 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingC
ontext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbu
ffer)); | |
| 6134 | |
| 6135 @DomName('WebGL2RenderingContext.isShader') | |
| 6136 @DocsEditable() | |
| 6137 @Experimental() // untriaged | |
| 6138 bool isShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.is
Shader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | |
| 6139 | |
| 6140 @DomName('WebGL2RenderingContext.isTexture') | |
| 6141 @DocsEditable() | |
| 6142 @Experimental() // untriaged | |
| 6143 bool isTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance
.isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); | |
| 6144 | |
| 6145 @DomName('WebGL2RenderingContext.lineWidth') | |
| 6146 @DocsEditable() | |
| 6147 @Experimental() // untriaged | |
| 6148 void lineWidth(num width) => _blink.BlinkWebGL2RenderingContext.instance.lineW
idth_Callback_1_(unwrap_jso(this), width); | |
| 6149 | |
| 6150 @DomName('WebGL2RenderingContext.linkProgram') | |
| 6151 @DocsEditable() | |
| 6152 @Experimental() // untriaged | |
| 6153 void linkProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instan
ce.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 6154 | |
| 6155 @DomName('WebGL2RenderingContext.pixelStorei') | |
| 6156 @DocsEditable() | |
| 6157 @Experimental() // untriaged | |
| 6158 void pixelStorei(int pname, int param) => _blink.BlinkWebGL2RenderingContext.i
nstance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param); | |
| 6159 | |
| 6160 @DomName('WebGL2RenderingContext.polygonOffset') | |
| 6161 @DocsEditable() | |
| 6162 @Experimental() // untriaged | |
| 6163 void polygonOffset(num factor, num units) => _blink.BlinkWebGL2RenderingContex
t.instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units); | |
| 6164 | |
| 6165 @DomName('WebGL2RenderingContext.readPixels') | |
| 6166 @DocsEditable() | |
| 6167 @Experimental() // untriaged | |
| 6168 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callbac
k_7_(unwrap_jso(this), x, y, width, height, format, type, unwrap_jso(pixels)); | |
| 6169 | |
| 6170 @DomName('WebGL2RenderingContext.renderbufferStorage') | |
| 6171 @DocsEditable() | |
| 6172 @Experimental() // untriaged | |
| 6173 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorage_Callback_4_
(unwrap_jso(this), target, internalformat, width, height); | |
| 6174 | |
| 6175 @DomName('WebGL2RenderingContext.sampleCoverage') | |
| 6176 @DocsEditable() | |
| 6177 @Experimental() // untriaged | |
| 6178 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGL2RenderingCont
ext.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert); | |
| 6179 | |
| 6180 @DomName('WebGL2RenderingContext.scissor') | |
| 6181 @DocsEditable() | |
| 6182 @Experimental() // untriaged | |
| 6183 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGL2Renderi
ngContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height); | |
| 6184 | |
| 6185 @DomName('WebGL2RenderingContext.shaderSource') | |
| 6186 @DocsEditable() | |
| 6187 @Experimental() // untriaged | |
| 6188 void shaderSource(Shader shader, String string) => _blink.BlinkWebGL2Rendering
Context.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader),
string); | |
| 6189 | |
| 6190 @DomName('WebGL2RenderingContext.stencilFunc') | |
| 6191 @DocsEditable() | |
| 6192 @Experimental() // untriaged | |
| 6193 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGL2RenderingCo
ntext.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask); | |
| 6194 | |
| 6195 @DomName('WebGL2RenderingContext.stencilFuncSeparate') | |
| 6196 @DocsEditable() | |
| 6197 @Experimental() // untriaged | |
| 6198 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin
kWebGL2RenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this
), face, func, ref, mask); | |
| 6199 | |
| 6200 @DomName('WebGL2RenderingContext.stencilMask') | |
| 6201 @DocsEditable() | |
| 6202 @Experimental() // untriaged | |
| 6203 void stencilMask(int mask) => _blink.BlinkWebGL2RenderingContext.instance.sten
cilMask_Callback_1_(unwrap_jso(this), mask); | |
| 6204 | |
| 6205 @DomName('WebGL2RenderingContext.stencilMaskSeparate') | |
| 6206 @DocsEditable() | |
| 6207 @Experimental() // untriaged | |
| 6208 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGL2RenderingCon
text.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask); | |
| 6209 | |
| 6210 @DomName('WebGL2RenderingContext.stencilOp') | |
| 6211 @DocsEditable() | |
| 6212 @Experimental() // untriaged | |
| 6213 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingC
ontext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass); | |
| 6214 | |
| 6215 @DomName('WebGL2RenderingContext.stencilOpSeparate') | |
| 6216 @DocsEditable() | |
| 6217 @Experimental() // untriaged | |
| 6218 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGL2RenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this)
, face, fail, zfail, zpass); | |
| 6219 | |
| 6220 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]) { | |
| 6221 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)) { | |
| 6222 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_(unwrap_
jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra
p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video), format, type, unwrap_jso(pi
xels)); | |
| 6223 return; | |
| 6224 } | |
| 6225 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) { | |
| 6226 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_
jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra
p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); | |
| 6227 return; | |
| 6228 } | |
| 6229 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) { | |
| 6230 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_
jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra
p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); | |
| 6231 return; | |
| 6232 } | |
| 6233 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) { | |
| 6234 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_
jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra
p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); | |
| 6235 return; | |
| 6236 } | |
| 6237 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) { | |
| 6238 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_
jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra
p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); | |
| 6239 return; | |
| 6240 } | |
| 6241 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6242 } | |
| 6243 | |
| 6244 @DomName('WebGL2RenderingContext.texParameterf') | |
| 6245 @DocsEditable() | |
| 6246 @Experimental() // untriaged | |
| 6247 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGL2Rend
eringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname,
param); | |
| 6248 | |
| 6249 @DomName('WebGL2RenderingContext.texParameteri') | |
| 6250 @DocsEditable() | |
| 6251 @Experimental() // untriaged | |
| 6252 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGL2Rend
eringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname,
param); | |
| 6253 | |
| 6254 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]) { | |
| 6255 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)) { | |
| 6256 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_(unwr
ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type,
unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video), type, unwrap_jso(pixel
s)); | |
| 6257 return; | |
| 6258 } | |
| 6259 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) { | |
| 6260 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr
ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type,
unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); | |
| 6261 return; | |
| 6262 } | |
| 6263 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) { | |
| 6264 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr
ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type,
unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); | |
| 6265 return; | |
| 6266 } | |
| 6267 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) { | |
| 6268 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr
ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type,
unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); | |
| 6269 return; | |
| 6270 } | |
| 6271 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) { | |
| 6272 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr
ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type,
unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); | |
| 6273 return; | |
| 6274 } | |
| 6275 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6276 } | |
| 6277 | |
| 6278 @DomName('WebGL2RenderingContext.uniform1f') | |
| 6279 @DocsEditable() | |
| 6280 @Experimental() // untriaged | |
| 6281 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGL2Rendering
Context.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x
); | |
| 6282 | |
| 6283 void uniform1fv(UniformLocation location, v) { | |
| 6284 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | |
| 6285 _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6286 return; | |
| 6287 } | |
| 6288 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 6289 _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6290 return; | |
| 6291 } | |
| 6292 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6293 } | |
| 6294 | |
| 6295 @DomName('WebGL2RenderingContext.uniform1i') | |
| 6296 @DocsEditable() | |
| 6297 @Experimental() // untriaged | |
| 6298 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGL2Rendering
Context.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x
); | |
| 6299 | |
| 6300 void uniform1iv(UniformLocation location, v) { | |
| 6301 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
| 6302 _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6303 return; | |
| 6304 } | |
| 6305 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 6306 _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6307 return; | |
| 6308 } | |
| 6309 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6310 } | |
| 6311 | |
| 6312 @DomName('WebGL2RenderingContext.uniform2f') | |
| 6313 @DocsEditable() | |
| 6314 @Experimental() // untriaged | |
| 6315 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGL2Re
nderingContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(locat
ion), x, y); | |
| 6316 | |
| 6317 void uniform2fv(UniformLocation location, v) { | |
| 6318 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | |
| 6319 _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6320 return; | |
| 6321 } | |
| 6322 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 6323 _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6324 return; | |
| 6325 } | |
| 6326 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6327 } | |
| 6328 | |
| 6329 @DomName('WebGL2RenderingContext.uniform2i') | |
| 6330 @DocsEditable() | |
| 6331 @Experimental() // untriaged | |
| 6332 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGL2Re
nderingContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(locat
ion), x, y); | |
| 6333 | |
| 6334 void uniform2iv(UniformLocation location, v) { | |
| 6335 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
| 6336 _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6337 return; | |
| 6338 } | |
| 6339 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 6340 _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6341 return; | |
| 6342 } | |
| 6343 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6344 } | |
| 6345 | |
| 6346 @DomName('WebGL2RenderingContext.uniform3f') | |
| 6347 @DocsEditable() | |
| 6348 @Experimental() // untriaged | |
| 6349 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGL2RenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_js
o(location), x, y, z); | |
| 6350 | |
| 6351 void uniform3fv(UniformLocation location, v) { | |
| 6352 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | |
| 6353 _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6354 return; | |
| 6355 } | |
| 6356 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 6357 _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6358 return; | |
| 6359 } | |
| 6360 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6361 } | |
| 6362 | |
| 6363 @DomName('WebGL2RenderingContext.uniform3i') | |
| 6364 @DocsEditable() | |
| 6365 @Experimental() // untriaged | |
| 6366 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGL2RenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_js
o(location), x, y, z); | |
| 6367 | |
| 6368 void uniform3iv(UniformLocation location, v) { | |
| 6369 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
| 6370 _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6371 return; | |
| 6372 } | |
| 6373 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 6374 _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6375 return; | |
| 6376 } | |
| 6377 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6378 } | |
| 6379 | |
| 6380 @DomName('WebGL2RenderingContext.uniform4f') | |
| 6381 @DocsEditable() | |
| 6382 @Experimental() // untriaged | |
| 6383 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGL2RenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), un
wrap_jso(location), x, y, z, w); | |
| 6384 | |
| 6385 void uniform4fv(UniformLocation location, v) { | |
| 6386 if ((v is Float32List) && (location is UniformLocation || location == null))
{ | |
| 6387 _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6388 return; | |
| 6389 } | |
| 6390 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
| 6391 _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6392 return; | |
| 6393 } | |
| 6394 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6395 } | |
| 6396 | |
| 6397 @DomName('WebGL2RenderingContext.uniform4i') | |
| 6398 @DocsEditable() | |
| 6399 @Experimental() // untriaged | |
| 6400 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGL2RenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), un
wrap_jso(location), x, y, z, w); | |
| 6401 | |
| 6402 void uniform4iv(UniformLocation location, v) { | |
| 6403 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
| 6404 _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6405 return; | |
| 6406 } | |
| 6407 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
| 6408 _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(unwrap_
jso(this), unwrap_jso(location), unwrap_jso(v)); | |
| 6409 return; | |
| 6410 } | |
| 6411 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6412 } | |
| 6413 | |
| 6414 void uniformMatrix2fv(UniformLocation location, bool transpose, array) { | |
| 6415 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 6416 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(u
nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 6417 return; | |
| 6418 } | |
| 6419 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 6420 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(u
nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 6421 return; | |
| 6422 } | |
| 6423 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6424 } | |
| 6425 | |
| 6426 void uniformMatrix3fv(UniformLocation location, bool transpose, array) { | |
| 6427 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 6428 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(u
nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 6429 return; | |
| 6430 } | |
| 6431 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 6432 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(u
nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 6433 return; | |
| 6434 } | |
| 6435 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6436 } | |
| 6437 | |
| 6438 void uniformMatrix4fv(UniformLocation location, bool transpose, array) { | |
| 6439 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc
ation || location == null)) { | |
| 6440 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(u
nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 6441 return; | |
| 6442 } | |
| 6443 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat
ion || location == null)) { | |
| 6444 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(u
nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); | |
| 6445 return; | |
| 6446 } | |
| 6447 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6448 } | |
| 6449 | |
| 6450 @DomName('WebGL2RenderingContext.useProgram') | |
| 6451 @DocsEditable() | |
| 6452 @Experimental() // untriaged | |
| 6453 void useProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instanc
e.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 6454 | |
| 6455 @DomName('WebGL2RenderingContext.validateProgram') | |
| 6456 @DocsEditable() | |
| 6457 @Experimental() // untriaged | |
| 6458 void validateProgram(Program program) => _blink.BlinkWebGL2RenderingContext.in
stance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 6459 | |
| 6460 @DomName('WebGL2RenderingContext.vertexAttrib1f') | |
| 6461 @DocsEditable() | |
| 6462 @Experimental() // untriaged | |
| 6463 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGL2RenderingContext.ins
tance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x); | |
| 6464 | |
| 6465 void vertexAttrib1fv(int indx, values) { | |
| 6466 if ((values is Float32List) && (indx is int)) { | |
| 6467 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6468 return; | |
| 6469 } | |
| 6470 if ((values is List<num>) && (indx is int)) { | |
| 6471 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6472 return; | |
| 6473 } | |
| 6474 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6475 } | |
| 6476 | |
| 6477 @DomName('WebGL2RenderingContext.vertexAttrib2f') | |
| 6478 @DocsEditable() | |
| 6479 @Experimental() // untriaged | |
| 6480 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGL2RenderingCont
ext.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y); | |
| 6481 | |
| 6482 void vertexAttrib2fv(int indx, values) { | |
| 6483 if ((values is Float32List) && (indx is int)) { | |
| 6484 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6485 return; | |
| 6486 } | |
| 6487 if ((values is List<num>) && (indx is int)) { | |
| 6488 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6489 return; | |
| 6490 } | |
| 6491 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6492 } | |
| 6493 | |
| 6494 @DomName('WebGL2RenderingContext.vertexAttrib3f') | |
| 6495 @DocsEditable() | |
| 6496 @Experimental() // untriaged | |
| 6497 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGL2Render
ingContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z); | |
| 6498 | |
| 6499 void vertexAttrib3fv(int indx, values) { | |
| 6500 if ((values is Float32List) && (indx is int)) { | |
| 6501 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6502 return; | |
| 6503 } | |
| 6504 if ((values is List<num>) && (indx is int)) { | |
| 6505 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6506 return; | |
| 6507 } | |
| 6508 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6509 } | |
| 6510 | |
| 6511 @DomName('WebGL2RenderingContext.vertexAttrib4f') | |
| 6512 @DocsEditable() | |
| 6513 @Experimental() // untriaged | |
| 6514 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
2RenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x,
y, z, w); | |
| 6515 | |
| 6516 void vertexAttrib4fv(int indx, values) { | |
| 6517 if ((values is Float32List) && (indx is int)) { | |
| 6518 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6519 return; | |
| 6520 } | |
| 6521 if ((values is List<num>) && (indx is int)) { | |
| 6522 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(un
wrap_jso(this), indx, unwrap_jso(values)); | |
| 6523 return; | |
| 6524 } | |
| 6525 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 6526 } | |
| 6527 | |
| 6528 @DomName('WebGL2RenderingContext.vertexAttribPointer') | |
| 6529 @DocsEditable() | |
| 6530 @Experimental() // untriaged | |
| 6531 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribPoi
nter_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset)
; | |
| 6532 | |
| 6533 @DomName('WebGL2RenderingContext.viewport') | |
| 6534 @DocsEditable() | |
| 6535 @Experimental() // untriaged | |
| 6536 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGL2Render
ingContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height); | |
| 6537 | |
| 6538 } | |
| 6539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 6540 // for details. All rights reserved. Use of this source code is governed by a | |
| 6541 // BSD-style license that can be found in the LICENSE file. | |
| 6542 | |
| 6543 // WARNING: Do not edit - generated code. | |
| 6544 | |
| 6545 | |
| 6546 @DocsEditable() | |
| 6547 @DomName('WebGLSampler') | |
| 6548 @Experimental() // untriaged | |
| 6549 class Sampler extends DartHtmlDomObject { | |
| 6550 // To suppress missing implicit constructor warnings. | |
| 6551 factory Sampler._() { throw new UnsupportedError("Not supported"); } | |
| 6552 | |
| 6553 @Deprecated("Internal Use Only") | |
| 6554 static Sampler internalCreateSampler() { | |
| 6555 return new Sampler._internalWrap(); | |
| 6556 } | |
| 6557 | |
| 6558 factory Sampler._internalWrap() { | |
| 6559 return new Sampler.internal_(); | |
| 6560 } | |
| 6561 | |
| 6562 @Deprecated("Internal Use Only") | |
| 6563 Sampler.internal_() { } | |
| 6564 | |
| 6565 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 6566 int get hashCode => unwrap_jso(this).hashCode; | |
| 6567 | |
| 6568 } | |
| 6569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 6570 // for details. All rights reserved. Use of this source code is governed by a | |
| 6571 // BSD-style license that can be found in the LICENSE file. | 3582 // BSD-style license that can be found in the LICENSE file. |
| 6572 | 3583 |
| 6573 // WARNING: Do not edit - generated code. | 3584 // WARNING: Do not edit - generated code. |
| 6574 | 3585 |
| 6575 | 3586 |
| 6576 @DocsEditable() | 3587 @DocsEditable() |
| 6577 @DomName('WebGLShader') | 3588 @DomName('WebGLShader') |
| 6578 class Shader extends DartHtmlDomObject { | 3589 class Shader extends DartHtmlDomObject { |
| 6579 // To suppress missing implicit constructor warnings. | 3590 // To suppress missing implicit constructor warnings. |
| 6580 factory Shader._() { throw new UnsupportedError("Not supported"); } | 3591 factory Shader._() { throw new UnsupportedError("Not supported"); } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6637 | 3648 |
| 6638 } | 3649 } |
| 6639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6640 // for details. All rights reserved. Use of this source code is governed by a | 3651 // for details. All rights reserved. Use of this source code is governed by a |
| 6641 // BSD-style license that can be found in the LICENSE file. | 3652 // BSD-style license that can be found in the LICENSE file. |
| 6642 | 3653 |
| 6643 // WARNING: Do not edit - generated code. | 3654 // WARNING: Do not edit - generated code. |
| 6644 | 3655 |
| 6645 | 3656 |
| 6646 @DocsEditable() | 3657 @DocsEditable() |
| 6647 @DomName('WebGLSync') | |
| 6648 @Experimental() // untriaged | |
| 6649 class Sync extends DartHtmlDomObject { | |
| 6650 // To suppress missing implicit constructor warnings. | |
| 6651 factory Sync._() { throw new UnsupportedError("Not supported"); } | |
| 6652 | |
| 6653 @Deprecated("Internal Use Only") | |
| 6654 static Sync internalCreateSync() { | |
| 6655 return new Sync._internalWrap(); | |
| 6656 } | |
| 6657 | |
| 6658 factory Sync._internalWrap() { | |
| 6659 return new Sync.internal_(); | |
| 6660 } | |
| 6661 | |
| 6662 @Deprecated("Internal Use Only") | |
| 6663 Sync.internal_() { } | |
| 6664 | |
| 6665 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 6666 int get hashCode => unwrap_jso(this).hashCode; | |
| 6667 | |
| 6668 } | |
| 6669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 6670 // for details. All rights reserved. Use of this source code is governed by a | |
| 6671 // BSD-style license that can be found in the LICENSE file. | |
| 6672 | |
| 6673 // WARNING: Do not edit - generated code. | |
| 6674 | |
| 6675 | |
| 6676 @DocsEditable() | |
| 6677 @DomName('WebGLTexture') | 3658 @DomName('WebGLTexture') |
| 6678 class Texture extends DartHtmlDomObject { | 3659 class Texture extends DartHtmlDomObject { |
| 6679 // To suppress missing implicit constructor warnings. | 3660 // To suppress missing implicit constructor warnings. |
| 6680 factory Texture._() { throw new UnsupportedError("Not supported"); } | 3661 factory Texture._() { throw new UnsupportedError("Not supported"); } |
| 6681 | 3662 |
| 6682 @Deprecated("Internal Use Only") | 3663 @Deprecated("Internal Use Only") |
| 6683 static Texture internalCreateTexture() { | 3664 static Texture internalCreateTexture() { |
| 6684 return new Texture._internalWrap(); | 3665 return new Texture._internalWrap(); |
| 6685 } | 3666 } |
| 6686 | 3667 |
| 6687 factory Texture._internalWrap() { | 3668 factory Texture._internalWrap() { |
| 6688 return new Texture.internal_(); | 3669 return new Texture.internal_(); |
| 6689 } | 3670 } |
| 6690 | 3671 |
| 6691 @Deprecated("Internal Use Only") | 3672 @Deprecated("Internal Use Only") |
| 6692 Texture.internal_() { } | 3673 Texture.internal_() { } |
| 6693 | 3674 |
| 6694 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3675 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 6695 int get hashCode => unwrap_jso(this).hashCode; | 3676 int get hashCode => unwrap_jso(this).hashCode; |
| 6696 | 3677 |
| 6697 } | 3678 } |
| 6698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6699 // for details. All rights reserved. Use of this source code is governed by a | 3680 // for details. All rights reserved. Use of this source code is governed by a |
| 6700 // BSD-style license that can be found in the LICENSE file. | 3681 // BSD-style license that can be found in the LICENSE file. |
| 6701 | 3682 |
| 6702 // WARNING: Do not edit - generated code. | 3683 // WARNING: Do not edit - generated code. |
| 6703 | 3684 |
| 6704 | 3685 |
| 6705 @DocsEditable() | 3686 @DocsEditable() |
| 6706 @DomName('WebGLTransformFeedback') | |
| 6707 @Experimental() // untriaged | |
| 6708 class TransformFeedback extends DartHtmlDomObject { | |
| 6709 // To suppress missing implicit constructor warnings. | |
| 6710 factory TransformFeedback._() { throw new UnsupportedError("Not supported"); } | |
| 6711 | |
| 6712 @Deprecated("Internal Use Only") | |
| 6713 static TransformFeedback internalCreateTransformFeedback() { | |
| 6714 return new TransformFeedback._internalWrap(); | |
| 6715 } | |
| 6716 | |
| 6717 factory TransformFeedback._internalWrap() { | |
| 6718 return new TransformFeedback.internal_(); | |
| 6719 } | |
| 6720 | |
| 6721 @Deprecated("Internal Use Only") | |
| 6722 TransformFeedback.internal_() { } | |
| 6723 | |
| 6724 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 6725 int get hashCode => unwrap_jso(this).hashCode; | |
| 6726 | |
| 6727 } | |
| 6728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 6729 // for details. All rights reserved. Use of this source code is governed by a | |
| 6730 // BSD-style license that can be found in the LICENSE file. | |
| 6731 | |
| 6732 // WARNING: Do not edit - generated code. | |
| 6733 | |
| 6734 | |
| 6735 @DocsEditable() | |
| 6736 @DomName('WebGLUniformLocation') | 3687 @DomName('WebGLUniformLocation') |
| 6737 class UniformLocation extends DartHtmlDomObject { | 3688 class UniformLocation extends DartHtmlDomObject { |
| 6738 // To suppress missing implicit constructor warnings. | 3689 // To suppress missing implicit constructor warnings. |
| 6739 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } | 3690 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } |
| 6740 | 3691 |
| 6741 @Deprecated("Internal Use Only") | 3692 @Deprecated("Internal Use Only") |
| 6742 static UniformLocation internalCreateUniformLocation() { | 3693 static UniformLocation internalCreateUniformLocation() { |
| 6743 return new UniformLocation._internalWrap(); | 3694 return new UniformLocation._internalWrap(); |
| 6744 } | 3695 } |
| 6745 | 3696 |
| 6746 factory UniformLocation._internalWrap() { | 3697 factory UniformLocation._internalWrap() { |
| 6747 return new UniformLocation.internal_(); | 3698 return new UniformLocation.internal_(); |
| 6748 } | 3699 } |
| 6749 | 3700 |
| 6750 @Deprecated("Internal Use Only") | 3701 @Deprecated("Internal Use Only") |
| 6751 UniformLocation.internal_() { } | 3702 UniformLocation.internal_() { } |
| 6752 | 3703 |
| 6753 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3704 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 6754 int get hashCode => unwrap_jso(this).hashCode; | 3705 int get hashCode => unwrap_jso(this).hashCode; |
| 6755 | 3706 |
| 6756 } | 3707 } |
| 6757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6758 // for details. All rights reserved. Use of this source code is governed by a | 3709 // for details. All rights reserved. Use of this source code is governed by a |
| 6759 // BSD-style license that can be found in the LICENSE file. | 3710 // BSD-style license that can be found in the LICENSE file. |
| 6760 | 3711 |
| 6761 // WARNING: Do not edit - generated code. | 3712 // WARNING: Do not edit - generated code. |
| 6762 | 3713 |
| 6763 | 3714 |
| 6764 @DocsEditable() | 3715 @DocsEditable() |
| 6765 @DomName('WebGLVertexArrayObject') | 3716 @DomName('WebGLVertexArrayObjectOES') |
| 6766 @Experimental() // untriaged | 3717 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 3718 @Experimental() // experimental |
| 6767 class VertexArrayObject extends DartHtmlDomObject { | 3719 class VertexArrayObject extends DartHtmlDomObject { |
| 6768 // To suppress missing implicit constructor warnings. | 3720 // To suppress missing implicit constructor warnings. |
| 6769 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3721 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 6770 | 3722 |
| 6771 @Deprecated("Internal Use Only") | 3723 @Deprecated("Internal Use Only") |
| 6772 static VertexArrayObject internalCreateVertexArrayObject() { | 3724 static VertexArrayObject internalCreateVertexArrayObject() { |
| 6773 return new VertexArrayObject._internalWrap(); | 3725 return new VertexArrayObject._internalWrap(); |
| 6774 } | 3726 } |
| 6775 | 3727 |
| 6776 factory VertexArrayObject._internalWrap() { | 3728 factory VertexArrayObject._internalWrap() { |
| 6777 return new VertexArrayObject.internal_(); | 3729 return new VertexArrayObject.internal_(); |
| 6778 } | 3730 } |
| 6779 | 3731 |
| 6780 @Deprecated("Internal Use Only") | 3732 @Deprecated("Internal Use Only") |
| 6781 VertexArrayObject.internal_() { } | 3733 VertexArrayObject.internal_() { } |
| 6782 | 3734 |
| 6783 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3735 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 6784 int get hashCode => unwrap_jso(this).hashCode; | 3736 int get hashCode => unwrap_jso(this).hashCode; |
| 6785 | 3737 |
| 6786 } | 3738 } |
| 6787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6788 // for details. All rights reserved. Use of this source code is governed by a | 3740 // for details. All rights reserved. Use of this source code is governed by a |
| 6789 // BSD-style license that can be found in the LICENSE file. | 3741 // BSD-style license that can be found in the LICENSE file. |
| 6790 | 3742 |
| 6791 // WARNING: Do not edit - generated code. | 3743 // WARNING: Do not edit - generated code. |
| 6792 | 3744 |
| 6793 | 3745 |
| 6794 @DocsEditable() | 3746 @DocsEditable() |
| 6795 @DomName('WebGLVertexArrayObjectOES') | |
| 6796 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | |
| 6797 @Experimental() // experimental | |
| 6798 class VertexArrayObjectOes extends DartHtmlDomObject { | |
| 6799 // To suppress missing implicit constructor warnings. | |
| 6800 factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported")
; } | |
| 6801 | |
| 6802 @Deprecated("Internal Use Only") | |
| 6803 static VertexArrayObjectOes internalCreateVertexArrayObjectOes() { | |
| 6804 return new VertexArrayObjectOes._internalWrap(); | |
| 6805 } | |
| 6806 | |
| 6807 factory VertexArrayObjectOes._internalWrap() { | |
| 6808 return new VertexArrayObjectOes.internal_(); | |
| 6809 } | |
| 6810 | |
| 6811 @Deprecated("Internal Use Only") | |
| 6812 VertexArrayObjectOes.internal_() { } | |
| 6813 | |
| 6814 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 6815 int get hashCode => unwrap_jso(this).hashCode; | |
| 6816 | |
| 6817 } | |
| 6818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 6819 // for details. All rights reserved. Use of this source code is governed by a | |
| 6820 // BSD-style license that can be found in the LICENSE file. | |
| 6821 | |
| 6822 // WARNING: Do not edit - generated code. | |
| 6823 | |
| 6824 | |
| 6825 @DocsEditable() | |
| 6826 @DomName('WebGL2RenderingContextBase') | |
| 6827 @Experimental() // untriaged | |
| 6828 class _WebGL2RenderingContextBase extends DartHtmlDomObject implements _WebGLRen
deringContextBase { | |
| 6829 // To suppress missing implicit constructor warnings. | |
| 6830 factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supp
orted"); } | |
| 6831 | |
| 6832 @Deprecated("Internal Use Only") | |
| 6833 static _WebGL2RenderingContextBase internalCreate_WebGL2RenderingContextBase()
{ | |
| 6834 return new _WebGL2RenderingContextBase._internalWrap(); | |
| 6835 } | |
| 6836 | |
| 6837 factory _WebGL2RenderingContextBase._internalWrap() { | |
| 6838 return new _WebGL2RenderingContextBase.internal_(); | |
| 6839 } | |
| 6840 | |
| 6841 @Deprecated("Internal Use Only") | |
| 6842 _WebGL2RenderingContextBase.internal_() { } | |
| 6843 | |
| 6844 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 6845 int get hashCode => unwrap_jso(this).hashCode; | |
| 6846 | |
| 6847 } | |
| 6848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 6849 // for details. All rights reserved. Use of this source code is governed by a | |
| 6850 // BSD-style license that can be found in the LICENSE file. | |
| 6851 | |
| 6852 // WARNING: Do not edit - generated code. | |
| 6853 | |
| 6854 | |
| 6855 @DocsEditable() | |
| 6856 @DomName('WebGLRenderingContextBase') | 3747 @DomName('WebGLRenderingContextBase') |
| 6857 @Experimental() // untriaged | 3748 @Experimental() // untriaged |
| 6858 class _WebGLRenderingContextBase extends DartHtmlDomObject { | 3749 class _WebGLRenderingContextBase extends DartHtmlDomObject { |
| 6859 // To suppress missing implicit constructor warnings. | 3750 // To suppress missing implicit constructor warnings. |
| 6860 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 3751 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
| 6861 | 3752 |
| 6862 } | 3753 } |
| OLD | NEW |