| 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, |
| 30 'OESElementIndexUint': () => OesElementIndexUint, | 31 'OESElementIndexUint': () => OesElementIndexUint, |
| 31 'OESStandardDerivatives': () => OesStandardDerivatives, | 32 'OESStandardDerivatives': () => OesStandardDerivatives, |
| 32 'OESTextureFloat': () => OesTextureFloat, | 33 'OESTextureFloat': () => OesTextureFloat, |
| 33 'OESTextureFloatLinear': () => OesTextureFloatLinear, | 34 'OESTextureFloatLinear': () => OesTextureFloatLinear, |
| 34 'OESTextureHalfFloat': () => OesTextureHalfFloat, | 35 'OESTextureHalfFloat': () => OesTextureHalfFloat, |
| 35 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear, | 36 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear, |
| 36 'OESVertexArrayObject': () => OesVertexArrayObject, | 37 'OESVertexArrayObject': () => OesVertexArrayObject, |
| 38 'WebGL2RenderingContext': () => RenderingContext2, |
| 39 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase, |
| 37 'WebGLActiveInfo': () => ActiveInfo, | 40 'WebGLActiveInfo': () => ActiveInfo, |
| 38 'WebGLBuffer': () => Buffer, | 41 'WebGLBuffer': () => Buffer, |
| 39 'WebGLCompressedTextureATC': () => CompressedTextureAtc, | 42 'WebGLCompressedTextureATC': () => CompressedTextureAtc, |
| 40 'WebGLCompressedTextureETC1': () => CompressedTextureETC1, | 43 'WebGLCompressedTextureETC1': () => CompressedTextureETC1, |
| 41 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc, | 44 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc, |
| 42 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC, | 45 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC, |
| 43 'WebGLContextAttributes': () => ContextAttributes, | |
| 44 'WebGLContextEvent': () => ContextEvent, | 46 'WebGLContextEvent': () => ContextEvent, |
| 45 'WebGLDebugRendererInfo': () => DebugRendererInfo, | 47 'WebGLDebugRendererInfo': () => DebugRendererInfo, |
| 46 'WebGLDebugShaders': () => DebugShaders, | 48 'WebGLDebugShaders': () => DebugShaders, |
| 47 'WebGLDepthTexture': () => DepthTexture, | 49 'WebGLDepthTexture': () => DepthTexture, |
| 48 'WebGLDrawBuffers': () => DrawBuffers, | 50 'WebGLDrawBuffers': () => DrawBuffers, |
| 49 'WebGLFramebuffer': () => Framebuffer, | 51 'WebGLFramebuffer': () => Framebuffer, |
| 50 'WebGLLoseContext': () => LoseContext, | 52 'WebGLLoseContext': () => LoseContext, |
| 51 'WebGLProgram': () => Program, | 53 'WebGLProgram': () => Program, |
| 54 'WebGLQuery': () => Query, |
| 52 'WebGLRenderbuffer': () => Renderbuffer, | 55 'WebGLRenderbuffer': () => Renderbuffer, |
| 53 'WebGLRenderingContext': () => RenderingContext, | 56 'WebGLRenderingContext': () => RenderingContext, |
| 54 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, | 57 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, |
| 58 'WebGLSampler': () => Sampler, |
| 55 'WebGLShader': () => Shader, | 59 'WebGLShader': () => Shader, |
| 56 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, | 60 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, |
| 61 'WebGLSync': () => Sync, |
| 57 'WebGLTexture': () => Texture, | 62 'WebGLTexture': () => Texture, |
| 63 'WebGLTransformFeedback': () => TransformFeedback, |
| 58 'WebGLUniformLocation': () => UniformLocation, | 64 'WebGLUniformLocation': () => UniformLocation, |
| 59 'WebGLVertexArrayObjectOES': () => VertexArrayObject, | 65 'WebGLVertexArrayObject': () => VertexArrayObject, |
| 66 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes, |
| 60 | 67 |
| 61 }; | 68 }; |
| 62 | 69 |
| 63 // FIXME: Can we make this private? | 70 // FIXME: Can we make this private? |
| 64 @Deprecated("Internal Use Only") | 71 @Deprecated("Internal Use Only") |
| 65 final web_glBlinkFunctionMap = { | 72 final web_glBlinkFunctionMap = { |
| 66 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstance
dArrays, | 73 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstance
dArrays, |
| 67 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax, | 74 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax, |
| 68 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth, | 75 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth, |
| 69 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextur
eLod, | 76 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextur
eLod, |
| 70 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreat
eExtTextureFilterAnisotropic, | 77 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreat
eExtTextureFilterAnisotropic, |
| 78 'EXTsRGB': () => EXTsRgb.internalCreateEXTsRgb, |
| 71 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndex
Uint, | 79 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndex
Uint, |
| 72 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStanda
rdDerivatives, | 80 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStanda
rdDerivatives, |
| 73 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat, | 81 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat, |
| 74 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureF
loatLinear, | 82 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureF
loatLinear, |
| 75 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfF
loat, | 83 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfF
loat, |
| 76 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOes
TextureHalfFloatLinear, | 84 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOes
TextureHalfFloatLinear, |
| 77 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArra
yObject, | 85 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArra
yObject, |
| 86 'WebGL2RenderingContext': () => RenderingContext2.internalCreateRenderingConte
xt2, |
| 87 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase.internalCreate
_WebGL2RenderingContextBase, |
| 78 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo, | 88 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo, |
| 79 'WebGLBuffer': () => Buffer.internalCreateBuffer, | 89 'WebGLBuffer': () => Buffer.internalCreateBuffer, |
| 80 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompress
edTextureAtc, | 90 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompress
edTextureAtc, |
| 81 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompre
ssedTextureETC1, | 91 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompre
ssedTextureETC1, |
| 82 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateComp
ressedTexturePvrtc, | 92 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateComp
ressedTexturePvrtc, |
| 83 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompre
ssedTextureS3TC, | 93 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompre
ssedTextureS3TC, |
| 84 'WebGLContextAttributes': () => ContextAttributes.internalCreateContextAttribu
tes, | |
| 85 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent, | 94 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent, |
| 86 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererI
nfo, | 95 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererI
nfo, |
| 87 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders, | 96 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders, |
| 88 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture, | 97 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture, |
| 89 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers, | 98 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers, |
| 90 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer, | 99 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer, |
| 91 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext, | 100 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext, |
| 92 'WebGLProgram': () => Program.internalCreateProgram, | 101 'WebGLProgram': () => Program.internalCreateProgram, |
| 102 'WebGLQuery': () => Query.internalCreateQuery, |
| 93 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer, | 103 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer, |
| 94 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext
, | 104 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext
, |
| 105 'WebGLSampler': () => Sampler.internalCreateSampler, |
| 95 'WebGLShader': () => Shader.internalCreateShader, | 106 'WebGLShader': () => Shader.internalCreateShader, |
| 96 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShader
PrecisionFormat, | 107 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShader
PrecisionFormat, |
| 108 'WebGLSync': () => Sync.internalCreateSync, |
| 97 'WebGLTexture': () => Texture.internalCreateTexture, | 109 'WebGLTexture': () => Texture.internalCreateTexture, |
| 110 'WebGLTransformFeedback': () => TransformFeedback.internalCreateTransformFeedb
ack, |
| 98 'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation, | 111 'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation, |
| 99 'WebGLVertexArrayObjectOES': () => VertexArrayObject.internalCreateVertexArray
Object, | 112 'WebGLVertexArrayObject': () => VertexArrayObject.internalCreateVertexArrayObj
ect, |
| 113 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.internalCreateVertexAr
rayObjectOes, |
| 100 | 114 |
| 101 }; | 115 }; |
| 102 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 116 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 103 // for details. All rights reserved. Use of this source code is governed by a | 117 // for details. All rights reserved. Use of this source code is governed by a |
| 104 // BSD-style license that can be found in the LICENSE file. | 118 // BSD-style license that can be found in the LICENSE file. |
| 105 | 119 |
| 106 | 120 |
| 107 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | 121 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
| 108 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | 122 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; |
| 109 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | 123 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 | 709 |
| 696 } | 710 } |
| 697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 698 // for details. All rights reserved. Use of this source code is governed by a | 712 // for details. All rights reserved. Use of this source code is governed by a |
| 699 // BSD-style license that can be found in the LICENSE file. | 713 // BSD-style license that can be found in the LICENSE file. |
| 700 | 714 |
| 701 // WARNING: Do not edit - generated code. | 715 // WARNING: Do not edit - generated code. |
| 702 | 716 |
| 703 | 717 |
| 704 @DocsEditable() | 718 @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() | |
| 815 @DomName('WebGLContextEvent') | 719 @DomName('WebGLContextEvent') |
| 816 @Unstable() | 720 @Unstable() |
| 817 class ContextEvent extends Event { | 721 class ContextEvent extends Event { |
| 818 // To suppress missing implicit constructor warnings. | 722 // To suppress missing implicit constructor warnings. |
| 819 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 723 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
| 820 | 724 |
| 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 |
| 821 | 735 |
| 822 @Deprecated("Internal Use Only") | 736 @Deprecated("Internal Use Only") |
| 823 static ContextEvent internalCreateContextEvent() { | 737 static ContextEvent internalCreateContextEvent() { |
| 824 return new ContextEvent._internalWrap(); | 738 return new ContextEvent._internalWrap(); |
| 825 } | 739 } |
| 826 | 740 |
| 827 external factory ContextEvent._internalWrap(); | 741 external factory ContextEvent._internalWrap(); |
| 828 | 742 |
| 829 @Deprecated("Internal Use Only") | 743 @Deprecated("Internal Use Only") |
| 830 ContextEvent.internal_() : super.internal_(); | 744 ContextEvent.internal_() : super.internal_(); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 | 1030 |
| 1117 } | 1031 } |
| 1118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1119 // for details. All rights reserved. Use of this source code is governed by a | 1033 // for details. All rights reserved. Use of this source code is governed by a |
| 1120 // BSD-style license that can be found in the LICENSE file. | 1034 // BSD-style license that can be found in the LICENSE file. |
| 1121 | 1035 |
| 1122 // WARNING: Do not edit - generated code. | 1036 // WARNING: Do not edit - generated code. |
| 1123 | 1037 |
| 1124 | 1038 |
| 1125 @DocsEditable() | 1039 @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() |
| 1126 @DomName('EXTBlendMinMax') | 1090 @DomName('EXTBlendMinMax') |
| 1127 @Experimental() // untriaged | 1091 @Experimental() // untriaged |
| 1128 class ExtBlendMinMax extends DartHtmlDomObject { | 1092 class ExtBlendMinMax extends DartHtmlDomObject { |
| 1129 // To suppress missing implicit constructor warnings. | 1093 // To suppress missing implicit constructor warnings. |
| 1130 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } | 1094 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } |
| 1131 | 1095 |
| 1132 @Deprecated("Internal Use Only") | 1096 @Deprecated("Internal Use Only") |
| 1133 static ExtBlendMinMax internalCreateExtBlendMinMax() { | 1097 static ExtBlendMinMax internalCreateExtBlendMinMax() { |
| 1134 return new ExtBlendMinMax._internalWrap(); | 1098 return new ExtBlendMinMax._internalWrap(); |
| 1135 } | 1099 } |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 | 1511 |
| 1548 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1512 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1549 int get hashCode => unwrap_jso(this).hashCode; | 1513 int get hashCode => unwrap_jso(this).hashCode; |
| 1550 | 1514 |
| 1551 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1515 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
| 1552 @DocsEditable() | 1516 @DocsEditable() |
| 1553 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1517 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 1554 | 1518 |
| 1555 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1519 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 1556 @DocsEditable() | 1520 @DocsEditable() |
| 1557 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a
rrayObject)); | 1521 void bindVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVerte
xArrayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_js
o(arrayObject)); |
| 1558 | 1522 |
| 1559 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1523 @DomName('OESVertexArrayObject.createVertexArrayOES') |
| 1560 @DocsEditable() | 1524 @DocsEditable() |
| 1561 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkOESVertexArrayOb
ject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this))); | 1525 VertexArrayObjectOes createVertexArray() => wrap_jso(_blink.BlinkOESVertexArra
yObject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this))); |
| 1562 | 1526 |
| 1563 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1527 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
| 1564 @DocsEditable() | 1528 @DocsEditable() |
| 1565 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex
ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j
so(arrayObject)); | 1529 void deleteVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVer
texArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwra
p_jso(arrayObject)); |
| 1566 | 1530 |
| 1567 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1531 @DomName('OESVertexArrayObject.isVertexArrayOES') |
| 1568 @DocsEditable() | 1532 @DocsEditable() |
| 1569 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra
yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array
Object)); | 1533 bool isVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexA
rrayObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(ar
rayObject)); |
| 1570 | 1534 |
| 1571 } | 1535 } |
| 1572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1573 // for details. All rights reserved. Use of this source code is governed by a | 1537 // for details. All rights reserved. Use of this source code is governed by a |
| 1574 // BSD-style license that can be found in the LICENSE file. | 1538 // BSD-style license that can be found in the LICENSE file. |
| 1575 | 1539 |
| 1576 // WARNING: Do not edit - generated code. | 1540 // WARNING: Do not edit - generated code. |
| 1577 | 1541 |
| 1578 | 1542 |
| 1579 @DocsEditable() | 1543 @DocsEditable() |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1600 | 1564 |
| 1601 } | 1565 } |
| 1602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1603 // for details. All rights reserved. Use of this source code is governed by a | 1567 // for details. All rights reserved. Use of this source code is governed by a |
| 1604 // BSD-style license that can be found in the LICENSE file. | 1568 // BSD-style license that can be found in the LICENSE file. |
| 1605 | 1569 |
| 1606 // WARNING: Do not edit - generated code. | 1570 // WARNING: Do not edit - generated code. |
| 1607 | 1571 |
| 1608 | 1572 |
| 1609 @DocsEditable() | 1573 @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() |
| 1610 @DomName('WebGLRenderbuffer') | 1604 @DomName('WebGLRenderbuffer') |
| 1611 @Unstable() | 1605 @Unstable() |
| 1612 class Renderbuffer extends DartHtmlDomObject { | 1606 class Renderbuffer extends DartHtmlDomObject { |
| 1613 // To suppress missing implicit constructor warnings. | 1607 // To suppress missing implicit constructor warnings. |
| 1614 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } | 1608 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } |
| 1615 | 1609 |
| 1616 @Deprecated("Internal Use Only") | 1610 @Deprecated("Internal Use Only") |
| 1617 static Renderbuffer internalCreateRenderbuffer() { | 1611 static Renderbuffer internalCreateRenderbuffer() { |
| 1618 return new Renderbuffer._internalWrap(); | 1612 return new Renderbuffer._internalWrap(); |
| 1619 } | 1613 } |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1654 | 1648 |
| 1655 @Deprecated("Internal Use Only") | 1649 @Deprecated("Internal Use Only") |
| 1656 RenderingContext.internal_() { } | 1650 RenderingContext.internal_() { } |
| 1657 | 1651 |
| 1658 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1652 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1659 int get hashCode => unwrap_jso(this).hashCode; | 1653 int get hashCode => unwrap_jso(this).hashCode; |
| 1660 | 1654 |
| 1661 /// Checks if this type is supported on the current platform. | 1655 /// Checks if this type is supported on the current platform. |
| 1662 static bool get supported => true; | 1656 static bool get supported => true; |
| 1663 | 1657 |
| 1658 @DomName('WebGLRenderingContext.getBufferParameter') |
| 1659 @DocsEditable() |
| 1660 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL
RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe
t, pname)); |
| 1661 |
| 1662 @DomName('WebGLRenderingContext.getExtension') |
| 1663 @DocsEditable() |
| 1664 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext
.instance.getExtension_Callback_1_(unwrap_jso(this), name)); |
| 1665 |
| 1666 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| 1667 @DocsEditable() |
| 1668 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmen
tParameter_Callback_3_(unwrap_jso(this), target, attachment, pname)); |
| 1669 |
| 1670 @DomName('WebGLRenderingContext.getParameter') |
| 1671 @DocsEditable() |
| 1672 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.i
nstance.getParameter_Callback_1_(unwrap_jso(this), pname)); |
| 1673 |
| 1674 @DomName('WebGLRenderingContext.getProgramParameter') |
| 1675 @DocsEditable() |
| 1676 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin
kWebGLRenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this)
, unwrap_jso(program), pname)); |
| 1677 |
| 1678 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
| 1679 @DocsEditable() |
| 1680 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin
kWebGLRenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso(
this), target, pname)); |
| 1681 |
| 1682 @DomName('WebGLRenderingContext.getShaderParameter') |
| 1683 @DocsEditable() |
| 1684 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe
bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un
wrap_jso(shader), pname)); |
| 1685 |
| 1686 @DomName('WebGLRenderingContext.getTexParameter') |
| 1687 @DocsEditable() |
| 1688 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen
deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna
me)); |
| 1689 |
| 1690 @DomName('WebGLRenderingContext.getVertexAttrib') |
| 1691 @DocsEditable() |
| 1692 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend
eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname
)); |
| 1693 |
| 1664 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') | 1694 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') |
| 1665 @DocsEditable() | 1695 @DocsEditable() |
| 1666 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 1696 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
| 1667 | 1697 |
| 1668 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') | 1698 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') |
| 1669 @DocsEditable() | 1699 @DocsEditable() |
| 1670 static const int ACTIVE_TEXTURE = 0x84E0; | 1700 static const int ACTIVE_TEXTURE = 0x84E0; |
| 1671 | 1701 |
| 1672 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS') | 1702 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS') |
| 1673 @DocsEditable() | 1703 @DocsEditable() |
| (...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2849 | 2879 |
| 2850 @DomName('WebGLRenderingContext.ZERO') | 2880 @DomName('WebGLRenderingContext.ZERO') |
| 2851 @DocsEditable() | 2881 @DocsEditable() |
| 2852 static const int ZERO = 0; | 2882 static const int ZERO = 0; |
| 2853 | 2883 |
| 2854 @DomName('WebGLRenderingContext.canvas') | 2884 @DomName('WebGLRenderingContext.canvas') |
| 2855 @DocsEditable() | 2885 @DocsEditable() |
| 2856 @Experimental() // untriaged | 2886 @Experimental() // untriaged |
| 2857 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGLRenderingContext.instanc
e.canvas_Getter_(unwrap_jso(this))); | 2887 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGLRenderingContext.instanc
e.canvas_Getter_(unwrap_jso(this))); |
| 2858 | 2888 |
| 2859 @DomName('WebGLRenderingContext.drawingBufferHeight') | |
| 2860 @DocsEditable() | |
| 2861 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.draw
ingBufferHeight_Getter_(unwrap_jso(this)); | |
| 2862 | |
| 2863 @DomName('WebGLRenderingContext.drawingBufferWidth') | |
| 2864 @DocsEditable() | |
| 2865 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawi
ngBufferWidth_Getter_(unwrap_jso(this)); | |
| 2866 | |
| 2867 @DomName('WebGLRenderingContext.activeTexture') | 2889 @DomName('WebGLRenderingContext.activeTexture') |
| 2868 @DocsEditable() | 2890 @DocsEditable() |
| 2869 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance.
activeTexture_Callback_1_(unwrap_jso(this), texture); | 2891 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance.
activeTexture_Callback_1_(unwrap_jso(this), texture); |
| 2870 | 2892 |
| 2871 @DomName('WebGLRenderingContext.attachShader') | 2893 @DomName('WebGLRenderingContext.attachShader') |
| 2872 @DocsEditable() | 2894 @DocsEditable() |
| 2873 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program)
, unwrap_jso(shader)); | 2895 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program)
, unwrap_jso(shader)); |
| 2874 | 2896 |
| 2875 @DomName('WebGLRenderingContext.bindAttribLocation') | |
| 2876 @DocsEditable() | |
| 2877 void bindAttribLocation(Program program, int index, String name) => _blink.Bli
nkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this)
, unwrap_jso(program), index, name); | |
| 2878 | |
| 2879 @DomName('WebGLRenderingContext.bindBuffer') | 2897 @DomName('WebGLRenderingContext.bindBuffer') |
| 2880 @DocsEditable() | 2898 @DocsEditable() |
| 2881 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex
t.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer)); | 2899 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex
t.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer)); |
| 2882 | 2900 |
| 2883 @DomName('WebGLRenderingContext.bindFramebuffer') | 2901 @DomName('WebGLRenderingContext.bindFramebuffer') |
| 2884 @DocsEditable() | 2902 @DocsEditable() |
| 2885 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target,
unwrap_jso(framebuffer)); | 2903 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target,
unwrap_jso(framebuffer)); |
| 2886 | 2904 |
| 2887 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2905 @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 2888 @DocsEditable() | 2906 @DocsEditable() |
| 2889 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), targ
et, unwrap_jso(renderbuffer)); | 2907 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), targ
et, unwrap_jso(renderbuffer)); |
| 2890 | 2908 |
| 2891 @DomName('WebGLRenderingContext.bindTexture') | 2909 @DomName('WebGLRenderingContext.bindTexture') |
| 2892 @DocsEditable() | 2910 @DocsEditable() |
| 2893 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon
text.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(textu
re)); | 2911 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon
text.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(textu
re)); |
| 2894 | 2912 |
| 2895 @DomName('WebGLRenderingContext.blendColor') | |
| 2896 @DocsEditable() | |
| 2897 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.instance.blendColor_Callback_4_(unwrap_jso(this), red, green, bl
ue, alpha); | |
| 2898 | |
| 2899 @DomName('WebGLRenderingContext.blendEquation') | 2913 @DomName('WebGLRenderingContext.blendEquation') |
| 2900 @DocsEditable() | 2914 @DocsEditable() |
| 2901 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble
ndEquation_Callback_1_(unwrap_jso(this), mode); | 2915 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble
ndEquation_Callback_1_(unwrap_jso(this), mode); |
| 2902 | 2916 |
| 2903 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2917 @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 2904 @DocsEditable() | 2918 @DocsEditable() |
| 2905 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeR
GB, modeAlpha); | 2919 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeR
GB, modeAlpha); |
| 2906 | 2920 |
| 2907 @DomName('WebGLRenderingContext.blendFunc') | 2921 @DomName('WebGLRenderingContext.blendFunc') |
| 2908 @DocsEditable() | 2922 @DocsEditable() |
| 2909 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); | 2923 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); |
| 2910 | 2924 |
| 2911 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2925 @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 2912 @DocsEditable() | 2926 @DocsEditable() |
| 2913 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_
jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); | 2927 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_
jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); |
| 2914 | 2928 |
| 2915 @DomName('WebGLRenderingContext.bufferByteData') | 2929 void bufferData(int target, data, int usage) { |
| 2916 @DocsEditable() | 2930 if ((usage is int) && (data is TypedData) && (target is int)) { |
| 2917 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb
GLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, dat
a, usage); | 2931 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data), usage); |
| 2918 | |
| 2919 void bufferData(int target, data_OR_size, int usage) { | |
| 2920 if ((usage is int) && (data_OR_size is int) && (target is int)) { | |
| 2921 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); | |
| 2922 return; | 2932 return; |
| 2923 } | 2933 } |
| 2924 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { | 2934 if ((usage is int) && (data is ByteBuffer || data == null) && (target is int
)) { |
| 2925 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); | 2935 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data), usage); |
| 2926 return; | |
| 2927 } | |
| 2928 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) &
& (target is int)) { | |
| 2929 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j
so(this), target, unwrap_jso(data_OR_size), usage); | |
| 2930 return; | 2936 return; |
| 2931 } | 2937 } |
| 2932 throw new ArgumentError("Incorrect number or type of arguments"); | 2938 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2933 } | 2939 } |
| 2934 | 2940 |
| 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 | |
| 2943 void bufferSubData(int target, int offset, data) { | |
| 2944 if ((data is TypedData) && (offset is int) && (target is int)) { | |
| 2945 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra
p_jso(this), target, offset, unwrap_jso(data)); | |
| 2946 return; | |
| 2947 } | |
| 2948 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in
t)) { | |
| 2949 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra
p_jso(this), target, offset, unwrap_jso(data)); | |
| 2950 return; | |
| 2951 } | |
| 2952 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 2953 } | |
| 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 | |
| 2959 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2941 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 2960 @DocsEditable() | 2942 @DocsEditable() |
| 2961 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in
stance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); | 2943 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in
stance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); |
| 2962 | 2944 |
| 2963 @DomName('WebGLRenderingContext.clear') | |
| 2964 @DocsEditable() | |
| 2965 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb
ack_1_(unwrap_jso(this), mask); | |
| 2966 | |
| 2967 @DomName('WebGLRenderingContext.clearColor') | |
| 2968 @DocsEditable() | |
| 2969 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.instance.clearColor_Callback_4_(unwrap_jso(this), red, green, bl
ue, alpha); | |
| 2970 | |
| 2971 @DomName('WebGLRenderingContext.clearDepth') | |
| 2972 @DocsEditable() | |
| 2973 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clear
Depth_Callback_1_(unwrap_jso(this), depth); | |
| 2974 | |
| 2975 @DomName('WebGLRenderingContext.clearStencil') | |
| 2976 @DocsEditable() | |
| 2977 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearSt
encil_Callback_1_(unwrap_jso(this), s); | |
| 2978 | |
| 2979 @DomName('WebGLRenderingContext.colorMask') | |
| 2980 @DocsEditable() | |
| 2981 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb
GLRenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green,
blue, alpha); | |
| 2982 | |
| 2983 @DomName('WebGLRenderingContext.compileShader') | 2945 @DomName('WebGLRenderingContext.compileShader') |
| 2984 @DocsEditable() | 2946 @DocsEditable() |
| 2985 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc
e.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | 2947 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc
e.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 2986 | 2948 |
| 2987 @DomName('WebGLRenderingContext.compressedTexImage2D') | |
| 2988 @DocsEditable() | |
| 2989 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.i
nstance.compressedTexImage2D_Callback_7_(unwrap_jso(this), target, level, intern
alformat, width, height, border, unwrap_jso(data)); | |
| 2990 | |
| 2991 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | |
| 2992 @DocsEditable() | |
| 2993 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering
Context.instance.compressedTexSubImage2D_Callback_8_(unwrap_jso(this), target, l
evel, xoffset, yoffset, width, height, format, unwrap_jso(data)); | |
| 2994 | |
| 2995 @DomName('WebGLRenderingContext.copyTexImage2D') | |
| 2996 @DocsEditable() | |
| 2997 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance.
copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y
, width, height, border); | |
| 2998 | |
| 2999 @DomName('WebGLRenderingContext.copyTexSubImage2D') | |
| 3000 @DocsEditable() | |
| 3001 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.cop
yTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x,
y, width, height); | |
| 3002 | |
| 3003 @DomName('WebGLRenderingContext.createBuffer') | 2949 @DomName('WebGLRenderingContext.createBuffer') |
| 3004 @DocsEditable() | 2950 @DocsEditable() |
| 3005 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.c
reateBuffer_Callback_0_(unwrap_jso(this))); | 2951 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.c
reateBuffer_Callback_0_(unwrap_jso(this))); |
| 3006 | 2952 |
| 3007 @DomName('WebGLRenderingContext.createFramebuffer') | 2953 @DomName('WebGLRenderingContext.createFramebuffer') |
| 3008 @DocsEditable() | 2954 @DocsEditable() |
| 3009 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.
instance.createFramebuffer_Callback_0_(unwrap_jso(this))); | 2955 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.
instance.createFramebuffer_Callback_0_(unwrap_jso(this))); |
| 3010 | 2956 |
| 3011 @DomName('WebGLRenderingContext.createProgram') | 2957 @DomName('WebGLRenderingContext.createProgram') |
| 3012 @DocsEditable() | 2958 @DocsEditable() |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3049 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance
.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | 2995 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance
.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 3050 | 2996 |
| 3051 @DomName('WebGLRenderingContext.deleteTexture') | 2997 @DomName('WebGLRenderingContext.deleteTexture') |
| 3052 @DocsEditable() | 2998 @DocsEditable() |
| 3053 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta
nce.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); | 2999 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta
nce.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); |
| 3054 | 3000 |
| 3055 @DomName('WebGLRenderingContext.depthFunc') | 3001 @DomName('WebGLRenderingContext.depthFunc') |
| 3056 @DocsEditable() | 3002 @DocsEditable() |
| 3057 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu
nc_Callback_1_(unwrap_jso(this), func); | 3003 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu
nc_Callback_1_(unwrap_jso(this), func); |
| 3058 | 3004 |
| 3059 @DomName('WebGLRenderingContext.depthMask') | |
| 3060 @DocsEditable() | |
| 3061 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthM
ask_Callback_1_(unwrap_jso(this), flag); | |
| 3062 | |
| 3063 @DomName('WebGLRenderingContext.depthRange') | |
| 3064 @DocsEditable() | |
| 3065 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.inst
ance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar); | |
| 3066 | |
| 3067 @DomName('WebGLRenderingContext.detachShader') | 3005 @DomName('WebGLRenderingContext.detachShader') |
| 3068 @DocsEditable() | 3006 @DocsEditable() |
| 3069 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program)
, unwrap_jso(shader)); | 3007 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program)
, unwrap_jso(shader)); |
| 3070 | 3008 |
| 3071 @DomName('WebGLRenderingContext.disable') | 3009 @DomName('WebGLRenderingContext.disable') |
| 3072 @DocsEditable() | 3010 @DocsEditable() |
| 3073 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca
llback_1_(unwrap_jso(this), cap); | 3011 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca
llback_1_(unwrap_jso(this), cap); |
| 3074 | 3012 |
| 3075 @DomName('WebGLRenderingContext.disableVertexAttribArray') | |
| 3076 @DocsEditable() | |
| 3077 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.
instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index); | |
| 3078 | |
| 3079 @DomName('WebGLRenderingContext.drawArrays') | |
| 3080 @DocsEditable() | |
| 3081 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC
ontext.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count); | |
| 3082 | |
| 3083 @DomName('WebGLRenderingContext.drawElements') | |
| 3084 @DocsEditable() | |
| 3085 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe
bGLRenderingContext.instance.drawElements_Callback_4_(unwrap_jso(this), mode, co
unt, type, offset); | |
| 3086 | |
| 3087 @DomName('WebGLRenderingContext.enable') | 3013 @DomName('WebGLRenderingContext.enable') |
| 3088 @DocsEditable() | 3014 @DocsEditable() |
| 3089 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call
back_1_(unwrap_jso(this), cap); | 3015 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call
back_1_(unwrap_jso(this), cap); |
| 3090 | 3016 |
| 3091 @DomName('WebGLRenderingContext.enableVertexAttribArray') | |
| 3092 @DocsEditable() | |
| 3093 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.i
nstance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index); | |
| 3094 | |
| 3095 @DomName('WebGLRenderingContext.finish') | 3017 @DomName('WebGLRenderingContext.finish') |
| 3096 @DocsEditable() | 3018 @DocsEditable() |
| 3097 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_
(unwrap_jso(this)); | 3019 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_
(unwrap_jso(this)); |
| 3098 | 3020 |
| 3099 @DomName('WebGLRenderingContext.flush') | 3021 @DomName('WebGLRenderingContext.flush') |
| 3100 @DocsEditable() | 3022 @DocsEditable() |
| 3101 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(u
nwrap_jso(this)); | 3023 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(u
nwrap_jso(this)); |
| 3102 | 3024 |
| 3103 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | 3025 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
| 3104 @DocsEditable() | 3026 @DocsEditable() |
| 3105 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.fram
ebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuff
ertarget, unwrap_jso(renderbuffer)); | 3027 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.fram
ebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuff
ertarget, unwrap_jso(renderbuffer)); |
| 3106 | 3028 |
| 3107 @DomName('WebGLRenderingContext.framebufferTexture2D') | |
| 3108 @DocsEditable() | |
| 3109 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.BlinkWebGLRenderingContext.instance.framebufferText
ure2D_Callback_5_(unwrap_jso(this), target, attachment, textarget, unwrap_jso(te
xture), level); | |
| 3110 | |
| 3111 @DomName('WebGLRenderingContext.frontFace') | 3029 @DomName('WebGLRenderingContext.frontFace') |
| 3112 @DocsEditable() | 3030 @DocsEditable() |
| 3113 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa
ce_Callback_1_(unwrap_jso(this), mode); | 3031 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa
ce_Callback_1_(unwrap_jso(this), mode); |
| 3114 | 3032 |
| 3115 @DomName('WebGLRenderingContext.generateMipmap') | 3033 @DomName('WebGLRenderingContext.generateMipmap') |
| 3116 @DocsEditable() | 3034 @DocsEditable() |
| 3117 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance.
generateMipmap_Callback_1_(unwrap_jso(this), target); | 3035 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance.
generateMipmap_Callback_1_(unwrap_jso(this), target); |
| 3118 | 3036 |
| 3119 @DomName('WebGLRenderingContext.getActiveAttrib') | |
| 3120 @DocsEditable() | |
| 3121 ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.Blin
kWebGLRenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), un
wrap_jso(program), index)); | |
| 3122 | |
| 3123 @DomName('WebGLRenderingContext.getActiveUniform') | |
| 3124 @DocsEditable() | |
| 3125 ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.Bli
nkWebGLRenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this),
unwrap_jso(program), index)); | |
| 3126 | |
| 3127 @DomName('WebGLRenderingContext.getAttachedShaders') | 3037 @DomName('WebGLRenderingContext.getAttachedShaders') |
| 3128 @DocsEditable() | 3038 @DocsEditable() |
| 3129 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL
RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwra
p_jso(program))); | 3039 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL
RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwra
p_jso(program))); |
| 3130 | 3040 |
| 3131 @DomName('WebGLRenderingContext.getAttribLocation') | |
| 3132 @DocsEditable() | |
| 3133 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p
rogram), name); | |
| 3134 | |
| 3135 @DomName('WebGLRenderingContext.getBufferParameter') | |
| 3136 @DocsEditable() | |
| 3137 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL
RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe
t, pname)); | |
| 3138 | |
| 3139 @DomName('WebGLRenderingContext.getContextAttributes') | 3041 @DomName('WebGLRenderingContext.getContextAttributes') |
| 3140 @DocsEditable() | 3042 @DocsEditable() |
| 3141 ContextAttributes getContextAttributes() => wrap_jso(_blink.BlinkWebGLRenderin
gContext.instance.getContextAttributes_Callback_0_(unwrap_jso(this))); | 3043 getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_b
link.BlinkWebGLRenderingContext.instance.getContextAttributes_Callback_0_(unwrap
_jso(this)))); |
| 3142 | 3044 |
| 3143 @DomName('WebGLRenderingContext.getError') | 3045 @DomName('WebGLRenderingContext.getError') |
| 3144 @DocsEditable() | 3046 @DocsEditable() |
| 3145 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback
_0_(unwrap_jso(this)); | 3047 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback
_0_(unwrap_jso(this)); |
| 3146 | 3048 |
| 3147 @DomName('WebGLRenderingContext.getExtension') | |
| 3148 @DocsEditable() | |
| 3149 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext
.instance.getExtension_Callback_1_(unwrap_jso(this), name)); | |
| 3150 | |
| 3151 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | |
| 3152 @DocsEditable() | |
| 3153 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmen
tParameter_Callback_3_(unwrap_jso(this), target, attachment, pname)); | |
| 3154 | |
| 3155 @DomName('WebGLRenderingContext.getParameter') | |
| 3156 @DocsEditable() | |
| 3157 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.i
nstance.getParameter_Callback_1_(unwrap_jso(this), pname)); | |
| 3158 | |
| 3159 @DomName('WebGLRenderingContext.getProgramInfoLog') | 3049 @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 3160 @DocsEditable() | 3050 @DocsEditable() |
| 3161 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext
.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | 3051 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext
.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 3162 | 3052 |
| 3163 @DomName('WebGLRenderingContext.getProgramParameter') | |
| 3164 @DocsEditable() | |
| 3165 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin
kWebGLRenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this)
, unwrap_jso(program), pname)); | |
| 3166 | |
| 3167 @DomName('WebGLRenderingContext.getRenderbufferParameter') | |
| 3168 @DocsEditable() | |
| 3169 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin
kWebGLRenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso(
this), target, pname)); | |
| 3170 | |
| 3171 @DomName('WebGLRenderingContext.getShaderInfoLog') | 3053 @DomName('WebGLRenderingContext.getShaderInfoLog') |
| 3172 @DocsEditable() | 3054 @DocsEditable() |
| 3173 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in
stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | 3055 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in
stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 3174 | 3056 |
| 3175 @DomName('WebGLRenderingContext.getShaderParameter') | |
| 3176 @DocsEditable() | |
| 3177 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe
bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un
wrap_jso(shader), pname)); | |
| 3178 | |
| 3179 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | 3057 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
| 3180 @DocsEditable() | 3058 @DocsEditable() |
| 3181 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFor
mat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); | 3059 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFor
mat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); |
| 3182 | 3060 |
| 3183 @DomName('WebGLRenderingContext.getShaderSource') | 3061 @DomName('WebGLRenderingContext.getShaderSource') |
| 3184 @DocsEditable() | 3062 @DocsEditable() |
| 3185 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins
tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | 3063 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins
tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 3186 | 3064 |
| 3187 @DomName('WebGLRenderingContext.getSupportedExtensions') | 3065 @DomName('WebGLRenderingContext.getSupportedExtensions') |
| 3188 @DocsEditable() | 3066 @DocsEditable() |
| 3189 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins
tance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); | 3067 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins
tance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); |
| 3190 | 3068 |
| 3191 @DomName('WebGLRenderingContext.getTexParameter') | |
| 3192 @DocsEditable() | |
| 3193 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen
deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna
me)); | |
| 3194 | |
| 3195 @DomName('WebGLRenderingContext.getUniform') | 3069 @DomName('WebGLRenderingContext.getUniform') |
| 3196 @DocsEditable() | 3070 @DocsEditable() |
| 3197 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin
k.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), u
nwrap_jso(program), unwrap_jso(location))); | 3071 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin
k.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), u
nwrap_jso(program), unwrap_jso(location))); |
| 3198 | 3072 |
| 3199 @DomName('WebGLRenderingContext.getUniformLocation') | 3073 @DomName('WebGLRenderingContext.getUniformLocation') |
| 3200 @DocsEditable() | 3074 @DocsEditable() |
| 3201 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_
blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_
jso(this), unwrap_jso(program), name)); | 3075 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_
blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_
jso(this), unwrap_jso(program), name)); |
| 3202 | 3076 |
| 3203 @DomName('WebGLRenderingContext.getVertexAttrib') | |
| 3204 @DocsEditable() | |
| 3205 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend
eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname
)); | |
| 3206 | |
| 3207 @DomName('WebGLRenderingContext.getVertexAttribOffset') | |
| 3208 @DocsEditable() | |
| 3209 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC
ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname
); | |
| 3210 | |
| 3211 @DomName('WebGLRenderingContext.hint') | 3077 @DomName('WebGLRenderingContext.hint') |
| 3212 @DocsEditable() | 3078 @DocsEditable() |
| 3213 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance.
hint_Callback_2_(unwrap_jso(this), target, mode); | 3079 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance.
hint_Callback_2_(unwrap_jso(this), target, mode); |
| 3214 | 3080 |
| 3215 @DomName('WebGLRenderingContext.isBuffer') | |
| 3216 @DocsEditable() | |
| 3217 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isB
uffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); | |
| 3218 | |
| 3219 @DomName('WebGLRenderingContext.isContextLost') | |
| 3220 @DocsEditable() | |
| 3221 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLo
st_Callback_0_(unwrap_jso(this)); | |
| 3222 | |
| 3223 @DomName('WebGLRenderingContext.isEnabled') | |
| 3224 @DocsEditable() | |
| 3225 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnable
d_Callback_1_(unwrap_jso(this), cap); | |
| 3226 | |
| 3227 @DomName('WebGLRenderingContext.isFramebuffer') | |
| 3228 @DocsEditable() | |
| 3229 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte
xt.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer))
; | |
| 3230 | |
| 3231 @DomName('WebGLRenderingContext.isProgram') | |
| 3232 @DocsEditable() | |
| 3233 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.
isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | |
| 3234 | |
| 3235 @DomName('WebGLRenderingContext.isRenderbuffer') | |
| 3236 @DocsEditable() | |
| 3237 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo
ntext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuf
fer)); | |
| 3238 | |
| 3239 @DomName('WebGLRenderingContext.isShader') | |
| 3240 @DocsEditable() | |
| 3241 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isS
hader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); | |
| 3242 | |
| 3243 @DomName('WebGLRenderingContext.isTexture') | |
| 3244 @DocsEditable() | |
| 3245 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance.
isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); | |
| 3246 | |
| 3247 @DomName('WebGLRenderingContext.lineWidth') | |
| 3248 @DocsEditable() | |
| 3249 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWi
dth_Callback_1_(unwrap_jso(this), width); | |
| 3250 | |
| 3251 @DomName('WebGLRenderingContext.linkProgram') | 3081 @DomName('WebGLRenderingContext.linkProgram') |
| 3252 @DocsEditable() | 3082 @DocsEditable() |
| 3253 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc
e.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | 3083 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc
e.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 3254 | 3084 |
| 3255 @DomName('WebGLRenderingContext.pixelStorei') | |
| 3256 @DocsEditable() | |
| 3257 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.in
stance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param); | |
| 3258 | |
| 3259 @DomName('WebGLRenderingContext.polygonOffset') | |
| 3260 @DocsEditable() | |
| 3261 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext
.instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units); | |
| 3262 | |
| 3263 @DomName('WebGLRenderingContext.readPixels') | |
| 3264 @DocsEditable() | |
| 3265 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback
_7_(unwrap_jso(this), x, y, width, height, format, type, unwrap_jso(pixels)); | |
| 3266 | |
| 3267 @DomName('WebGLRenderingContext.renderbufferStorage') | |
| 3268 @DocsEditable() | |
| 3269 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_(
unwrap_jso(this), target, internalformat, width, height); | |
| 3270 | |
| 3271 @DomName('WebGLRenderingContext.sampleCoverage') | |
| 3272 @DocsEditable() | |
| 3273 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte
xt.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert); | |
| 3274 | |
| 3275 @DomName('WebGLRenderingContext.scissor') | |
| 3276 @DocsEditable() | |
| 3277 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin
gContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height); | |
| 3278 | |
| 3279 @DomName('WebGLRenderingContext.shaderSource') | 3085 @DomName('WebGLRenderingContext.shaderSource') |
| 3280 @DocsEditable() | 3086 @DocsEditable() |
| 3281 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC
ontext.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), s
tring); | 3087 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC
ontext.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), s
tring); |
| 3282 | 3088 |
| 3283 @DomName('WebGLRenderingContext.stencilFunc') | |
| 3284 @DocsEditable() | |
| 3285 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon
text.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask); | |
| 3286 | |
| 3287 @DomName('WebGLRenderingContext.stencilFuncSeparate') | |
| 3288 @DocsEditable() | |
| 3289 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin
kWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this)
, face, func, ref, mask); | |
| 3290 | |
| 3291 @DomName('WebGLRenderingContext.stencilMask') | |
| 3292 @DocsEditable() | |
| 3293 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stenc
ilMask_Callback_1_(unwrap_jso(this), mask); | |
| 3294 | |
| 3295 @DomName('WebGLRenderingContext.stencilMaskSeparate') | |
| 3296 @DocsEditable() | |
| 3297 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont
ext.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask); | |
| 3298 | |
| 3299 @DomName('WebGLRenderingContext.stencilOp') | 3089 @DomName('WebGLRenderingContext.stencilOp') |
| 3300 @DocsEditable() | 3090 @DocsEditable() |
| 3301 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo
ntext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass); | 3091 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo
ntext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass); |
| 3302 | 3092 |
| 3303 @DomName('WebGLRenderingContext.stencilOpSeparate') | 3093 @DomName('WebGLRenderingContext.stencilOpSeparate') |
| 3304 @DocsEditable() | 3094 @DocsEditable() |
| 3305 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this),
face, fail, zfail, zpass); | 3095 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this),
face, fail, zfail, zpass); |
| 3306 | 3096 |
| 3307 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]) { | |
| 3308 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)) { | |
| 3309 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_(unwrap_j
so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap
_jso(border_OR_canvas_OR_image_OR_pixels_OR_video), format, type, unwrap_jso(pix
els)); | |
| 3310 return; | |
| 3311 } | |
| 3312 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) { | |
| 3313 _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)); | |
| 3314 return; | |
| 3315 } | |
| 3316 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) { | |
| 3317 _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)); | |
| 3318 return; | |
| 3319 } | |
| 3320 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) { | |
| 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)); | |
| 3322 return; | |
| 3323 } | |
| 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) { | |
| 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)); | |
| 3326 return; | |
| 3327 } | |
| 3328 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3329 } | |
| 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 | |
| 3347 @DomName('WebGLRenderingContext.texParameterf') | |
| 3348 @DocsEditable() | |
| 3349 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname,
param); | |
| 3350 | |
| 3351 @DomName('WebGLRenderingContext.texParameteri') | |
| 3352 @DocsEditable() | |
| 3353 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname,
param); | |
| 3354 | |
| 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]) { | |
| 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)) { | |
| 3357 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_(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), type, unwrap_jso(pixels
)); | |
| 3358 return; | |
| 3359 } | |
| 3360 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) { | |
| 3361 _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)); | |
| 3362 return; | |
| 3363 } | |
| 3364 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) { | |
| 3365 _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)); | |
| 3366 return; | |
| 3367 } | |
| 3368 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) { | |
| 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)); | |
| 3370 return; | |
| 3371 } | |
| 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) { | |
| 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)); | |
| 3374 return; | |
| 3375 } | |
| 3376 throw new ArgumentError("Incorrect number or type of arguments"); | |
| 3377 } | |
| 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 | |
| 3395 @DomName('WebGLRenderingContext.uniform1f') | |
| 3396 @DocsEditable() | |
| 3397 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x)
; | |
| 3398 | |
| 3399 @DomName('WebGLRenderingContext.uniform1fv') | 3097 @DomName('WebGLRenderingContext.uniform1fv') |
| 3400 @DocsEditable() | 3098 @DocsEditable() |
| 3401 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); | 3099 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), unwrap_jso(v)); |
| 3402 | |
| 3403 @DomName('WebGLRenderingContext.uniform1i') | |
| 3404 @DocsEditable() | |
| 3405 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x)
; | |
| 3406 | 3100 |
| 3407 @DomName('WebGLRenderingContext.uniform1iv') | 3101 @DomName('WebGLRenderingContext.uniform1iv') |
| 3408 @DocsEditable() | 3102 @DocsEditable() |
| 3409 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); | 3103 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), unwrap_jso(v)); |
| 3410 | |
| 3411 @DomName('WebGLRenderingContext.uniform2f') | |
| 3412 @DocsEditable() | |
| 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); | |
| 3414 | 3104 |
| 3415 @DomName('WebGLRenderingContext.uniform2fv') | 3105 @DomName('WebGLRenderingContext.uniform2fv') |
| 3416 @DocsEditable() | 3106 @DocsEditable() |
| 3417 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); | 3107 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), unwrap_jso(v)); |
| 3418 | |
| 3419 @DomName('WebGLRenderingContext.uniform2i') | |
| 3420 @DocsEditable() | |
| 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); | |
| 3422 | 3108 |
| 3423 @DomName('WebGLRenderingContext.uniform2iv') | 3109 @DomName('WebGLRenderingContext.uniform2iv') |
| 3424 @DocsEditable() | 3110 @DocsEditable() |
| 3425 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); | 3111 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), unwrap_jso(v)); |
| 3426 | |
| 3427 @DomName('WebGLRenderingContext.uniform3f') | |
| 3428 @DocsEditable() | |
| 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); | |
| 3430 | 3112 |
| 3431 @DomName('WebGLRenderingContext.uniform3fv') | 3113 @DomName('WebGLRenderingContext.uniform3fv') |
| 3432 @DocsEditable() | 3114 @DocsEditable() |
| 3433 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); | 3115 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), unwrap_jso(v)); |
| 3434 | |
| 3435 @DomName('WebGLRenderingContext.uniform3i') | |
| 3436 @DocsEditable() | |
| 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); | |
| 3438 | 3116 |
| 3439 @DomName('WebGLRenderingContext.uniform3iv') | 3117 @DomName('WebGLRenderingContext.uniform3iv') |
| 3440 @DocsEditable() | 3118 @DocsEditable() |
| 3441 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); | 3119 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), unwrap_jso(v)); |
| 3442 | |
| 3443 @DomName('WebGLRenderingContext.uniform4f') | |
| 3444 @DocsEditable() | |
| 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); | |
| 3446 | 3120 |
| 3447 @DomName('WebGLRenderingContext.uniform4fv') | 3121 @DomName('WebGLRenderingContext.uniform4fv') |
| 3448 @DocsEditable() | 3122 @DocsEditable() |
| 3449 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), v); | 3123 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc
ation), unwrap_jso(v)); |
| 3450 | |
| 3451 @DomName('WebGLRenderingContext.uniform4i') | |
| 3452 @DocsEditable() | |
| 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); | |
| 3454 | 3124 |
| 3455 @DomName('WebGLRenderingContext.uniform4iv') | 3125 @DomName('WebGLRenderingContext.uniform4iv') |
| 3456 @DocsEditable() | 3126 @DocsEditable() |
| 3457 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), v); | 3127 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat
ion), unwrap_jso(v)); |
| 3458 | |
| 3459 @DomName('WebGLRenderingContext.uniformMatrix2fv') | |
| 3460 @DocsEditable() | |
| 3461 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(
unwrap_jso(this), unwrap_jso(location), transpose, array); | |
| 3462 | |
| 3463 @DomName('WebGLRenderingContext.uniformMatrix3fv') | |
| 3464 @DocsEditable() | |
| 3465 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(
unwrap_jso(this), unwrap_jso(location), transpose, array); | |
| 3466 | |
| 3467 @DomName('WebGLRenderingContext.uniformMatrix4fv') | |
| 3468 @DocsEditable() | |
| 3469 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(
unwrap_jso(this), unwrap_jso(location), transpose, array); | |
| 3470 | 3128 |
| 3471 @DomName('WebGLRenderingContext.useProgram') | 3129 @DomName('WebGLRenderingContext.useProgram') |
| 3472 @DocsEditable() | 3130 @DocsEditable() |
| 3473 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance
.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | 3131 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance
.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 3474 | 3132 |
| 3475 @DomName('WebGLRenderingContext.validateProgram') | 3133 @DomName('WebGLRenderingContext.validateProgram') |
| 3476 @DocsEditable() | 3134 @DocsEditable() |
| 3477 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins
tance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); | 3135 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins
tance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 3478 | 3136 |
| 3479 @DomName('WebGLRenderingContext.vertexAttrib1f') | |
| 3480 @DocsEditable() | |
| 3481 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst
ance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x); | |
| 3482 | |
| 3483 @DomName('WebGLRenderingContext.vertexAttrib1fv') | |
| 3484 @DocsEditable() | |
| 3485 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, values); | |
| 3486 | |
| 3487 @DomName('WebGLRenderingContext.vertexAttrib2f') | |
| 3488 @DocsEditable() | |
| 3489 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xt.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y); | |
| 3490 | |
| 3491 @DomName('WebGLRenderingContext.vertexAttrib2fv') | |
| 3492 @DocsEditable() | |
| 3493 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, values); | |
| 3494 | |
| 3495 @DomName('WebGLRenderingContext.vertexAttrib3f') | |
| 3496 @DocsEditable() | |
| 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); | |
| 3498 | |
| 3499 @DomName('WebGLRenderingContext.vertexAttrib3fv') | |
| 3500 @DocsEditable() | |
| 3501 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, values); | |
| 3502 | |
| 3503 @DomName('WebGLRenderingContext.vertexAttrib4f') | |
| 3504 @DocsEditable() | |
| 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); | |
| 3506 | |
| 3507 @DomName('WebGLRenderingContext.vertexAttrib4fv') | |
| 3508 @DocsEditable() | |
| 3509 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, values); | |
| 3510 | |
| 3511 @DomName('WebGLRenderingContext.vertexAttribPointer') | |
| 3512 @DocsEditable() | |
| 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); | |
| 3514 | |
| 3515 @DomName('WebGLRenderingContext.viewport') | |
| 3516 @DocsEditable() | |
| 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); | |
| 3518 | |
| 3519 | 3137 |
| 3520 /** | 3138 /** |
| 3521 * Sets the currently bound texture to [data]. | 3139 * Sets the currently bound texture to [data]. |
| 3522 * | 3140 * |
| 3523 * [data] can be either an [ImageElement], a | 3141 * [data] can be either an [ImageElement], a |
| 3524 * [CanvasElement], a [VideoElement], or an [ImageData] object. | 3142 * [CanvasElement], a [VideoElement], or an [ImageData] object. |
| 3525 * | 3143 * |
| 3526 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. | 3144 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. |
| 3527 * | 3145 * |
| 3528 */ | 3146 */ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3572 */ | 3190 */ |
| 3573 void texSubImage2DTyped(int targetTexture, int levelOfDetail, | 3191 void texSubImage2DTyped(int targetTexture, int levelOfDetail, |
| 3574 int xOffset, int yOffset, int width, int height, int format, | 3192 int xOffset, int yOffset, int width, int height, int format, |
| 3575 int type, TypedData data) { | 3193 int type, TypedData data) { |
| 3576 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, | 3194 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, |
| 3577 width, height, format, type, data); | 3195 width, height, format, type, data); |
| 3578 } | 3196 } |
| 3579 } | 3197 } |
| 3580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3198 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3581 // for details. All rights reserved. Use of this source code is governed by a | 3199 // for details. All rights reserved. Use of this source code is governed by a |
| 3200 // BSD-style license that can be found in the LICENSE file. |
| 3201 |
| 3202 // WARNING: Do not edit - generated code. |
| 3203 |
| 3204 |
| 3205 @DocsEditable() |
| 3206 @DomName('WebGL2RenderingContext') |
| 3207 @Experimental() // untriaged |
| 3208 class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
textBase, _WebGLRenderingContextBase { |
| 3209 // To suppress missing implicit constructor warnings. |
| 3210 factory RenderingContext2._() { throw new UnsupportedError("Not supported"); } |
| 3211 |
| 3212 @Deprecated("Internal Use Only") |
| 3213 static RenderingContext2 internalCreateRenderingContext2() { |
| 3214 return new RenderingContext2._internalWrap(); |
| 3215 } |
| 3216 |
| 3217 factory RenderingContext2._internalWrap() { |
| 3218 return new RenderingContext2.internal_(); |
| 3219 } |
| 3220 |
| 3221 @Deprecated("Internal Use Only") |
| 3222 RenderingContext2.internal_() { } |
| 3223 |
| 3224 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3225 int get hashCode => unwrap_jso(this).hashCode; |
| 3226 |
| 3227 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') |
| 3228 @DocsEditable() |
| 3229 @Experimental() // untriaged |
| 3230 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
| 3231 |
| 3232 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') |
| 3233 @DocsEditable() |
| 3234 @Experimental() // untriaged |
| 3235 static const int ACTIVE_TEXTURE = 0x84E0; |
| 3236 |
| 3237 @DomName('WebGL2RenderingContext.ACTIVE_UNIFORMS') |
| 3238 @DocsEditable() |
| 3239 @Experimental() // untriaged |
| 3240 static const int ACTIVE_UNIFORMS = 0x8B86; |
| 3241 |
| 3242 @DomName('WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE') |
| 3243 @DocsEditable() |
| 3244 @Experimental() // untriaged |
| 3245 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; |
| 3246 |
| 3247 @DomName('WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE') |
| 3248 @DocsEditable() |
| 3249 @Experimental() // untriaged |
| 3250 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; |
| 3251 |
| 3252 @DomName('WebGL2RenderingContext.ALPHA') |
| 3253 @DocsEditable() |
| 3254 @Experimental() // untriaged |
| 3255 static const int ALPHA = 0x1906; |
| 3256 |
| 3257 @DomName('WebGL2RenderingContext.ALPHA_BITS') |
| 3258 @DocsEditable() |
| 3259 @Experimental() // untriaged |
| 3260 static const int ALPHA_BITS = 0x0D55; |
| 3261 |
| 3262 @DomName('WebGL2RenderingContext.ALWAYS') |
| 3263 @DocsEditable() |
| 3264 @Experimental() // untriaged |
| 3265 static const int ALWAYS = 0x0207; |
| 3266 |
| 3267 @DomName('WebGL2RenderingContext.ARRAY_BUFFER') |
| 3268 @DocsEditable() |
| 3269 @Experimental() // untriaged |
| 3270 static const int ARRAY_BUFFER = 0x8892; |
| 3271 |
| 3272 @DomName('WebGL2RenderingContext.ARRAY_BUFFER_BINDING') |
| 3273 @DocsEditable() |
| 3274 @Experimental() // untriaged |
| 3275 static const int ARRAY_BUFFER_BINDING = 0x8894; |
| 3276 |
| 3277 @DomName('WebGL2RenderingContext.ATTACHED_SHADERS') |
| 3278 @DocsEditable() |
| 3279 @Experimental() // untriaged |
| 3280 static const int ATTACHED_SHADERS = 0x8B85; |
| 3281 |
| 3282 @DomName('WebGL2RenderingContext.BACK') |
| 3283 @DocsEditable() |
| 3284 @Experimental() // untriaged |
| 3285 static const int BACK = 0x0405; |
| 3286 |
| 3287 @DomName('WebGL2RenderingContext.BLEND') |
| 3288 @DocsEditable() |
| 3289 @Experimental() // untriaged |
| 3290 static const int BLEND = 0x0BE2; |
| 3291 |
| 3292 @DomName('WebGL2RenderingContext.BLEND_COLOR') |
| 3293 @DocsEditable() |
| 3294 @Experimental() // untriaged |
| 3295 static const int BLEND_COLOR = 0x8005; |
| 3296 |
| 3297 @DomName('WebGL2RenderingContext.BLEND_DST_ALPHA') |
| 3298 @DocsEditable() |
| 3299 @Experimental() // untriaged |
| 3300 static const int BLEND_DST_ALPHA = 0x80CA; |
| 3301 |
| 3302 @DomName('WebGL2RenderingContext.BLEND_DST_RGB') |
| 3303 @DocsEditable() |
| 3304 @Experimental() // untriaged |
| 3305 static const int BLEND_DST_RGB = 0x80C8; |
| 3306 |
| 3307 @DomName('WebGL2RenderingContext.BLEND_EQUATION') |
| 3308 @DocsEditable() |
| 3309 @Experimental() // untriaged |
| 3310 static const int BLEND_EQUATION = 0x8009; |
| 3311 |
| 3312 @DomName('WebGL2RenderingContext.BLEND_EQUATION_ALPHA') |
| 3313 @DocsEditable() |
| 3314 @Experimental() // untriaged |
| 3315 static const int BLEND_EQUATION_ALPHA = 0x883D; |
| 3316 |
| 3317 @DomName('WebGL2RenderingContext.BLEND_EQUATION_RGB') |
| 3318 @DocsEditable() |
| 3319 @Experimental() // untriaged |
| 3320 static const int BLEND_EQUATION_RGB = 0x8009; |
| 3321 |
| 3322 @DomName('WebGL2RenderingContext.BLEND_SRC_ALPHA') |
| 3323 @DocsEditable() |
| 3324 @Experimental() // untriaged |
| 3325 static const int BLEND_SRC_ALPHA = 0x80CB; |
| 3326 |
| 3327 @DomName('WebGL2RenderingContext.BLEND_SRC_RGB') |
| 3328 @DocsEditable() |
| 3329 @Experimental() // untriaged |
| 3330 static const int BLEND_SRC_RGB = 0x80C9; |
| 3331 |
| 3332 @DomName('WebGL2RenderingContext.BLUE_BITS') |
| 3333 @DocsEditable() |
| 3334 @Experimental() // untriaged |
| 3335 static const int BLUE_BITS = 0x0D54; |
| 3336 |
| 3337 @DomName('WebGL2RenderingContext.BOOL') |
| 3338 @DocsEditable() |
| 3339 @Experimental() // untriaged |
| 3340 static const int BOOL = 0x8B56; |
| 3341 |
| 3342 @DomName('WebGL2RenderingContext.BOOL_VEC2') |
| 3343 @DocsEditable() |
| 3344 @Experimental() // untriaged |
| 3345 static const int BOOL_VEC2 = 0x8B57; |
| 3346 |
| 3347 @DomName('WebGL2RenderingContext.BOOL_VEC3') |
| 3348 @DocsEditable() |
| 3349 @Experimental() // untriaged |
| 3350 static const int BOOL_VEC3 = 0x8B58; |
| 3351 |
| 3352 @DomName('WebGL2RenderingContext.BOOL_VEC4') |
| 3353 @DocsEditable() |
| 3354 @Experimental() // untriaged |
| 3355 static const int BOOL_VEC4 = 0x8B59; |
| 3356 |
| 3357 @DomName('WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL') |
| 3358 @DocsEditable() |
| 3359 @Experimental() // untriaged |
| 3360 static const int BROWSER_DEFAULT_WEBGL = 0x9244; |
| 3361 |
| 3362 @DomName('WebGL2RenderingContext.BUFFER_SIZE') |
| 3363 @DocsEditable() |
| 3364 @Experimental() // untriaged |
| 3365 static const int BUFFER_SIZE = 0x8764; |
| 3366 |
| 3367 @DomName('WebGL2RenderingContext.BUFFER_USAGE') |
| 3368 @DocsEditable() |
| 3369 @Experimental() // untriaged |
| 3370 static const int BUFFER_USAGE = 0x8765; |
| 3371 |
| 3372 @DomName('WebGL2RenderingContext.BYTE') |
| 3373 @DocsEditable() |
| 3374 @Experimental() // untriaged |
| 3375 static const int BYTE = 0x1400; |
| 3376 |
| 3377 @DomName('WebGL2RenderingContext.CCW') |
| 3378 @DocsEditable() |
| 3379 @Experimental() // untriaged |
| 3380 static const int CCW = 0x0901; |
| 3381 |
| 3382 @DomName('WebGL2RenderingContext.CLAMP_TO_EDGE') |
| 3383 @DocsEditable() |
| 3384 @Experimental() // untriaged |
| 3385 static const int CLAMP_TO_EDGE = 0x812F; |
| 3386 |
| 3387 @DomName('WebGL2RenderingContext.COLOR_ATTACHMENT0') |
| 3388 @DocsEditable() |
| 3389 @Experimental() // untriaged |
| 3390 static const int COLOR_ATTACHMENT0 = 0x8CE0; |
| 3391 |
| 3392 @DomName('WebGL2RenderingContext.COLOR_BUFFER_BIT') |
| 3393 @DocsEditable() |
| 3394 @Experimental() // untriaged |
| 3395 static const int COLOR_BUFFER_BIT = 0x00004000; |
| 3396 |
| 3397 @DomName('WebGL2RenderingContext.COLOR_CLEAR_VALUE') |
| 3398 @DocsEditable() |
| 3399 @Experimental() // untriaged |
| 3400 static const int COLOR_CLEAR_VALUE = 0x0C22; |
| 3401 |
| 3402 @DomName('WebGL2RenderingContext.COLOR_WRITEMASK') |
| 3403 @DocsEditable() |
| 3404 @Experimental() // untriaged |
| 3405 static const int COLOR_WRITEMASK = 0x0C23; |
| 3406 |
| 3407 @DomName('WebGL2RenderingContext.COMPILE_STATUS') |
| 3408 @DocsEditable() |
| 3409 @Experimental() // untriaged |
| 3410 static const int COMPILE_STATUS = 0x8B81; |
| 3411 |
| 3412 @DomName('WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS') |
| 3413 @DocsEditable() |
| 3414 @Experimental() // untriaged |
| 3415 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; |
| 3416 |
| 3417 @DomName('WebGL2RenderingContext.CONSTANT_ALPHA') |
| 3418 @DocsEditable() |
| 3419 @Experimental() // untriaged |
| 3420 static const int CONSTANT_ALPHA = 0x8003; |
| 3421 |
| 3422 @DomName('WebGL2RenderingContext.CONSTANT_COLOR') |
| 3423 @DocsEditable() |
| 3424 @Experimental() // untriaged |
| 3425 static const int CONSTANT_COLOR = 0x8001; |
| 3426 |
| 3427 @DomName('WebGL2RenderingContext.CONTEXT_LOST_WEBGL') |
| 3428 @DocsEditable() |
| 3429 @Experimental() // untriaged |
| 3430 static const int CONTEXT_LOST_WEBGL = 0x9242; |
| 3431 |
| 3432 @DomName('WebGL2RenderingContext.CULL_FACE') |
| 3433 @DocsEditable() |
| 3434 @Experimental() // untriaged |
| 3435 static const int CULL_FACE = 0x0B44; |
| 3436 |
| 3437 @DomName('WebGL2RenderingContext.CULL_FACE_MODE') |
| 3438 @DocsEditable() |
| 3439 @Experimental() // untriaged |
| 3440 static const int CULL_FACE_MODE = 0x0B45; |
| 3441 |
| 3442 @DomName('WebGL2RenderingContext.CURRENT_PROGRAM') |
| 3443 @DocsEditable() |
| 3444 @Experimental() // untriaged |
| 3445 static const int CURRENT_PROGRAM = 0x8B8D; |
| 3446 |
| 3447 @DomName('WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB') |
| 3448 @DocsEditable() |
| 3449 @Experimental() // untriaged |
| 3450 static const int CURRENT_VERTEX_ATTRIB = 0x8626; |
| 3451 |
| 3452 @DomName('WebGL2RenderingContext.CW') |
| 3453 @DocsEditable() |
| 3454 @Experimental() // untriaged |
| 3455 static const int CW = 0x0900; |
| 3456 |
| 3457 @DomName('WebGL2RenderingContext.DECR') |
| 3458 @DocsEditable() |
| 3459 @Experimental() // untriaged |
| 3460 static const int DECR = 0x1E03; |
| 3461 |
| 3462 @DomName('WebGL2RenderingContext.DECR_WRAP') |
| 3463 @DocsEditable() |
| 3464 @Experimental() // untriaged |
| 3465 static const int DECR_WRAP = 0x8508; |
| 3466 |
| 3467 @DomName('WebGL2RenderingContext.DELETE_STATUS') |
| 3468 @DocsEditable() |
| 3469 @Experimental() // untriaged |
| 3470 static const int DELETE_STATUS = 0x8B80; |
| 3471 |
| 3472 @DomName('WebGL2RenderingContext.DEPTH_ATTACHMENT') |
| 3473 @DocsEditable() |
| 3474 @Experimental() // untriaged |
| 3475 static const int DEPTH_ATTACHMENT = 0x8D00; |
| 3476 |
| 3477 @DomName('WebGL2RenderingContext.DEPTH_BITS') |
| 3478 @DocsEditable() |
| 3479 @Experimental() // untriaged |
| 3480 static const int DEPTH_BITS = 0x0D56; |
| 3481 |
| 3482 @DomName('WebGL2RenderingContext.DEPTH_BUFFER_BIT') |
| 3483 @DocsEditable() |
| 3484 @Experimental() // untriaged |
| 3485 static const int DEPTH_BUFFER_BIT = 0x00000100; |
| 3486 |
| 3487 @DomName('WebGL2RenderingContext.DEPTH_CLEAR_VALUE') |
| 3488 @DocsEditable() |
| 3489 @Experimental() // untriaged |
| 3490 static const int DEPTH_CLEAR_VALUE = 0x0B73; |
| 3491 |
| 3492 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT') |
| 3493 @DocsEditable() |
| 3494 @Experimental() // untriaged |
| 3495 static const int DEPTH_COMPONENT = 0x1902; |
| 3496 |
| 3497 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT16') |
| 3498 @DocsEditable() |
| 3499 @Experimental() // untriaged |
| 3500 static const int DEPTH_COMPONENT16 = 0x81A5; |
| 3501 |
| 3502 @DomName('WebGL2RenderingContext.DEPTH_FUNC') |
| 3503 @DocsEditable() |
| 3504 @Experimental() // untriaged |
| 3505 static const int DEPTH_FUNC = 0x0B74; |
| 3506 |
| 3507 @DomName('WebGL2RenderingContext.DEPTH_RANGE') |
| 3508 @DocsEditable() |
| 3509 @Experimental() // untriaged |
| 3510 static const int DEPTH_RANGE = 0x0B70; |
| 3511 |
| 3512 @DomName('WebGL2RenderingContext.DEPTH_STENCIL') |
| 3513 @DocsEditable() |
| 3514 @Experimental() // untriaged |
| 3515 static const int DEPTH_STENCIL = 0x84F9; |
| 3516 |
| 3517 @DomName('WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT') |
| 3518 @DocsEditable() |
| 3519 @Experimental() // untriaged |
| 3520 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; |
| 3521 |
| 3522 @DomName('WebGL2RenderingContext.DEPTH_TEST') |
| 3523 @DocsEditable() |
| 3524 @Experimental() // untriaged |
| 3525 static const int DEPTH_TEST = 0x0B71; |
| 3526 |
| 3527 @DomName('WebGL2RenderingContext.DEPTH_WRITEMASK') |
| 3528 @DocsEditable() |
| 3529 @Experimental() // untriaged |
| 3530 static const int DEPTH_WRITEMASK = 0x0B72; |
| 3531 |
| 3532 @DomName('WebGL2RenderingContext.DITHER') |
| 3533 @DocsEditable() |
| 3534 @Experimental() // untriaged |
| 3535 static const int DITHER = 0x0BD0; |
| 3536 |
| 3537 @DomName('WebGL2RenderingContext.DONT_CARE') |
| 3538 @DocsEditable() |
| 3539 @Experimental() // untriaged |
| 3540 static const int DONT_CARE = 0x1100; |
| 3541 |
| 3542 @DomName('WebGL2RenderingContext.DST_ALPHA') |
| 3543 @DocsEditable() |
| 3544 @Experimental() // untriaged |
| 3545 static const int DST_ALPHA = 0x0304; |
| 3546 |
| 3547 @DomName('WebGL2RenderingContext.DST_COLOR') |
| 3548 @DocsEditable() |
| 3549 @Experimental() // untriaged |
| 3550 static const int DST_COLOR = 0x0306; |
| 3551 |
| 3552 @DomName('WebGL2RenderingContext.DYNAMIC_DRAW') |
| 3553 @DocsEditable() |
| 3554 @Experimental() // untriaged |
| 3555 static const int DYNAMIC_DRAW = 0x88E8; |
| 3556 |
| 3557 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER') |
| 3558 @DocsEditable() |
| 3559 @Experimental() // untriaged |
| 3560 static const int ELEMENT_ARRAY_BUFFER = 0x8893; |
| 3561 |
| 3562 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') |
| 3563 @DocsEditable() |
| 3564 @Experimental() // untriaged |
| 3565 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; |
| 3566 |
| 3567 @DomName('WebGL2RenderingContext.EQUAL') |
| 3568 @DocsEditable() |
| 3569 @Experimental() // untriaged |
| 3570 static const int EQUAL = 0x0202; |
| 3571 |
| 3572 @DomName('WebGL2RenderingContext.FASTEST') |
| 3573 @DocsEditable() |
| 3574 @Experimental() // untriaged |
| 3575 static const int FASTEST = 0x1101; |
| 3576 |
| 3577 @DomName('WebGL2RenderingContext.FLOAT') |
| 3578 @DocsEditable() |
| 3579 @Experimental() // untriaged |
| 3580 static const int FLOAT = 0x1406; |
| 3581 |
| 3582 @DomName('WebGL2RenderingContext.FLOAT_MAT2') |
| 3583 @DocsEditable() |
| 3584 @Experimental() // untriaged |
| 3585 static const int FLOAT_MAT2 = 0x8B5A; |
| 3586 |
| 3587 @DomName('WebGL2RenderingContext.FLOAT_MAT3') |
| 3588 @DocsEditable() |
| 3589 @Experimental() // untriaged |
| 3590 static const int FLOAT_MAT3 = 0x8B5B; |
| 3591 |
| 3592 @DomName('WebGL2RenderingContext.FLOAT_MAT4') |
| 3593 @DocsEditable() |
| 3594 @Experimental() // untriaged |
| 3595 static const int FLOAT_MAT4 = 0x8B5C; |
| 3596 |
| 3597 @DomName('WebGL2RenderingContext.FLOAT_VEC2') |
| 3598 @DocsEditable() |
| 3599 @Experimental() // untriaged |
| 3600 static const int FLOAT_VEC2 = 0x8B50; |
| 3601 |
| 3602 @DomName('WebGL2RenderingContext.FLOAT_VEC3') |
| 3603 @DocsEditable() |
| 3604 @Experimental() // untriaged |
| 3605 static const int FLOAT_VEC3 = 0x8B51; |
| 3606 |
| 3607 @DomName('WebGL2RenderingContext.FLOAT_VEC4') |
| 3608 @DocsEditable() |
| 3609 @Experimental() // untriaged |
| 3610 static const int FLOAT_VEC4 = 0x8B52; |
| 3611 |
| 3612 @DomName('WebGL2RenderingContext.FRAGMENT_SHADER') |
| 3613 @DocsEditable() |
| 3614 @Experimental() // untriaged |
| 3615 static const int FRAGMENT_SHADER = 0x8B30; |
| 3616 |
| 3617 @DomName('WebGL2RenderingContext.FRAMEBUFFER') |
| 3618 @DocsEditable() |
| 3619 @Experimental() // untriaged |
| 3620 static const int FRAMEBUFFER = 0x8D40; |
| 3621 |
| 3622 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') |
| 3623 @DocsEditable() |
| 3624 @Experimental() // untriaged |
| 3625 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
| 3626 |
| 3627 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') |
| 3628 @DocsEditable() |
| 3629 @Experimental() // untriaged |
| 3630 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
| 3631 |
| 3632 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE'
) |
| 3633 @DocsEditable() |
| 3634 @Experimental() // untriaged |
| 3635 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
| 3636 |
| 3637 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') |
| 3638 @DocsEditable() |
| 3639 @Experimental() // untriaged |
| 3640 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
| 3641 |
| 3642 @DomName('WebGL2RenderingContext.FRAMEBUFFER_BINDING') |
| 3643 @DocsEditable() |
| 3644 @Experimental() // untriaged |
| 3645 static const int FRAMEBUFFER_BINDING = 0x8CA6; |
| 3646 |
| 3647 @DomName('WebGL2RenderingContext.FRAMEBUFFER_COMPLETE') |
| 3648 @DocsEditable() |
| 3649 @Experimental() // untriaged |
| 3650 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; |
| 3651 |
| 3652 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') |
| 3653 @DocsEditable() |
| 3654 @Experimental() // untriaged |
| 3655 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; |
| 3656 |
| 3657 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') |
| 3658 @DocsEditable() |
| 3659 @Experimental() // untriaged |
| 3660 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; |
| 3661 |
| 3662 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') |
| 3663 @DocsEditable() |
| 3664 @Experimental() // untriaged |
| 3665 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; |
| 3666 |
| 3667 @DomName('WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED') |
| 3668 @DocsEditable() |
| 3669 @Experimental() // untriaged |
| 3670 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; |
| 3671 |
| 3672 @DomName('WebGL2RenderingContext.FRONT') |
| 3673 @DocsEditable() |
| 3674 @Experimental() // untriaged |
| 3675 static const int FRONT = 0x0404; |
| 3676 |
| 3677 @DomName('WebGL2RenderingContext.FRONT_AND_BACK') |
| 3678 @DocsEditable() |
| 3679 @Experimental() // untriaged |
| 3680 static const int FRONT_AND_BACK = 0x0408; |
| 3681 |
| 3682 @DomName('WebGL2RenderingContext.FRONT_FACE') |
| 3683 @DocsEditable() |
| 3684 @Experimental() // untriaged |
| 3685 static const int FRONT_FACE = 0x0B46; |
| 3686 |
| 3687 @DomName('WebGL2RenderingContext.FUNC_ADD') |
| 3688 @DocsEditable() |
| 3689 @Experimental() // untriaged |
| 3690 static const int FUNC_ADD = 0x8006; |
| 3691 |
| 3692 @DomName('WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT') |
| 3693 @DocsEditable() |
| 3694 @Experimental() // untriaged |
| 3695 static const int FUNC_REVERSE_SUBTRACT = 0x800B; |
| 3696 |
| 3697 @DomName('WebGL2RenderingContext.FUNC_SUBTRACT') |
| 3698 @DocsEditable() |
| 3699 @Experimental() // untriaged |
| 3700 static const int FUNC_SUBTRACT = 0x800A; |
| 3701 |
| 3702 @DomName('WebGL2RenderingContext.GENERATE_MIPMAP_HINT') |
| 3703 @DocsEditable() |
| 3704 @Experimental() // untriaged |
| 3705 static const int GENERATE_MIPMAP_HINT = 0x8192; |
| 3706 |
| 3707 @DomName('WebGL2RenderingContext.GEQUAL') |
| 3708 @DocsEditable() |
| 3709 @Experimental() // untriaged |
| 3710 static const int GEQUAL = 0x0206; |
| 3711 |
| 3712 @DomName('WebGL2RenderingContext.GREATER') |
| 3713 @DocsEditable() |
| 3714 @Experimental() // untriaged |
| 3715 static const int GREATER = 0x0204; |
| 3716 |
| 3717 @DomName('WebGL2RenderingContext.GREEN_BITS') |
| 3718 @DocsEditable() |
| 3719 @Experimental() // untriaged |
| 3720 static const int GREEN_BITS = 0x0D53; |
| 3721 |
| 3722 @DomName('WebGL2RenderingContext.HIGH_FLOAT') |
| 3723 @DocsEditable() |
| 3724 @Experimental() // untriaged |
| 3725 static const int HIGH_FLOAT = 0x8DF2; |
| 3726 |
| 3727 @DomName('WebGL2RenderingContext.HIGH_INT') |
| 3728 @DocsEditable() |
| 3729 @Experimental() // untriaged |
| 3730 static const int HIGH_INT = 0x8DF5; |
| 3731 |
| 3732 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT') |
| 3733 @DocsEditable() |
| 3734 @Experimental() // untriaged |
| 3735 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; |
| 3736 |
| 3737 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE') |
| 3738 @DocsEditable() |
| 3739 @Experimental() // untriaged |
| 3740 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; |
| 3741 |
| 3742 @DomName('WebGL2RenderingContext.INCR') |
| 3743 @DocsEditable() |
| 3744 @Experimental() // untriaged |
| 3745 static const int INCR = 0x1E02; |
| 3746 |
| 3747 @DomName('WebGL2RenderingContext.INCR_WRAP') |
| 3748 @DocsEditable() |
| 3749 @Experimental() // untriaged |
| 3750 static const int INCR_WRAP = 0x8507; |
| 3751 |
| 3752 @DomName('WebGL2RenderingContext.INT') |
| 3753 @DocsEditable() |
| 3754 @Experimental() // untriaged |
| 3755 static const int INT = 0x1404; |
| 3756 |
| 3757 @DomName('WebGL2RenderingContext.INT_VEC2') |
| 3758 @DocsEditable() |
| 3759 @Experimental() // untriaged |
| 3760 static const int INT_VEC2 = 0x8B53; |
| 3761 |
| 3762 @DomName('WebGL2RenderingContext.INT_VEC3') |
| 3763 @DocsEditable() |
| 3764 @Experimental() // untriaged |
| 3765 static const int INT_VEC3 = 0x8B54; |
| 3766 |
| 3767 @DomName('WebGL2RenderingContext.INT_VEC4') |
| 3768 @DocsEditable() |
| 3769 @Experimental() // untriaged |
| 3770 static const int INT_VEC4 = 0x8B55; |
| 3771 |
| 3772 @DomName('WebGL2RenderingContext.INVALID_ENUM') |
| 3773 @DocsEditable() |
| 3774 @Experimental() // untriaged |
| 3775 static const int INVALID_ENUM = 0x0500; |
| 3776 |
| 3777 @DomName('WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION') |
| 3778 @DocsEditable() |
| 3779 @Experimental() // untriaged |
| 3780 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
| 3781 |
| 3782 @DomName('WebGL2RenderingContext.INVALID_OPERATION') |
| 3783 @DocsEditable() |
| 3784 @Experimental() // untriaged |
| 3785 static const int INVALID_OPERATION = 0x0502; |
| 3786 |
| 3787 @DomName('WebGL2RenderingContext.INVALID_VALUE') |
| 3788 @DocsEditable() |
| 3789 @Experimental() // untriaged |
| 3790 static const int INVALID_VALUE = 0x0501; |
| 3791 |
| 3792 @DomName('WebGL2RenderingContext.INVERT') |
| 3793 @DocsEditable() |
| 3794 @Experimental() // untriaged |
| 3795 static const int INVERT = 0x150A; |
| 3796 |
| 3797 @DomName('WebGL2RenderingContext.KEEP') |
| 3798 @DocsEditable() |
| 3799 @Experimental() // untriaged |
| 3800 static const int KEEP = 0x1E00; |
| 3801 |
| 3802 @DomName('WebGL2RenderingContext.LEQUAL') |
| 3803 @DocsEditable() |
| 3804 @Experimental() // untriaged |
| 3805 static const int LEQUAL = 0x0203; |
| 3806 |
| 3807 @DomName('WebGL2RenderingContext.LESS') |
| 3808 @DocsEditable() |
| 3809 @Experimental() // untriaged |
| 3810 static const int LESS = 0x0201; |
| 3811 |
| 3812 @DomName('WebGL2RenderingContext.LINEAR') |
| 3813 @DocsEditable() |
| 3814 @Experimental() // untriaged |
| 3815 static const int LINEAR = 0x2601; |
| 3816 |
| 3817 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR') |
| 3818 @DocsEditable() |
| 3819 @Experimental() // untriaged |
| 3820 static const int LINEAR_MIPMAP_LINEAR = 0x2703; |
| 3821 |
| 3822 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST') |
| 3823 @DocsEditable() |
| 3824 @Experimental() // untriaged |
| 3825 static const int LINEAR_MIPMAP_NEAREST = 0x2701; |
| 3826 |
| 3827 @DomName('WebGL2RenderingContext.LINES') |
| 3828 @DocsEditable() |
| 3829 @Experimental() // untriaged |
| 3830 static const int LINES = 0x0001; |
| 3831 |
| 3832 @DomName('WebGL2RenderingContext.LINE_LOOP') |
| 3833 @DocsEditable() |
| 3834 @Experimental() // untriaged |
| 3835 static const int LINE_LOOP = 0x0002; |
| 3836 |
| 3837 @DomName('WebGL2RenderingContext.LINE_STRIP') |
| 3838 @DocsEditable() |
| 3839 @Experimental() // untriaged |
| 3840 static const int LINE_STRIP = 0x0003; |
| 3841 |
| 3842 @DomName('WebGL2RenderingContext.LINE_WIDTH') |
| 3843 @DocsEditable() |
| 3844 @Experimental() // untriaged |
| 3845 static const int LINE_WIDTH = 0x0B21; |
| 3846 |
| 3847 @DomName('WebGL2RenderingContext.LINK_STATUS') |
| 3848 @DocsEditable() |
| 3849 @Experimental() // untriaged |
| 3850 static const int LINK_STATUS = 0x8B82; |
| 3851 |
| 3852 @DomName('WebGL2RenderingContext.LOW_FLOAT') |
| 3853 @DocsEditable() |
| 3854 @Experimental() // untriaged |
| 3855 static const int LOW_FLOAT = 0x8DF0; |
| 3856 |
| 3857 @DomName('WebGL2RenderingContext.LOW_INT') |
| 3858 @DocsEditable() |
| 3859 @Experimental() // untriaged |
| 3860 static const int LOW_INT = 0x8DF3; |
| 3861 |
| 3862 @DomName('WebGL2RenderingContext.LUMINANCE') |
| 3863 @DocsEditable() |
| 3864 @Experimental() // untriaged |
| 3865 static const int LUMINANCE = 0x1909; |
| 3866 |
| 3867 @DomName('WebGL2RenderingContext.LUMINANCE_ALPHA') |
| 3868 @DocsEditable() |
| 3869 @Experimental() // untriaged |
| 3870 static const int LUMINANCE_ALPHA = 0x190A; |
| 3871 |
| 3872 @DomName('WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') |
| 3873 @DocsEditable() |
| 3874 @Experimental() // untriaged |
| 3875 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; |
| 3876 |
| 3877 @DomName('WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') |
| 3878 @DocsEditable() |
| 3879 @Experimental() // untriaged |
| 3880 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; |
| 3881 |
| 3882 @DomName('WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') |
| 3883 @DocsEditable() |
| 3884 @Experimental() // untriaged |
| 3885 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; |
| 3886 |
| 3887 @DomName('WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE') |
| 3888 @DocsEditable() |
| 3889 @Experimental() // untriaged |
| 3890 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; |
| 3891 |
| 3892 @DomName('WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS') |
| 3893 @DocsEditable() |
| 3894 @Experimental() // untriaged |
| 3895 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; |
| 3896 |
| 3897 @DomName('WebGL2RenderingContext.MAX_TEXTURE_SIZE') |
| 3898 @DocsEditable() |
| 3899 @Experimental() // untriaged |
| 3900 static const int MAX_TEXTURE_SIZE = 0x0D33; |
| 3901 |
| 3902 @DomName('WebGL2RenderingContext.MAX_VARYING_VECTORS') |
| 3903 @DocsEditable() |
| 3904 @Experimental() // untriaged |
| 3905 static const int MAX_VARYING_VECTORS = 0x8DFC; |
| 3906 |
| 3907 @DomName('WebGL2RenderingContext.MAX_VERTEX_ATTRIBS') |
| 3908 @DocsEditable() |
| 3909 @Experimental() // untriaged |
| 3910 static const int MAX_VERTEX_ATTRIBS = 0x8869; |
| 3911 |
| 3912 @DomName('WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') |
| 3913 @DocsEditable() |
| 3914 @Experimental() // untriaged |
| 3915 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; |
| 3916 |
| 3917 @DomName('WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS') |
| 3918 @DocsEditable() |
| 3919 @Experimental() // untriaged |
| 3920 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; |
| 3921 |
| 3922 @DomName('WebGL2RenderingContext.MAX_VIEWPORT_DIMS') |
| 3923 @DocsEditable() |
| 3924 @Experimental() // untriaged |
| 3925 static const int MAX_VIEWPORT_DIMS = 0x0D3A; |
| 3926 |
| 3927 @DomName('WebGL2RenderingContext.MEDIUM_FLOAT') |
| 3928 @DocsEditable() |
| 3929 @Experimental() // untriaged |
| 3930 static const int MEDIUM_FLOAT = 0x8DF1; |
| 3931 |
| 3932 @DomName('WebGL2RenderingContext.MEDIUM_INT') |
| 3933 @DocsEditable() |
| 3934 @Experimental() // untriaged |
| 3935 static const int MEDIUM_INT = 0x8DF4; |
| 3936 |
| 3937 @DomName('WebGL2RenderingContext.MIRRORED_REPEAT') |
| 3938 @DocsEditable() |
| 3939 @Experimental() // untriaged |
| 3940 static const int MIRRORED_REPEAT = 0x8370; |
| 3941 |
| 3942 @DomName('WebGL2RenderingContext.NEAREST') |
| 3943 @DocsEditable() |
| 3944 @Experimental() // untriaged |
| 3945 static const int NEAREST = 0x2600; |
| 3946 |
| 3947 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR') |
| 3948 @DocsEditable() |
| 3949 @Experimental() // untriaged |
| 3950 static const int NEAREST_MIPMAP_LINEAR = 0x2702; |
| 3951 |
| 3952 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST') |
| 3953 @DocsEditable() |
| 3954 @Experimental() // untriaged |
| 3955 static const int NEAREST_MIPMAP_NEAREST = 0x2700; |
| 3956 |
| 3957 @DomName('WebGL2RenderingContext.NEVER') |
| 3958 @DocsEditable() |
| 3959 @Experimental() // untriaged |
| 3960 static const int NEVER = 0x0200; |
| 3961 |
| 3962 @DomName('WebGL2RenderingContext.NICEST') |
| 3963 @DocsEditable() |
| 3964 @Experimental() // untriaged |
| 3965 static const int NICEST = 0x1102; |
| 3966 |
| 3967 @DomName('WebGL2RenderingContext.NONE') |
| 3968 @DocsEditable() |
| 3969 @Experimental() // untriaged |
| 3970 static const int NONE = 0; |
| 3971 |
| 3972 @DomName('WebGL2RenderingContext.NOTEQUAL') |
| 3973 @DocsEditable() |
| 3974 @Experimental() // untriaged |
| 3975 static const int NOTEQUAL = 0x0205; |
| 3976 |
| 3977 @DomName('WebGL2RenderingContext.NO_ERROR') |
| 3978 @DocsEditable() |
| 3979 @Experimental() // untriaged |
| 3980 static const int NO_ERROR = 0; |
| 3981 |
| 3982 @DomName('WebGL2RenderingContext.ONE') |
| 3983 @DocsEditable() |
| 3984 @Experimental() // untriaged |
| 3985 static const int ONE = 1; |
| 3986 |
| 3987 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA') |
| 3988 @DocsEditable() |
| 3989 @Experimental() // untriaged |
| 3990 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; |
| 3991 |
| 3992 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR') |
| 3993 @DocsEditable() |
| 3994 @Experimental() // untriaged |
| 3995 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; |
| 3996 |
| 3997 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_ALPHA') |
| 3998 @DocsEditable() |
| 3999 @Experimental() // untriaged |
| 4000 static const int ONE_MINUS_DST_ALPHA = 0x0305; |
| 4001 |
| 4002 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_COLOR') |
| 4003 @DocsEditable() |
| 4004 @Experimental() // untriaged |
| 4005 static const int ONE_MINUS_DST_COLOR = 0x0307; |
| 4006 |
| 4007 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA') |
| 4008 @DocsEditable() |
| 4009 @Experimental() // untriaged |
| 4010 static const int ONE_MINUS_SRC_ALPHA = 0x0303; |
| 4011 |
| 4012 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_COLOR') |
| 4013 @DocsEditable() |
| 4014 @Experimental() // untriaged |
| 4015 static const int ONE_MINUS_SRC_COLOR = 0x0301; |
| 4016 |
| 4017 @DomName('WebGL2RenderingContext.OUT_OF_MEMORY') |
| 4018 @DocsEditable() |
| 4019 @Experimental() // untriaged |
| 4020 static const int OUT_OF_MEMORY = 0x0505; |
| 4021 |
| 4022 @DomName('WebGL2RenderingContext.PACK_ALIGNMENT') |
| 4023 @DocsEditable() |
| 4024 @Experimental() // untriaged |
| 4025 static const int PACK_ALIGNMENT = 0x0D05; |
| 4026 |
| 4027 @DomName('WebGL2RenderingContext.POINTS') |
| 4028 @DocsEditable() |
| 4029 @Experimental() // untriaged |
| 4030 static const int POINTS = 0x0000; |
| 4031 |
| 4032 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FACTOR') |
| 4033 @DocsEditable() |
| 4034 @Experimental() // untriaged |
| 4035 static const int POLYGON_OFFSET_FACTOR = 0x8038; |
| 4036 |
| 4037 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FILL') |
| 4038 @DocsEditable() |
| 4039 @Experimental() // untriaged |
| 4040 static const int POLYGON_OFFSET_FILL = 0x8037; |
| 4041 |
| 4042 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_UNITS') |
| 4043 @DocsEditable() |
| 4044 @Experimental() // untriaged |
| 4045 static const int POLYGON_OFFSET_UNITS = 0x2A00; |
| 4046 |
| 4047 @DomName('WebGL2RenderingContext.RED_BITS') |
| 4048 @DocsEditable() |
| 4049 @Experimental() // untriaged |
| 4050 static const int RED_BITS = 0x0D52; |
| 4051 |
| 4052 @DomName('WebGL2RenderingContext.RENDERBUFFER') |
| 4053 @DocsEditable() |
| 4054 @Experimental() // untriaged |
| 4055 static const int RENDERBUFFER = 0x8D41; |
| 4056 |
| 4057 @DomName('WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE') |
| 4058 @DocsEditable() |
| 4059 @Experimental() // untriaged |
| 4060 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; |
| 4061 |
| 4062 @DomName('WebGL2RenderingContext.RENDERBUFFER_BINDING') |
| 4063 @DocsEditable() |
| 4064 @Experimental() // untriaged |
| 4065 static const int RENDERBUFFER_BINDING = 0x8CA7; |
| 4066 |
| 4067 @DomName('WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE') |
| 4068 @DocsEditable() |
| 4069 @Experimental() // untriaged |
| 4070 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; |
| 4071 |
| 4072 @DomName('WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE') |
| 4073 @DocsEditable() |
| 4074 @Experimental() // untriaged |
| 4075 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; |
| 4076 |
| 4077 @DomName('WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE') |
| 4078 @DocsEditable() |
| 4079 @Experimental() // untriaged |
| 4080 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; |
| 4081 |
| 4082 @DomName('WebGL2RenderingContext.RENDERBUFFER_HEIGHT') |
| 4083 @DocsEditable() |
| 4084 @Experimental() // untriaged |
| 4085 static const int RENDERBUFFER_HEIGHT = 0x8D43; |
| 4086 |
| 4087 @DomName('WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT') |
| 4088 @DocsEditable() |
| 4089 @Experimental() // untriaged |
| 4090 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; |
| 4091 |
| 4092 @DomName('WebGL2RenderingContext.RENDERBUFFER_RED_SIZE') |
| 4093 @DocsEditable() |
| 4094 @Experimental() // untriaged |
| 4095 static const int RENDERBUFFER_RED_SIZE = 0x8D50; |
| 4096 |
| 4097 @DomName('WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE') |
| 4098 @DocsEditable() |
| 4099 @Experimental() // untriaged |
| 4100 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; |
| 4101 |
| 4102 @DomName('WebGL2RenderingContext.RENDERBUFFER_WIDTH') |
| 4103 @DocsEditable() |
| 4104 @Experimental() // untriaged |
| 4105 static const int RENDERBUFFER_WIDTH = 0x8D42; |
| 4106 |
| 4107 @DomName('WebGL2RenderingContext.RENDERER') |
| 4108 @DocsEditable() |
| 4109 @Experimental() // untriaged |
| 4110 static const int RENDERER = 0x1F01; |
| 4111 |
| 4112 @DomName('WebGL2RenderingContext.REPEAT') |
| 4113 @DocsEditable() |
| 4114 @Experimental() // untriaged |
| 4115 static const int REPEAT = 0x2901; |
| 4116 |
| 4117 @DomName('WebGL2RenderingContext.REPLACE') |
| 4118 @DocsEditable() |
| 4119 @Experimental() // untriaged |
| 4120 static const int REPLACE = 0x1E01; |
| 4121 |
| 4122 @DomName('WebGL2RenderingContext.RGB') |
| 4123 @DocsEditable() |
| 4124 @Experimental() // untriaged |
| 4125 static const int RGB = 0x1907; |
| 4126 |
| 4127 @DomName('WebGL2RenderingContext.RGB565') |
| 4128 @DocsEditable() |
| 4129 @Experimental() // untriaged |
| 4130 static const int RGB565 = 0x8D62; |
| 4131 |
| 4132 @DomName('WebGL2RenderingContext.RGB5_A1') |
| 4133 @DocsEditable() |
| 4134 @Experimental() // untriaged |
| 4135 static const int RGB5_A1 = 0x8057; |
| 4136 |
| 4137 @DomName('WebGL2RenderingContext.RGBA') |
| 4138 @DocsEditable() |
| 4139 @Experimental() // untriaged |
| 4140 static const int RGBA = 0x1908; |
| 4141 |
| 4142 @DomName('WebGL2RenderingContext.RGBA4') |
| 4143 @DocsEditable() |
| 4144 @Experimental() // untriaged |
| 4145 static const int RGBA4 = 0x8056; |
| 4146 |
| 4147 @DomName('WebGL2RenderingContext.SAMPLER_2D') |
| 4148 @DocsEditable() |
| 4149 @Experimental() // untriaged |
| 4150 static const int SAMPLER_2D = 0x8B5E; |
| 4151 |
| 4152 @DomName('WebGL2RenderingContext.SAMPLER_CUBE') |
| 4153 @DocsEditable() |
| 4154 @Experimental() // untriaged |
| 4155 static const int SAMPLER_CUBE = 0x8B60; |
| 4156 |
| 4157 @DomName('WebGL2RenderingContext.SAMPLES') |
| 4158 @DocsEditable() |
| 4159 @Experimental() // untriaged |
| 4160 static const int SAMPLES = 0x80A9; |
| 4161 |
| 4162 @DomName('WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE') |
| 4163 @DocsEditable() |
| 4164 @Experimental() // untriaged |
| 4165 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; |
| 4166 |
| 4167 @DomName('WebGL2RenderingContext.SAMPLE_BUFFERS') |
| 4168 @DocsEditable() |
| 4169 @Experimental() // untriaged |
| 4170 static const int SAMPLE_BUFFERS = 0x80A8; |
| 4171 |
| 4172 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE') |
| 4173 @DocsEditable() |
| 4174 @Experimental() // untriaged |
| 4175 static const int SAMPLE_COVERAGE = 0x80A0; |
| 4176 |
| 4177 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT') |
| 4178 @DocsEditable() |
| 4179 @Experimental() // untriaged |
| 4180 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; |
| 4181 |
| 4182 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE') |
| 4183 @DocsEditable() |
| 4184 @Experimental() // untriaged |
| 4185 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; |
| 4186 |
| 4187 @DomName('WebGL2RenderingContext.SCISSOR_BOX') |
| 4188 @DocsEditable() |
| 4189 @Experimental() // untriaged |
| 4190 static const int SCISSOR_BOX = 0x0C10; |
| 4191 |
| 4192 @DomName('WebGL2RenderingContext.SCISSOR_TEST') |
| 4193 @DocsEditable() |
| 4194 @Experimental() // untriaged |
| 4195 static const int SCISSOR_TEST = 0x0C11; |
| 4196 |
| 4197 @DomName('WebGL2RenderingContext.SHADER_TYPE') |
| 4198 @DocsEditable() |
| 4199 @Experimental() // untriaged |
| 4200 static const int SHADER_TYPE = 0x8B4F; |
| 4201 |
| 4202 @DomName('WebGL2RenderingContext.SHADING_LANGUAGE_VERSION') |
| 4203 @DocsEditable() |
| 4204 @Experimental() // untriaged |
| 4205 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; |
| 4206 |
| 4207 @DomName('WebGL2RenderingContext.SHORT') |
| 4208 @DocsEditable() |
| 4209 @Experimental() // untriaged |
| 4210 static const int SHORT = 0x1402; |
| 4211 |
| 4212 @DomName('WebGL2RenderingContext.SRC_ALPHA') |
| 4213 @DocsEditable() |
| 4214 @Experimental() // untriaged |
| 4215 static const int SRC_ALPHA = 0x0302; |
| 4216 |
| 4217 @DomName('WebGL2RenderingContext.SRC_ALPHA_SATURATE') |
| 4218 @DocsEditable() |
| 4219 @Experimental() // untriaged |
| 4220 static const int SRC_ALPHA_SATURATE = 0x0308; |
| 4221 |
| 4222 @DomName('WebGL2RenderingContext.SRC_COLOR') |
| 4223 @DocsEditable() |
| 4224 @Experimental() // untriaged |
| 4225 static const int SRC_COLOR = 0x0300; |
| 4226 |
| 4227 @DomName('WebGL2RenderingContext.STATIC_DRAW') |
| 4228 @DocsEditable() |
| 4229 @Experimental() // untriaged |
| 4230 static const int STATIC_DRAW = 0x88E4; |
| 4231 |
| 4232 @DomName('WebGL2RenderingContext.STENCIL_ATTACHMENT') |
| 4233 @DocsEditable() |
| 4234 @Experimental() // untriaged |
| 4235 static const int STENCIL_ATTACHMENT = 0x8D20; |
| 4236 |
| 4237 @DomName('WebGL2RenderingContext.STENCIL_BACK_FAIL') |
| 4238 @DocsEditable() |
| 4239 @Experimental() // untriaged |
| 4240 static const int STENCIL_BACK_FAIL = 0x8801; |
| 4241 |
| 4242 @DomName('WebGL2RenderingContext.STENCIL_BACK_FUNC') |
| 4243 @DocsEditable() |
| 4244 @Experimental() // untriaged |
| 4245 static const int STENCIL_BACK_FUNC = 0x8800; |
| 4246 |
| 4247 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') |
| 4248 @DocsEditable() |
| 4249 @Experimental() // untriaged |
| 4250 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; |
| 4251 |
| 4252 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') |
| 4253 @DocsEditable() |
| 4254 @Experimental() // untriaged |
| 4255 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; |
| 4256 |
| 4257 @DomName('WebGL2RenderingContext.STENCIL_BACK_REF') |
| 4258 @DocsEditable() |
| 4259 @Experimental() // untriaged |
| 4260 static const int STENCIL_BACK_REF = 0x8CA3; |
| 4261 |
| 4262 @DomName('WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK') |
| 4263 @DocsEditable() |
| 4264 @Experimental() // untriaged |
| 4265 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; |
| 4266 |
| 4267 @DomName('WebGL2RenderingContext.STENCIL_BACK_WRITEMASK') |
| 4268 @DocsEditable() |
| 4269 @Experimental() // untriaged |
| 4270 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; |
| 4271 |
| 4272 @DomName('WebGL2RenderingContext.STENCIL_BITS') |
| 4273 @DocsEditable() |
| 4274 @Experimental() // untriaged |
| 4275 static const int STENCIL_BITS = 0x0D57; |
| 4276 |
| 4277 @DomName('WebGL2RenderingContext.STENCIL_BUFFER_BIT') |
| 4278 @DocsEditable() |
| 4279 @Experimental() // untriaged |
| 4280 static const int STENCIL_BUFFER_BIT = 0x00000400; |
| 4281 |
| 4282 @DomName('WebGL2RenderingContext.STENCIL_CLEAR_VALUE') |
| 4283 @DocsEditable() |
| 4284 @Experimental() // untriaged |
| 4285 static const int STENCIL_CLEAR_VALUE = 0x0B91; |
| 4286 |
| 4287 @DomName('WebGL2RenderingContext.STENCIL_FAIL') |
| 4288 @DocsEditable() |
| 4289 @Experimental() // untriaged |
| 4290 static const int STENCIL_FAIL = 0x0B94; |
| 4291 |
| 4292 @DomName('WebGL2RenderingContext.STENCIL_FUNC') |
| 4293 @DocsEditable() |
| 4294 @Experimental() // untriaged |
| 4295 static const int STENCIL_FUNC = 0x0B92; |
| 4296 |
| 4297 @DomName('WebGL2RenderingContext.STENCIL_INDEX') |
| 4298 @DocsEditable() |
| 4299 @Experimental() // untriaged |
| 4300 static const int STENCIL_INDEX = 0x1901; |
| 4301 |
| 4302 @DomName('WebGL2RenderingContext.STENCIL_INDEX8') |
| 4303 @DocsEditable() |
| 4304 @Experimental() // untriaged |
| 4305 static const int STENCIL_INDEX8 = 0x8D48; |
| 4306 |
| 4307 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL') |
| 4308 @DocsEditable() |
| 4309 @Experimental() // untriaged |
| 4310 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; |
| 4311 |
| 4312 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS') |
| 4313 @DocsEditable() |
| 4314 @Experimental() // untriaged |
| 4315 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; |
| 4316 |
| 4317 @DomName('WebGL2RenderingContext.STENCIL_REF') |
| 4318 @DocsEditable() |
| 4319 @Experimental() // untriaged |
| 4320 static const int STENCIL_REF = 0x0B97; |
| 4321 |
| 4322 @DomName('WebGL2RenderingContext.STENCIL_TEST') |
| 4323 @DocsEditable() |
| 4324 @Experimental() // untriaged |
| 4325 static const int STENCIL_TEST = 0x0B90; |
| 4326 |
| 4327 @DomName('WebGL2RenderingContext.STENCIL_VALUE_MASK') |
| 4328 @DocsEditable() |
| 4329 @Experimental() // untriaged |
| 4330 static const int STENCIL_VALUE_MASK = 0x0B93; |
| 4331 |
| 4332 @DomName('WebGL2RenderingContext.STENCIL_WRITEMASK') |
| 4333 @DocsEditable() |
| 4334 @Experimental() // untriaged |
| 4335 static const int STENCIL_WRITEMASK = 0x0B98; |
| 4336 |
| 4337 @DomName('WebGL2RenderingContext.STREAM_DRAW') |
| 4338 @DocsEditable() |
| 4339 @Experimental() // untriaged |
| 4340 static const int STREAM_DRAW = 0x88E0; |
| 4341 |
| 4342 @DomName('WebGL2RenderingContext.SUBPIXEL_BITS') |
| 4343 @DocsEditable() |
| 4344 @Experimental() // untriaged |
| 4345 static const int SUBPIXEL_BITS = 0x0D50; |
| 4346 |
| 4347 @DomName('WebGL2RenderingContext.TEXTURE') |
| 4348 @DocsEditable() |
| 4349 @Experimental() // untriaged |
| 4350 static const int TEXTURE = 0x1702; |
| 4351 |
| 4352 @DomName('WebGL2RenderingContext.TEXTURE0') |
| 4353 @DocsEditable() |
| 4354 @Experimental() // untriaged |
| 4355 static const int TEXTURE0 = 0x84C0; |
| 4356 |
| 4357 @DomName('WebGL2RenderingContext.TEXTURE1') |
| 4358 @DocsEditable() |
| 4359 @Experimental() // untriaged |
| 4360 static const int TEXTURE1 = 0x84C1; |
| 4361 |
| 4362 @DomName('WebGL2RenderingContext.TEXTURE10') |
| 4363 @DocsEditable() |
| 4364 @Experimental() // untriaged |
| 4365 static const int TEXTURE10 = 0x84CA; |
| 4366 |
| 4367 @DomName('WebGL2RenderingContext.TEXTURE11') |
| 4368 @DocsEditable() |
| 4369 @Experimental() // untriaged |
| 4370 static const int TEXTURE11 = 0x84CB; |
| 4371 |
| 4372 @DomName('WebGL2RenderingContext.TEXTURE12') |
| 4373 @DocsEditable() |
| 4374 @Experimental() // untriaged |
| 4375 static const int TEXTURE12 = 0x84CC; |
| 4376 |
| 4377 @DomName('WebGL2RenderingContext.TEXTURE13') |
| 4378 @DocsEditable() |
| 4379 @Experimental() // untriaged |
| 4380 static const int TEXTURE13 = 0x84CD; |
| 4381 |
| 4382 @DomName('WebGL2RenderingContext.TEXTURE14') |
| 4383 @DocsEditable() |
| 4384 @Experimental() // untriaged |
| 4385 static const int TEXTURE14 = 0x84CE; |
| 4386 |
| 4387 @DomName('WebGL2RenderingContext.TEXTURE15') |
| 4388 @DocsEditable() |
| 4389 @Experimental() // untriaged |
| 4390 static const int TEXTURE15 = 0x84CF; |
| 4391 |
| 4392 @DomName('WebGL2RenderingContext.TEXTURE16') |
| 4393 @DocsEditable() |
| 4394 @Experimental() // untriaged |
| 4395 static const int TEXTURE16 = 0x84D0; |
| 4396 |
| 4397 @DomName('WebGL2RenderingContext.TEXTURE17') |
| 4398 @DocsEditable() |
| 4399 @Experimental() // untriaged |
| 4400 static const int TEXTURE17 = 0x84D1; |
| 4401 |
| 4402 @DomName('WebGL2RenderingContext.TEXTURE18') |
| 4403 @DocsEditable() |
| 4404 @Experimental() // untriaged |
| 4405 static const int TEXTURE18 = 0x84D2; |
| 4406 |
| 4407 @DomName('WebGL2RenderingContext.TEXTURE19') |
| 4408 @DocsEditable() |
| 4409 @Experimental() // untriaged |
| 4410 static const int TEXTURE19 = 0x84D3; |
| 4411 |
| 4412 @DomName('WebGL2RenderingContext.TEXTURE2') |
| 4413 @DocsEditable() |
| 4414 @Experimental() // untriaged |
| 4415 static const int TEXTURE2 = 0x84C2; |
| 4416 |
| 4417 @DomName('WebGL2RenderingContext.TEXTURE20') |
| 4418 @DocsEditable() |
| 4419 @Experimental() // untriaged |
| 4420 static const int TEXTURE20 = 0x84D4; |
| 4421 |
| 4422 @DomName('WebGL2RenderingContext.TEXTURE21') |
| 4423 @DocsEditable() |
| 4424 @Experimental() // untriaged |
| 4425 static const int TEXTURE21 = 0x84D5; |
| 4426 |
| 4427 @DomName('WebGL2RenderingContext.TEXTURE22') |
| 4428 @DocsEditable() |
| 4429 @Experimental() // untriaged |
| 4430 static const int TEXTURE22 = 0x84D6; |
| 4431 |
| 4432 @DomName('WebGL2RenderingContext.TEXTURE23') |
| 4433 @DocsEditable() |
| 4434 @Experimental() // untriaged |
| 4435 static const int TEXTURE23 = 0x84D7; |
| 4436 |
| 4437 @DomName('WebGL2RenderingContext.TEXTURE24') |
| 4438 @DocsEditable() |
| 4439 @Experimental() // untriaged |
| 4440 static const int TEXTURE24 = 0x84D8; |
| 4441 |
| 4442 @DomName('WebGL2RenderingContext.TEXTURE25') |
| 4443 @DocsEditable() |
| 4444 @Experimental() // untriaged |
| 4445 static const int TEXTURE25 = 0x84D9; |
| 4446 |
| 4447 @DomName('WebGL2RenderingContext.TEXTURE26') |
| 4448 @DocsEditable() |
| 4449 @Experimental() // untriaged |
| 4450 static const int TEXTURE26 = 0x84DA; |
| 4451 |
| 4452 @DomName('WebGL2RenderingContext.TEXTURE27') |
| 4453 @DocsEditable() |
| 4454 @Experimental() // untriaged |
| 4455 static const int TEXTURE27 = 0x84DB; |
| 4456 |
| 4457 @DomName('WebGL2RenderingContext.TEXTURE28') |
| 4458 @DocsEditable() |
| 4459 @Experimental() // untriaged |
| 4460 static const int TEXTURE28 = 0x84DC; |
| 4461 |
| 4462 @DomName('WebGL2RenderingContext.TEXTURE29') |
| 4463 @DocsEditable() |
| 4464 @Experimental() // untriaged |
| 4465 static const int TEXTURE29 = 0x84DD; |
| 4466 |
| 4467 @DomName('WebGL2RenderingContext.TEXTURE3') |
| 4468 @DocsEditable() |
| 4469 @Experimental() // untriaged |
| 4470 static const int TEXTURE3 = 0x84C3; |
| 4471 |
| 4472 @DomName('WebGL2RenderingContext.TEXTURE30') |
| 4473 @DocsEditable() |
| 4474 @Experimental() // untriaged |
| 4475 static const int TEXTURE30 = 0x84DE; |
| 4476 |
| 4477 @DomName('WebGL2RenderingContext.TEXTURE31') |
| 4478 @DocsEditable() |
| 4479 @Experimental() // untriaged |
| 4480 static const int TEXTURE31 = 0x84DF; |
| 4481 |
| 4482 @DomName('WebGL2RenderingContext.TEXTURE4') |
| 4483 @DocsEditable() |
| 4484 @Experimental() // untriaged |
| 4485 static const int TEXTURE4 = 0x84C4; |
| 4486 |
| 4487 @DomName('WebGL2RenderingContext.TEXTURE5') |
| 4488 @DocsEditable() |
| 4489 @Experimental() // untriaged |
| 4490 static const int TEXTURE5 = 0x84C5; |
| 4491 |
| 4492 @DomName('WebGL2RenderingContext.TEXTURE6') |
| 4493 @DocsEditable() |
| 4494 @Experimental() // untriaged |
| 4495 static const int TEXTURE6 = 0x84C6; |
| 4496 |
| 4497 @DomName('WebGL2RenderingContext.TEXTURE7') |
| 4498 @DocsEditable() |
| 4499 @Experimental() // untriaged |
| 4500 static const int TEXTURE7 = 0x84C7; |
| 4501 |
| 4502 @DomName('WebGL2RenderingContext.TEXTURE8') |
| 4503 @DocsEditable() |
| 4504 @Experimental() // untriaged |
| 4505 static const int TEXTURE8 = 0x84C8; |
| 4506 |
| 4507 @DomName('WebGL2RenderingContext.TEXTURE9') |
| 4508 @DocsEditable() |
| 4509 @Experimental() // untriaged |
| 4510 static const int TEXTURE9 = 0x84C9; |
| 4511 |
| 4512 @DomName('WebGL2RenderingContext.TEXTURE_2D') |
| 4513 @DocsEditable() |
| 4514 @Experimental() // untriaged |
| 4515 static const int TEXTURE_2D = 0x0DE1; |
| 4516 |
| 4517 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_2D') |
| 4518 @DocsEditable() |
| 4519 @Experimental() // untriaged |
| 4520 static const int TEXTURE_BINDING_2D = 0x8069; |
| 4521 |
| 4522 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP') |
| 4523 @DocsEditable() |
| 4524 @Experimental() // untriaged |
| 4525 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; |
| 4526 |
| 4527 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP') |
| 4528 @DocsEditable() |
| 4529 @Experimental() // untriaged |
| 4530 static const int TEXTURE_CUBE_MAP = 0x8513; |
| 4531 |
| 4532 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') |
| 4533 @DocsEditable() |
| 4534 @Experimental() // untriaged |
| 4535 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; |
| 4536 |
| 4537 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') |
| 4538 @DocsEditable() |
| 4539 @Experimental() // untriaged |
| 4540 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; |
| 4541 |
| 4542 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') |
| 4543 @DocsEditable() |
| 4544 @Experimental() // untriaged |
| 4545 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; |
| 4546 |
| 4547 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') |
| 4548 @DocsEditable() |
| 4549 @Experimental() // untriaged |
| 4550 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; |
| 4551 |
| 4552 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') |
| 4553 @DocsEditable() |
| 4554 @Experimental() // untriaged |
| 4555 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; |
| 4556 |
| 4557 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') |
| 4558 @DocsEditable() |
| 4559 @Experimental() // untriaged |
| 4560 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; |
| 4561 |
| 4562 @DomName('WebGL2RenderingContext.TEXTURE_MAG_FILTER') |
| 4563 @DocsEditable() |
| 4564 @Experimental() // untriaged |
| 4565 static const int TEXTURE_MAG_FILTER = 0x2800; |
| 4566 |
| 4567 @DomName('WebGL2RenderingContext.TEXTURE_MIN_FILTER') |
| 4568 @DocsEditable() |
| 4569 @Experimental() // untriaged |
| 4570 static const int TEXTURE_MIN_FILTER = 0x2801; |
| 4571 |
| 4572 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_S') |
| 4573 @DocsEditable() |
| 4574 @Experimental() // untriaged |
| 4575 static const int TEXTURE_WRAP_S = 0x2802; |
| 4576 |
| 4577 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_T') |
| 4578 @DocsEditable() |
| 4579 @Experimental() // untriaged |
| 4580 static const int TEXTURE_WRAP_T = 0x2803; |
| 4581 |
| 4582 @DomName('WebGL2RenderingContext.TRIANGLES') |
| 4583 @DocsEditable() |
| 4584 @Experimental() // untriaged |
| 4585 static const int TRIANGLES = 0x0004; |
| 4586 |
| 4587 @DomName('WebGL2RenderingContext.TRIANGLE_FAN') |
| 4588 @DocsEditable() |
| 4589 @Experimental() // untriaged |
| 4590 static const int TRIANGLE_FAN = 0x0006; |
| 4591 |
| 4592 @DomName('WebGL2RenderingContext.TRIANGLE_STRIP') |
| 4593 @DocsEditable() |
| 4594 @Experimental() // untriaged |
| 4595 static const int TRIANGLE_STRIP = 0x0005; |
| 4596 |
| 4597 @DomName('WebGL2RenderingContext.UNPACK_ALIGNMENT') |
| 4598 @DocsEditable() |
| 4599 @Experimental() // untriaged |
| 4600 static const int UNPACK_ALIGNMENT = 0x0CF5; |
| 4601 |
| 4602 @DomName('WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') |
| 4603 @DocsEditable() |
| 4604 @Experimental() // untriaged |
| 4605 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 4606 |
| 4607 @DomName('WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL') |
| 4608 @DocsEditable() |
| 4609 @Experimental() // untriaged |
| 4610 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 4611 |
| 4612 @DomName('WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') |
| 4613 @DocsEditable() |
| 4614 @Experimental() // untriaged |
| 4615 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 4616 |
| 4617 @DomName('WebGL2RenderingContext.UNSIGNED_BYTE') |
| 4618 @DocsEditable() |
| 4619 @Experimental() // untriaged |
| 4620 static const int UNSIGNED_BYTE = 0x1401; |
| 4621 |
| 4622 @DomName('WebGL2RenderingContext.UNSIGNED_INT') |
| 4623 @DocsEditable() |
| 4624 @Experimental() // untriaged |
| 4625 static const int UNSIGNED_INT = 0x1405; |
| 4626 |
| 4627 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT') |
| 4628 @DocsEditable() |
| 4629 @Experimental() // untriaged |
| 4630 static const int UNSIGNED_SHORT = 0x1403; |
| 4631 |
| 4632 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4') |
| 4633 @DocsEditable() |
| 4634 @Experimental() // untriaged |
| 4635 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; |
| 4636 |
| 4637 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1') |
| 4638 @DocsEditable() |
| 4639 @Experimental() // untriaged |
| 4640 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; |
| 4641 |
| 4642 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5') |
| 4643 @DocsEditable() |
| 4644 @Experimental() // untriaged |
| 4645 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; |
| 4646 |
| 4647 @DomName('WebGL2RenderingContext.VALIDATE_STATUS') |
| 4648 @DocsEditable() |
| 4649 @Experimental() // untriaged |
| 4650 static const int VALIDATE_STATUS = 0x8B83; |
| 4651 |
| 4652 @DomName('WebGL2RenderingContext.VENDOR') |
| 4653 @DocsEditable() |
| 4654 @Experimental() // untriaged |
| 4655 static const int VENDOR = 0x1F00; |
| 4656 |
| 4657 @DomName('WebGL2RenderingContext.VERSION') |
| 4658 @DocsEditable() |
| 4659 @Experimental() // untriaged |
| 4660 static const int VERSION = 0x1F02; |
| 4661 |
| 4662 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') |
| 4663 @DocsEditable() |
| 4664 @Experimental() // untriaged |
| 4665 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; |
| 4666 |
| 4667 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') |
| 4668 @DocsEditable() |
| 4669 @Experimental() // untriaged |
| 4670 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; |
| 4671 |
| 4672 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') |
| 4673 @DocsEditable() |
| 4674 @Experimental() // untriaged |
| 4675 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; |
| 4676 |
| 4677 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') |
| 4678 @DocsEditable() |
| 4679 @Experimental() // untriaged |
| 4680 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; |
| 4681 |
| 4682 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') |
| 4683 @DocsEditable() |
| 4684 @Experimental() // untriaged |
| 4685 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; |
| 4686 |
| 4687 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') |
| 4688 @DocsEditable() |
| 4689 @Experimental() // untriaged |
| 4690 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 4691 |
| 4692 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') |
| 4693 @DocsEditable() |
| 4694 @Experimental() // untriaged |
| 4695 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 4696 |
| 4697 @DomName('WebGL2RenderingContext.VERTEX_SHADER') |
| 4698 @DocsEditable() |
| 4699 @Experimental() // untriaged |
| 4700 static const int VERTEX_SHADER = 0x8B31; |
| 4701 |
| 4702 @DomName('WebGL2RenderingContext.VIEWPORT') |
| 4703 @DocsEditable() |
| 4704 @Experimental() // untriaged |
| 4705 static const int VIEWPORT = 0x0BA2; |
| 4706 |
| 4707 @DomName('WebGL2RenderingContext.ZERO') |
| 4708 @DocsEditable() |
| 4709 @Experimental() // untriaged |
| 4710 static const int ZERO = 0; |
| 4711 |
| 4712 @DomName('WebGL2RenderingContext.beginQuery') |
| 4713 @DocsEditable() |
| 4714 @Experimental() // untriaged |
| 4715 void beginQuery(int target, Query query) => _blink.BlinkWebGL2RenderingContext
.instance.beginQuery_Callback_2_(unwrap_jso(this), target, unwrap_jso(query)); |
| 4716 |
| 4717 @DomName('WebGL2RenderingContext.beginTransformFeedback') |
| 4718 @DocsEditable() |
| 4719 @Experimental() // untriaged |
| 4720 void beginTransformFeedback(int primitiveMode) => _blink.BlinkWebGL2RenderingC
ontext.instance.beginTransformFeedback_Callback_1_(unwrap_jso(this), primitiveMo
de); |
| 4721 |
| 4722 @DomName('WebGL2RenderingContext.bindBufferBase') |
| 4723 @DocsEditable() |
| 4724 @Experimental() // untriaged |
| 4725 void bindBufferBase(int target, int index, Buffer buffer) => _blink.BlinkWebGL
2RenderingContext.instance.bindBufferBase_Callback_3_(unwrap_jso(this), target,
index, unwrap_jso(buffer)); |
| 4726 |
| 4727 @DomName('WebGL2RenderingContext.bindBufferRange') |
| 4728 @DocsEditable() |
| 4729 @Experimental() // untriaged |
| 4730 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); |
| 4731 |
| 4732 @DomName('WebGL2RenderingContext.bindSampler') |
| 4733 @DocsEditable() |
| 4734 @Experimental() // untriaged |
| 4735 void bindSampler(int unit, Sampler sampler) => _blink.BlinkWebGL2RenderingCont
ext.instance.bindSampler_Callback_2_(unwrap_jso(this), unit, unwrap_jso(sampler)
); |
| 4736 |
| 4737 @DomName('WebGL2RenderingContext.bindTransformFeedback') |
| 4738 @DocsEditable() |
| 4739 @Experimental() // untriaged |
| 4740 void bindTransformFeedback(int target, TransformFeedback feedback) => _blink.B
linkWebGL2RenderingContext.instance.bindTransformFeedback_Callback_2_(unwrap_jso
(this), target, unwrap_jso(feedback)); |
| 4741 |
| 4742 @DomName('WebGL2RenderingContext.bindVertexArray') |
| 4743 @DocsEditable() |
| 4744 @Experimental() // untriaged |
| 4745 void bindVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Rende
ringContext.instance.bindVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(ve
rtexArray)); |
| 4746 |
| 4747 @DomName('WebGL2RenderingContext.blitFramebuffer') |
| 4748 @DocsEditable() |
| 4749 @Experimental() // untriaged |
| 4750 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); |
| 4751 |
| 4752 @DomName('WebGL2RenderingContext.clearBufferfi') |
| 4753 @DocsEditable() |
| 4754 @Experimental() // untriaged |
| 4755 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); |
| 4756 |
| 4757 @DomName('WebGL2RenderingContext.clearBufferfv') |
| 4758 @DocsEditable() |
| 4759 @Experimental() // untriaged |
| 4760 void clearBufferfv(int buffer, int drawbuffer, Float32List value) => _blink.Bl
inkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwrap_jso(this), b
uffer, drawbuffer, unwrap_jso(value)); |
| 4761 |
| 4762 @DomName('WebGL2RenderingContext.clearBufferiv') |
| 4763 @DocsEditable() |
| 4764 @Experimental() // untriaged |
| 4765 void clearBufferiv(int buffer, int drawbuffer, Int32List value) => _blink.Blin
kWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwrap_jso(this), buf
fer, drawbuffer, unwrap_jso(value)); |
| 4766 |
| 4767 @DomName('WebGL2RenderingContext.clearBufferuiv') |
| 4768 @DocsEditable() |
| 4769 @Experimental() // untriaged |
| 4770 void clearBufferuiv(int buffer, int drawbuffer, Uint32List value) => _blink.Bl
inkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unwrap_jso(this),
buffer, drawbuffer, unwrap_jso(value)); |
| 4771 |
| 4772 @DomName('WebGL2RenderingContext.clientWaitSync') |
| 4773 @DocsEditable() |
| 4774 @Experimental() // untriaged |
| 4775 int clientWaitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Ren
deringContext.instance.clientWaitSync_Callback_3_(unwrap_jso(this), unwrap_jso(s
ync), flags, timeout); |
| 4776 |
| 4777 @DomName('WebGL2RenderingContext.compressedTexImage3D') |
| 4778 @DocsEditable() |
| 4779 @Experimental() // untriaged |
| 4780 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)); |
| 4781 |
| 4782 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') |
| 4783 @DocsEditable() |
| 4784 @Experimental() // untriaged |
| 4785 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)); |
| 4786 |
| 4787 @DomName('WebGL2RenderingContext.copyBufferSubData') |
| 4788 @DocsEditable() |
| 4789 @Experimental() // untriaged |
| 4790 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); |
| 4791 |
| 4792 @DomName('WebGL2RenderingContext.copyTexSubImage3D') |
| 4793 @DocsEditable() |
| 4794 @Experimental() // untriaged |
| 4795 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); |
| 4796 |
| 4797 @DomName('WebGL2RenderingContext.createQuery') |
| 4798 @DocsEditable() |
| 4799 @Experimental() // untriaged |
| 4800 Query createQuery() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.cr
eateQuery_Callback_0_(unwrap_jso(this))); |
| 4801 |
| 4802 @DomName('WebGL2RenderingContext.createSampler') |
| 4803 @DocsEditable() |
| 4804 @Experimental() // untriaged |
| 4805 Sampler createSampler() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc
e.createSampler_Callback_0_(unwrap_jso(this))); |
| 4806 |
| 4807 @DomName('WebGL2RenderingContext.createTransformFeedback') |
| 4808 @DocsEditable() |
| 4809 @Experimental() // untriaged |
| 4810 TransformFeedback createTransformFeedback() => wrap_jso(_blink.BlinkWebGL2Rend
eringContext.instance.createTransformFeedback_Callback_0_(unwrap_jso(this))); |
| 4811 |
| 4812 @DomName('WebGL2RenderingContext.createVertexArray') |
| 4813 @DocsEditable() |
| 4814 @Experimental() // untriaged |
| 4815 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkWebGL2RenderingC
ontext.instance.createVertexArray_Callback_0_(unwrap_jso(this))); |
| 4816 |
| 4817 @DomName('WebGL2RenderingContext.deleteQuery') |
| 4818 @DocsEditable() |
| 4819 @Experimental() // untriaged |
| 4820 void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.d
eleteQuery_Callback_1_(unwrap_jso(this), unwrap_jso(query)); |
| 4821 |
| 4822 @DomName('WebGL2RenderingContext.deleteSampler') |
| 4823 @DocsEditable() |
| 4824 @Experimental() // untriaged |
| 4825 void deleteSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.inst
ance.deleteSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler)); |
| 4826 |
| 4827 @DomName('WebGL2RenderingContext.deleteSync') |
| 4828 @DocsEditable() |
| 4829 @Experimental() // untriaged |
| 4830 void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.dele
teSync_Callback_1_(unwrap_jso(this), unwrap_jso(sync)); |
| 4831 |
| 4832 @DomName('WebGL2RenderingContext.deleteTransformFeedback') |
| 4833 @DocsEditable() |
| 4834 @Experimental() // untriaged |
| 4835 void deleteTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2
RenderingContext.instance.deleteTransformFeedback_Callback_1_(unwrap_jso(this),
unwrap_jso(feedback)); |
| 4836 |
| 4837 @DomName('WebGL2RenderingContext.deleteVertexArray') |
| 4838 @DocsEditable() |
| 4839 @Experimental() // untriaged |
| 4840 void deleteVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Ren
deringContext.instance.deleteVertexArray_Callback_1_(unwrap_jso(this), unwrap_js
o(vertexArray)); |
| 4841 |
| 4842 @DomName('WebGL2RenderingContext.drawArraysInstanced') |
| 4843 @DocsEditable() |
| 4844 @Experimental() // untriaged |
| 4845 void drawArraysInstanced(int mode, int first, int count, int instanceCount) =>
_blink.BlinkWebGL2RenderingContext.instance.drawArraysInstanced_Callback_4_(unw
rap_jso(this), mode, first, count, instanceCount); |
| 4846 |
| 4847 @DomName('WebGL2RenderingContext.drawBuffers') |
| 4848 @DocsEditable() |
| 4849 @Experimental() // untriaged |
| 4850 void drawBuffers(List<int> buffers) => _blink.BlinkWebGL2RenderingContext.inst
ance.drawBuffers_Callback_1_(unwrap_jso(this), buffers); |
| 4851 |
| 4852 @DomName('WebGL2RenderingContext.drawElementsInstanced') |
| 4853 @DocsEditable() |
| 4854 @Experimental() // untriaged |
| 4855 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); |
| 4856 |
| 4857 @DomName('WebGL2RenderingContext.drawRangeElements') |
| 4858 @DocsEditable() |
| 4859 @Experimental() // untriaged |
| 4860 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); |
| 4861 |
| 4862 @DomName('WebGL2RenderingContext.endQuery') |
| 4863 @DocsEditable() |
| 4864 @Experimental() // untriaged |
| 4865 void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance.endQu
ery_Callback_1_(unwrap_jso(this), target); |
| 4866 |
| 4867 @DomName('WebGL2RenderingContext.endTransformFeedback') |
| 4868 @DocsEditable() |
| 4869 @Experimental() // untriaged |
| 4870 void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.end
TransformFeedback_Callback_0_(unwrap_jso(this)); |
| 4871 |
| 4872 @DomName('WebGL2RenderingContext.fenceSync') |
| 4873 @DocsEditable() |
| 4874 @Experimental() // untriaged |
| 4875 Sync fenceSync(int condition, int flags) => wrap_jso(_blink.BlinkWebGL2Renderi
ngContext.instance.fenceSync_Callback_2_(unwrap_jso(this), condition, flags)); |
| 4876 |
| 4877 @DomName('WebGL2RenderingContext.framebufferTextureLayer') |
| 4878 @DocsEditable() |
| 4879 @Experimental() // untriaged |
| 4880 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); |
| 4881 |
| 4882 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') |
| 4883 @DocsEditable() |
| 4884 @Experimental() // untriaged |
| 4885 String getActiveUniformBlockName(Program program, int uniformBlockIndex) => _b
link.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockName_Callback_2_(
unwrap_jso(this), unwrap_jso(program), uniformBlockIndex); |
| 4886 |
| 4887 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') |
| 4888 @DocsEditable() |
| 4889 @Experimental() // untriaged |
| 4890 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)); |
| 4891 |
| 4892 @DomName('WebGL2RenderingContext.getBufferSubData') |
| 4893 @DocsEditable() |
| 4894 @Experimental() // untriaged |
| 4895 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => _bli
nk.BlinkWebGL2RenderingContext.instance.getBufferSubData_Callback_3_(unwrap_jso(
this), target, offset, unwrap_jso(returnedData)); |
| 4896 |
| 4897 @DomName('WebGL2RenderingContext.getFragDataLocation') |
| 4898 @DocsEditable() |
| 4899 @Experimental() // untriaged |
| 4900 int getFragDataLocation(Program program, String name) => _blink.BlinkWebGL2Ren
deringContext.instance.getFragDataLocation_Callback_2_(unwrap_jso(this), unwrap_
jso(program), name); |
| 4901 |
| 4902 @DomName('WebGL2RenderingContext.getIndexedParameter') |
| 4903 @DocsEditable() |
| 4904 @Experimental() // untriaged |
| 4905 Object getIndexedParameter(int target, int index) => wrap_jso(_blink.BlinkWebG
L2RenderingContext.instance.getIndexedParameter_Callback_2_(unwrap_jso(this), ta
rget, index)); |
| 4906 |
| 4907 @DomName('WebGL2RenderingContext.getInternalformatParameter') |
| 4908 @DocsEditable() |
| 4909 @Experimental() // untriaged |
| 4910 Object getInternalformatParameter(int target, int internalformat, int pname) =
> wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getInternalformatParamete
r_Callback_3_(unwrap_jso(this), target, internalformat, pname)); |
| 4911 |
| 4912 @DomName('WebGL2RenderingContext.getQuery') |
| 4913 @DocsEditable() |
| 4914 @Experimental() // untriaged |
| 4915 Query getQuery(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingC
ontext.instance.getQuery_Callback_2_(unwrap_jso(this), target, pname)); |
| 4916 |
| 4917 @DomName('WebGL2RenderingContext.getQueryParameter') |
| 4918 @DocsEditable() |
| 4919 @Experimental() // untriaged |
| 4920 Object getQueryParameter(Query query, int pname) => wrap_jso(_blink.BlinkWebGL
2RenderingContext.instance.getQueryParameter_Callback_2_(unwrap_jso(this), unwra
p_jso(query), pname)); |
| 4921 |
| 4922 @DomName('WebGL2RenderingContext.getSamplerParameter') |
| 4923 @DocsEditable() |
| 4924 @Experimental() // untriaged |
| 4925 Object getSamplerParameter(Sampler sampler, int pname) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getSamplerParameter_Callback_2_(unwrap_jso(this
), unwrap_jso(sampler), pname)); |
| 4926 |
| 4927 @DomName('WebGL2RenderingContext.getSyncParameter') |
| 4928 @DocsEditable() |
| 4929 @Experimental() // untriaged |
| 4930 Object getSyncParameter(Sync sync, int pname) => wrap_jso(_blink.BlinkWebGL2Re
nderingContext.instance.getSyncParameter_Callback_2_(unwrap_jso(this), unwrap_js
o(sync), pname)); |
| 4931 |
| 4932 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') |
| 4933 @DocsEditable() |
| 4934 @Experimental() // untriaged |
| 4935 ActiveInfo getTransformFeedbackVarying(Program program, int index) => wrap_jso
(_blink.BlinkWebGL2RenderingContext.instance.getTransformFeedbackVarying_Callbac
k_2_(unwrap_jso(this), unwrap_jso(program), index)); |
| 4936 |
| 4937 @DomName('WebGL2RenderingContext.getUniformBlockIndex') |
| 4938 @DocsEditable() |
| 4939 @Experimental() // untriaged |
| 4940 int getUniformBlockIndex(Program program, String uniformBlockName) => _blink.B
linkWebGL2RenderingContext.instance.getUniformBlockIndex_Callback_2_(unwrap_jso(
this), unwrap_jso(program), uniformBlockName); |
| 4941 |
| 4942 @DomName('WebGL2RenderingContext.invalidateFramebuffer') |
| 4943 @DocsEditable() |
| 4944 @Experimental() // untriaged |
| 4945 void invalidateFramebuffer(int target, List<int> attachments) => _blink.BlinkW
ebGL2RenderingContext.instance.invalidateFramebuffer_Callback_2_(unwrap_jso(this
), target, attachments); |
| 4946 |
| 4947 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') |
| 4948 @DocsEditable() |
| 4949 @Experimental() // untriaged |
| 4950 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); |
| 4951 |
| 4952 @DomName('WebGL2RenderingContext.isQuery') |
| 4953 @DocsEditable() |
| 4954 @Experimental() // untriaged |
| 4955 bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.isQue
ry_Callback_1_(unwrap_jso(this), unwrap_jso(query)); |
| 4956 |
| 4957 @DomName('WebGL2RenderingContext.isSampler') |
| 4958 @DocsEditable() |
| 4959 @Experimental() // untriaged |
| 4960 bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance
.isSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler)); |
| 4961 |
| 4962 @DomName('WebGL2RenderingContext.isSync') |
| 4963 @DocsEditable() |
| 4964 @Experimental() // untriaged |
| 4965 bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.isSync_C
allback_1_(unwrap_jso(this), unwrap_jso(sync)); |
| 4966 |
| 4967 @DomName('WebGL2RenderingContext.isTransformFeedback') |
| 4968 @DocsEditable() |
| 4969 @Experimental() // untriaged |
| 4970 bool isTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2Rend
eringContext.instance.isTransformFeedback_Callback_1_(unwrap_jso(this), unwrap_j
so(feedback)); |
| 4971 |
| 4972 @DomName('WebGL2RenderingContext.isVertexArray') |
| 4973 @DocsEditable() |
| 4974 @Experimental() // untriaged |
| 4975 bool isVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Renderi
ngContext.instance.isVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(vertex
Array)); |
| 4976 |
| 4977 @DomName('WebGL2RenderingContext.pauseTransformFeedback') |
| 4978 @DocsEditable() |
| 4979 @Experimental() // untriaged |
| 4980 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.p
auseTransformFeedback_Callback_0_(unwrap_jso(this)); |
| 4981 |
| 4982 @DomName('WebGL2RenderingContext.readBuffer') |
| 4983 @DocsEditable() |
| 4984 @Experimental() // untriaged |
| 4985 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance.readB
uffer_Callback_1_(unwrap_jso(this), mode); |
| 4986 |
| 4987 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') |
| 4988 @DocsEditable() |
| 4989 @Experimental() // untriaged |
| 4990 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); |
| 4991 |
| 4992 @DomName('WebGL2RenderingContext.resumeTransformFeedback') |
| 4993 @DocsEditable() |
| 4994 @Experimental() // untriaged |
| 4995 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.
resumeTransformFeedback_Callback_0_(unwrap_jso(this)); |
| 4996 |
| 4997 @DomName('WebGL2RenderingContext.samplerParameterf') |
| 4998 @DocsEditable() |
| 4999 @Experimental() // untriaged |
| 5000 void samplerParameterf(Sampler sampler, int pname, num param) => _blink.BlinkW
ebGL2RenderingContext.instance.samplerParameterf_Callback_3_(unwrap_jso(this), u
nwrap_jso(sampler), pname, param); |
| 5001 |
| 5002 @DomName('WebGL2RenderingContext.samplerParameteri') |
| 5003 @DocsEditable() |
| 5004 @Experimental() // untriaged |
| 5005 void samplerParameteri(Sampler sampler, int pname, int param) => _blink.BlinkW
ebGL2RenderingContext.instance.samplerParameteri_Callback_3_(unwrap_jso(this), u
nwrap_jso(sampler), pname, param); |
| 5006 |
| 5007 @DomName('WebGL2RenderingContext.texImage3D') |
| 5008 @DocsEditable() |
| 5009 @Experimental() // untriaged |
| 5010 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)); |
| 5011 |
| 5012 @DomName('WebGL2RenderingContext.texStorage2D') |
| 5013 @DocsEditable() |
| 5014 @Experimental() // untriaged |
| 5015 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); |
| 5016 |
| 5017 @DomName('WebGL2RenderingContext.texStorage3D') |
| 5018 @DocsEditable() |
| 5019 @Experimental() // untriaged |
| 5020 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
); |
| 5021 |
| 5022 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]) { |
| 5023 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)) { |
| 5024 _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)); |
| 5025 return; |
| 5026 } |
| 5027 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) { |
| 5028 _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)); |
| 5029 return; |
| 5030 } |
| 5031 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) { |
| 5032 _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)); |
| 5033 return; |
| 5034 } |
| 5035 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) { |
| 5036 _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)); |
| 5037 return; |
| 5038 } |
| 5039 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) { |
| 5040 _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)); |
| 5041 return; |
| 5042 } |
| 5043 throw new ArgumentError("Incorrect number or type of arguments"); |
| 5044 } |
| 5045 |
| 5046 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
| 5047 @DocsEditable() |
| 5048 @Experimental() // untriaged |
| 5049 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); |
| 5050 |
| 5051 @DomName('WebGL2RenderingContext.uniform1ui') |
| 5052 @DocsEditable() |
| 5053 @Experimental() // untriaged |
| 5054 void uniform1ui(UniformLocation location, int v0) => _blink.BlinkWebGL2Renderi
ngContext.instance.uniform1ui_Callback_2_(unwrap_jso(this), unwrap_jso(location)
, v0); |
| 5055 |
| 5056 @DomName('WebGL2RenderingContext.uniform2ui') |
| 5057 @DocsEditable() |
| 5058 @Experimental() // untriaged |
| 5059 void uniform2ui(UniformLocation location, int v0, int v1) => _blink.BlinkWebGL
2RenderingContext.instance.uniform2ui_Callback_3_(unwrap_jso(this), unwrap_jso(l
ocation), v0, v1); |
| 5060 |
| 5061 @DomName('WebGL2RenderingContext.uniform3ui') |
| 5062 @DocsEditable() |
| 5063 @Experimental() // untriaged |
| 5064 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); |
| 5065 |
| 5066 @DomName('WebGL2RenderingContext.uniform4ui') |
| 5067 @DocsEditable() |
| 5068 @Experimental() // untriaged |
| 5069 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); |
| 5070 |
| 5071 @DomName('WebGL2RenderingContext.uniformBlockBinding') |
| 5072 @DocsEditable() |
| 5073 @Experimental() // untriaged |
| 5074 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); |
| 5075 |
| 5076 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') |
| 5077 @DocsEditable() |
| 5078 @Experimental() // untriaged |
| 5079 void uniformMatrix2x3fv(UniformLocation location, bool transpose, Float32List
value) => _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callbac
k_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); |
| 5080 |
| 5081 @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') |
| 5082 @DocsEditable() |
| 5083 @Experimental() // untriaged |
| 5084 void uniformMatrix2x4fv(UniformLocation location, bool transpose, Float32List
value) => _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callbac
k_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); |
| 5085 |
| 5086 @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') |
| 5087 @DocsEditable() |
| 5088 @Experimental() // untriaged |
| 5089 void uniformMatrix3x2fv(UniformLocation location, bool transpose, Float32List
value) => _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callbac
k_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); |
| 5090 |
| 5091 @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') |
| 5092 @DocsEditable() |
| 5093 @Experimental() // untriaged |
| 5094 void uniformMatrix3x4fv(UniformLocation location, bool transpose, Float32List
value) => _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callbac
k_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); |
| 5095 |
| 5096 @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') |
| 5097 @DocsEditable() |
| 5098 @Experimental() // untriaged |
| 5099 void uniformMatrix4x2fv(UniformLocation location, bool transpose, Float32List
value) => _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callbac
k_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); |
| 5100 |
| 5101 @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') |
| 5102 @DocsEditable() |
| 5103 @Experimental() // untriaged |
| 5104 void uniformMatrix4x3fv(UniformLocation location, bool transpose, Float32List
value) => _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callbac
k_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); |
| 5105 |
| 5106 @DomName('WebGL2RenderingContext.vertexAttribDivisor') |
| 5107 @DocsEditable() |
| 5108 @Experimental() // untriaged |
| 5109 void vertexAttribDivisor(int index, int divisor) => _blink.BlinkWebGL2Renderin
gContext.instance.vertexAttribDivisor_Callback_2_(unwrap_jso(this), index, divis
or); |
| 5110 |
| 5111 @DomName('WebGL2RenderingContext.vertexAttribI4i') |
| 5112 @DocsEditable() |
| 5113 @Experimental() // untriaged |
| 5114 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); |
| 5115 |
| 5116 @DomName('WebGL2RenderingContext.vertexAttribI4ui') |
| 5117 @DocsEditable() |
| 5118 @Experimental() // untriaged |
| 5119 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); |
| 5120 |
| 5121 @DomName('WebGL2RenderingContext.vertexAttribIPointer') |
| 5122 @DocsEditable() |
| 5123 @Experimental() // untriaged |
| 5124 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); |
| 5125 |
| 5126 @DomName('WebGL2RenderingContext.waitSync') |
| 5127 @DocsEditable() |
| 5128 @Experimental() // untriaged |
| 5129 void waitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Renderin
gContext.instance.waitSync_Callback_3_(unwrap_jso(this), unwrap_jso(sync), flags
, timeout); |
| 5130 |
| 5131 @DomName('WebGL2RenderingContext.canvas') |
| 5132 @DocsEditable() |
| 5133 @Experimental() // untriaged |
| 5134 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGL2RenderingContext.instan
ce.canvas_Getter_(unwrap_jso(this))); |
| 5135 |
| 5136 @DomName('WebGL2RenderingContext.activeTexture') |
| 5137 @DocsEditable() |
| 5138 @Experimental() // untriaged |
| 5139 void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance
.activeTexture_Callback_1_(unwrap_jso(this), texture); |
| 5140 |
| 5141 @DomName('WebGL2RenderingContext.attachShader') |
| 5142 @DocsEditable() |
| 5143 @Experimental() // untriaged |
| 5144 void attachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi
ngContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program
), unwrap_jso(shader)); |
| 5145 |
| 5146 @DomName('WebGL2RenderingContext.bindBuffer') |
| 5147 @DocsEditable() |
| 5148 @Experimental() // untriaged |
| 5149 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGL2RenderingConte
xt.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer))
; |
| 5150 |
| 5151 @DomName('WebGL2RenderingContext.bindFramebuffer') |
| 5152 @DocsEditable() |
| 5153 @Experimental() // untriaged |
| 5154 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
2RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target,
unwrap_jso(framebuffer)); |
| 5155 |
| 5156 @DomName('WebGL2RenderingContext.bindRenderbuffer') |
| 5157 @DocsEditable() |
| 5158 @Experimental() // untriaged |
| 5159 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGL2RenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), tar
get, unwrap_jso(renderbuffer)); |
| 5160 |
| 5161 @DomName('WebGL2RenderingContext.bindTexture') |
| 5162 @DocsEditable() |
| 5163 @Experimental() // untriaged |
| 5164 void bindTexture(int target, Texture texture) => _blink.BlinkWebGL2RenderingCo
ntext.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(text
ure)); |
| 5165 |
| 5166 @DomName('WebGL2RenderingContext.blendEquation') |
| 5167 @DocsEditable() |
| 5168 @Experimental() // untriaged |
| 5169 void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance.bl
endEquation_Callback_1_(unwrap_jso(this), mode); |
| 5170 |
| 5171 @DomName('WebGL2RenderingContext.blendEquationSeparate') |
| 5172 @DocsEditable() |
| 5173 @Experimental() // untriaged |
| 5174 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGL2Re
nderingContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), mode
RGB, modeAlpha); |
| 5175 |
| 5176 @DomName('WebGL2RenderingContext.blendFunc') |
| 5177 @DocsEditable() |
| 5178 @Experimental() // untriaged |
| 5179 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGL2RenderingContext
.instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); |
| 5180 |
| 5181 @DomName('WebGL2RenderingContext.blendFuncSeparate') |
| 5182 @DocsEditable() |
| 5183 @Experimental() // untriaged |
| 5184 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap
_jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); |
| 5185 |
| 5186 void bufferData(int target, data, int usage) { |
| 5187 if ((usage is int) && (data is TypedData) && (target is int)) { |
| 5188 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_
jso(this), target, unwrap_jso(data), usage); |
| 5189 return; |
| 5190 } |
| 5191 if ((usage is int) && (data is ByteBuffer || data == null) && (target is int
)) { |
| 5192 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_
jso(this), target, unwrap_jso(data), usage); |
| 5193 return; |
| 5194 } |
| 5195 throw new ArgumentError("Incorrect number or type of arguments"); |
| 5196 } |
| 5197 |
| 5198 @DomName('WebGL2RenderingContext.checkFramebufferStatus') |
| 5199 @DocsEditable() |
| 5200 @Experimental() // untriaged |
| 5201 int checkFramebufferStatus(int target) => _blink.BlinkWebGL2RenderingContext.i
nstance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); |
| 5202 |
| 5203 @DomName('WebGL2RenderingContext.compileShader') |
| 5204 @DocsEditable() |
| 5205 @Experimental() // untriaged |
| 5206 void compileShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instan
ce.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 5207 |
| 5208 @DomName('WebGL2RenderingContext.createBuffer') |
| 5209 @DocsEditable() |
| 5210 @Experimental() // untriaged |
| 5211 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.
createBuffer_Callback_0_(unwrap_jso(this))); |
| 5212 |
| 5213 @DomName('WebGL2RenderingContext.createFramebuffer') |
| 5214 @DocsEditable() |
| 5215 @Experimental() // untriaged |
| 5216 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext
.instance.createFramebuffer_Callback_0_(unwrap_jso(this))); |
| 5217 |
| 5218 @DomName('WebGL2RenderingContext.createProgram') |
| 5219 @DocsEditable() |
| 5220 @Experimental() // untriaged |
| 5221 Program createProgram() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc
e.createProgram_Callback_0_(unwrap_jso(this))); |
| 5222 |
| 5223 @DomName('WebGL2RenderingContext.createRenderbuffer') |
| 5224 @DocsEditable() |
| 5225 @Experimental() // untriaged |
| 5226 Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGL2RenderingConte
xt.instance.createRenderbuffer_Callback_0_(unwrap_jso(this))); |
| 5227 |
| 5228 @DomName('WebGL2RenderingContext.createShader') |
| 5229 @DocsEditable() |
| 5230 @Experimental() // untriaged |
| 5231 Shader createShader(int type) => wrap_jso(_blink.BlinkWebGL2RenderingContext.i
nstance.createShader_Callback_1_(unwrap_jso(this), type)); |
| 5232 |
| 5233 @DomName('WebGL2RenderingContext.createTexture') |
| 5234 @DocsEditable() |
| 5235 @Experimental() // untriaged |
| 5236 Texture createTexture() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc
e.createTexture_Callback_0_(unwrap_jso(this))); |
| 5237 |
| 5238 @DomName('WebGL2RenderingContext.cullFace') |
| 5239 @DocsEditable() |
| 5240 @Experimental() // untriaged |
| 5241 void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.cullFac
e_Callback_1_(unwrap_jso(this), mode); |
| 5242 |
| 5243 @DomName('WebGL2RenderingContext.deleteBuffer') |
| 5244 @DocsEditable() |
| 5245 @Experimental() // untriaged |
| 5246 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instanc
e.deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); |
| 5247 |
| 5248 @DomName('WebGL2RenderingContext.deleteFramebuffer') |
| 5249 @DocsEditable() |
| 5250 @Experimental() // untriaged |
| 5251 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2Rendering
Context.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(fram
ebuffer)); |
| 5252 |
| 5253 @DomName('WebGL2RenderingContext.deleteProgram') |
| 5254 @DocsEditable() |
| 5255 @Experimental() // untriaged |
| 5256 void deleteProgram(Program program) => _blink.BlinkWebGL2RenderingContext.inst
ance.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 5257 |
| 5258 @DomName('WebGL2RenderingContext.deleteRenderbuffer') |
| 5259 @DocsEditable() |
| 5260 @Experimental() // untriaged |
| 5261 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2Render
ingContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(
renderbuffer)); |
| 5262 |
| 5263 @DomName('WebGL2RenderingContext.deleteShader') |
| 5264 @DocsEditable() |
| 5265 @Experimental() // untriaged |
| 5266 void deleteShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instanc
e.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 5267 |
| 5268 @DomName('WebGL2RenderingContext.deleteTexture') |
| 5269 @DocsEditable() |
| 5270 @Experimental() // untriaged |
| 5271 void deleteTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.inst
ance.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); |
| 5272 |
| 5273 @DomName('WebGL2RenderingContext.depthFunc') |
| 5274 @DocsEditable() |
| 5275 @Experimental() // untriaged |
| 5276 void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance.depthF
unc_Callback_1_(unwrap_jso(this), func); |
| 5277 |
| 5278 @DomName('WebGL2RenderingContext.detachShader') |
| 5279 @DocsEditable() |
| 5280 @Experimental() // untriaged |
| 5281 void detachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi
ngContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program
), unwrap_jso(shader)); |
| 5282 |
| 5283 @DomName('WebGL2RenderingContext.disable') |
| 5284 @DocsEditable() |
| 5285 @Experimental() // untriaged |
| 5286 void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.disable_C
allback_1_(unwrap_jso(this), cap); |
| 5287 |
| 5288 @DomName('WebGL2RenderingContext.enable') |
| 5289 @DocsEditable() |
| 5290 @Experimental() // untriaged |
| 5291 void enable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.enable_Cal
lback_1_(unwrap_jso(this), cap); |
| 5292 |
| 5293 @DomName('WebGL2RenderingContext.finish') |
| 5294 @DocsEditable() |
| 5295 @Experimental() // untriaged |
| 5296 void finish() => _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0
_(unwrap_jso(this)); |
| 5297 |
| 5298 @DomName('WebGL2RenderingContext.flush') |
| 5299 @DocsEditable() |
| 5300 @Experimental() // untriaged |
| 5301 void flush() => _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_(
unwrap_jso(this)); |
| 5302 |
| 5303 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') |
| 5304 @DocsEditable() |
| 5305 @Experimental() // untriaged |
| 5306 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)); |
| 5307 |
| 5308 @DomName('WebGL2RenderingContext.frontFace') |
| 5309 @DocsEditable() |
| 5310 @Experimental() // untriaged |
| 5311 void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.frontF
ace_Callback_1_(unwrap_jso(this), mode); |
| 5312 |
| 5313 @DomName('WebGL2RenderingContext.generateMipmap') |
| 5314 @DocsEditable() |
| 5315 @Experimental() // untriaged |
| 5316 void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance
.generateMipmap_Callback_1_(unwrap_jso(this), target); |
| 5317 |
| 5318 @DomName('WebGL2RenderingContext.getAttachedShaders') |
| 5319 @DocsEditable() |
| 5320 @Experimental() // untriaged |
| 5321 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL
2RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwr
ap_jso(program))); |
| 5322 |
| 5323 @DomName('WebGL2RenderingContext.getBufferParameter') |
| 5324 @DocsEditable() |
| 5325 @Experimental() // untriaged |
| 5326 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL
2RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targ
et, pname)); |
| 5327 |
| 5328 @DomName('WebGL2RenderingContext.getContextAttributes') |
| 5329 @DocsEditable() |
| 5330 @Experimental() // untriaged |
| 5331 getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_b
link.BlinkWebGL2RenderingContext.instance.getContextAttributes_Callback_0_(unwra
p_jso(this)))); |
| 5332 |
| 5333 @DomName('WebGL2RenderingContext.getError') |
| 5334 @DocsEditable() |
| 5335 @Experimental() // untriaged |
| 5336 int getError() => _blink.BlinkWebGL2RenderingContext.instance.getError_Callbac
k_0_(unwrap_jso(this)); |
| 5337 |
| 5338 @DomName('WebGL2RenderingContext.getExtension') |
| 5339 @DocsEditable() |
| 5340 @Experimental() // untriaged |
| 5341 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGL2RenderingContex
t.instance.getExtension_Callback_1_(unwrap_jso(this), name)); |
| 5342 |
| 5343 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') |
| 5344 @DocsEditable() |
| 5345 @Experimental() // untriaged |
| 5346 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getFramebufferAttachme
ntParameter_Callback_3_(unwrap_jso(this), target, attachment, pname)); |
| 5347 |
| 5348 @DomName('WebGL2RenderingContext.getParameter') |
| 5349 @DocsEditable() |
| 5350 @Experimental() // untriaged |
| 5351 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.
instance.getParameter_Callback_1_(unwrap_jso(this), pname)); |
| 5352 |
| 5353 @DomName('WebGL2RenderingContext.getProgramInfoLog') |
| 5354 @DocsEditable() |
| 5355 @Experimental() // untriaged |
| 5356 String getProgramInfoLog(Program program) => _blink.BlinkWebGL2RenderingContex
t.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 5357 |
| 5358 @DomName('WebGL2RenderingContext.getProgramParameter') |
| 5359 @DocsEditable() |
| 5360 @Experimental() // untriaged |
| 5361 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this
), unwrap_jso(program), pname)); |
| 5362 |
| 5363 @DomName('WebGL2RenderingContext.getRenderbufferParameter') |
| 5364 @DocsEditable() |
| 5365 @Experimental() // untriaged |
| 5366 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin
kWebGL2RenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso
(this), target, pname)); |
| 5367 |
| 5368 @DomName('WebGL2RenderingContext.getShaderInfoLog') |
| 5369 @DocsEditable() |
| 5370 @Experimental() // untriaged |
| 5371 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGL2RenderingContext.i
nstance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 5372 |
| 5373 @DomName('WebGL2RenderingContext.getShaderParameter') |
| 5374 @DocsEditable() |
| 5375 @Experimental() // untriaged |
| 5376 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe
bGL2RenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), u
nwrap_jso(shader), pname)); |
| 5377 |
| 5378 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') |
| 5379 @DocsEditable() |
| 5380 @Experimental() // untriaged |
| 5381 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getShaderPrecisionFo
rmat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); |
| 5382 |
| 5383 @DomName('WebGL2RenderingContext.getShaderSource') |
| 5384 @DocsEditable() |
| 5385 @Experimental() // untriaged |
| 5386 String getShaderSource(Shader shader) => _blink.BlinkWebGL2RenderingContext.in
stance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); |
| 5387 |
| 5388 @DomName('WebGL2RenderingContext.getSupportedExtensions') |
| 5389 @DocsEditable() |
| 5390 @Experimental() // untriaged |
| 5391 List<String> getSupportedExtensions() => _blink.BlinkWebGL2RenderingContext.in
stance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); |
| 5392 |
| 5393 @DomName('WebGL2RenderingContext.getTexParameter') |
| 5394 @DocsEditable() |
| 5395 @Experimental() // untriaged |
| 5396 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL2Re
nderingContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pn
ame)); |
| 5397 |
| 5398 @DomName('WebGL2RenderingContext.getUniform') |
| 5399 @DocsEditable() |
| 5400 @Experimental() // untriaged |
| 5401 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin
k.BlinkWebGL2RenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this),
unwrap_jso(program), unwrap_jso(location))); |
| 5402 |
| 5403 @DomName('WebGL2RenderingContext.getUniformLocation') |
| 5404 @DocsEditable() |
| 5405 @Experimental() // untriaged |
| 5406 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_
blink.BlinkWebGL2RenderingContext.instance.getUniformLocation_Callback_2_(unwrap
_jso(this), unwrap_jso(program), name)); |
| 5407 |
| 5408 @DomName('WebGL2RenderingContext.hint') |
| 5409 @DocsEditable() |
| 5410 @Experimental() // untriaged |
| 5411 void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance
.hint_Callback_2_(unwrap_jso(this), target, mode); |
| 5412 |
| 5413 @DomName('WebGL2RenderingContext.linkProgram') |
| 5414 @DocsEditable() |
| 5415 @Experimental() // untriaged |
| 5416 void linkProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instan
ce.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 5417 |
| 5418 @DomName('WebGL2RenderingContext.shaderSource') |
| 5419 @DocsEditable() |
| 5420 @Experimental() // untriaged |
| 5421 void shaderSource(Shader shader, String string) => _blink.BlinkWebGL2Rendering
Context.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader),
string); |
| 5422 |
| 5423 @DomName('WebGL2RenderingContext.stencilOp') |
| 5424 @DocsEditable() |
| 5425 @Experimental() // untriaged |
| 5426 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingC
ontext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass); |
| 5427 |
| 5428 @DomName('WebGL2RenderingContext.stencilOpSeparate') |
| 5429 @DocsEditable() |
| 5430 @Experimental() // untriaged |
| 5431 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGL2RenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this)
, face, fail, zfail, zpass); |
| 5432 |
| 5433 @DomName('WebGL2RenderingContext.uniform1fv') |
| 5434 @DocsEditable() |
| 5435 @Experimental() // untriaged |
| 5436 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGL2
RenderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(lo
cation), unwrap_jso(v)); |
| 5437 |
| 5438 @DomName('WebGL2RenderingContext.uniform1iv') |
| 5439 @DocsEditable() |
| 5440 @Experimental() // untriaged |
| 5441 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGL2Re
nderingContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(loca
tion), unwrap_jso(v)); |
| 5442 |
| 5443 @DomName('WebGL2RenderingContext.uniform2fv') |
| 5444 @DocsEditable() |
| 5445 @Experimental() // untriaged |
| 5446 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGL2
RenderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(lo
cation), unwrap_jso(v)); |
| 5447 |
| 5448 @DomName('WebGL2RenderingContext.uniform2iv') |
| 5449 @DocsEditable() |
| 5450 @Experimental() // untriaged |
| 5451 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGL2Re
nderingContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(loca
tion), unwrap_jso(v)); |
| 5452 |
| 5453 @DomName('WebGL2RenderingContext.uniform3fv') |
| 5454 @DocsEditable() |
| 5455 @Experimental() // untriaged |
| 5456 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGL2
RenderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(lo
cation), unwrap_jso(v)); |
| 5457 |
| 5458 @DomName('WebGL2RenderingContext.uniform3iv') |
| 5459 @DocsEditable() |
| 5460 @Experimental() // untriaged |
| 5461 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGL2Re
nderingContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(loca
tion), unwrap_jso(v)); |
| 5462 |
| 5463 @DomName('WebGL2RenderingContext.uniform4fv') |
| 5464 @DocsEditable() |
| 5465 @Experimental() // untriaged |
| 5466 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGL2
RenderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(lo
cation), unwrap_jso(v)); |
| 5467 |
| 5468 @DomName('WebGL2RenderingContext.uniform4iv') |
| 5469 @DocsEditable() |
| 5470 @Experimental() // untriaged |
| 5471 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGL2Re
nderingContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(loca
tion), unwrap_jso(v)); |
| 5472 |
| 5473 @DomName('WebGL2RenderingContext.useProgram') |
| 5474 @DocsEditable() |
| 5475 @Experimental() // untriaged |
| 5476 void useProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instanc
e.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 5477 |
| 5478 @DomName('WebGL2RenderingContext.validateProgram') |
| 5479 @DocsEditable() |
| 5480 @Experimental() // untriaged |
| 5481 void validateProgram(Program program) => _blink.BlinkWebGL2RenderingContext.in
stance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); |
| 5482 |
| 5483 } |
| 5484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5485 // for details. All rights reserved. Use of this source code is governed by a |
| 5486 // BSD-style license that can be found in the LICENSE file. |
| 5487 |
| 5488 // WARNING: Do not edit - generated code. |
| 5489 |
| 5490 |
| 5491 @DocsEditable() |
| 5492 @DomName('WebGLSampler') |
| 5493 @Experimental() // untriaged |
| 5494 class Sampler extends DartHtmlDomObject { |
| 5495 // To suppress missing implicit constructor warnings. |
| 5496 factory Sampler._() { throw new UnsupportedError("Not supported"); } |
| 5497 |
| 5498 @Deprecated("Internal Use Only") |
| 5499 static Sampler internalCreateSampler() { |
| 5500 return new Sampler._internalWrap(); |
| 5501 } |
| 5502 |
| 5503 factory Sampler._internalWrap() { |
| 5504 return new Sampler.internal_(); |
| 5505 } |
| 5506 |
| 5507 @Deprecated("Internal Use Only") |
| 5508 Sampler.internal_() { } |
| 5509 |
| 5510 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 5511 int get hashCode => unwrap_jso(this).hashCode; |
| 5512 |
| 5513 } |
| 5514 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5515 // for details. All rights reserved. Use of this source code is governed by a |
| 3582 // BSD-style license that can be found in the LICENSE file. | 5516 // BSD-style license that can be found in the LICENSE file. |
| 3583 | 5517 |
| 3584 // WARNING: Do not edit - generated code. | 5518 // WARNING: Do not edit - generated code. |
| 3585 | 5519 |
| 3586 | 5520 |
| 3587 @DocsEditable() | 5521 @DocsEditable() |
| 3588 @DomName('WebGLShader') | 5522 @DomName('WebGLShader') |
| 3589 class Shader extends DartHtmlDomObject { | 5523 class Shader extends DartHtmlDomObject { |
| 3590 // To suppress missing implicit constructor warnings. | 5524 // To suppress missing implicit constructor warnings. |
| 3591 factory Shader._() { throw new UnsupportedError("Not supported"); } | 5525 factory Shader._() { throw new UnsupportedError("Not supported"); } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3648 | 5582 |
| 3649 } | 5583 } |
| 3650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3651 // for details. All rights reserved. Use of this source code is governed by a | 5585 // for details. All rights reserved. Use of this source code is governed by a |
| 3652 // BSD-style license that can be found in the LICENSE file. | 5586 // BSD-style license that can be found in the LICENSE file. |
| 3653 | 5587 |
| 3654 // WARNING: Do not edit - generated code. | 5588 // WARNING: Do not edit - generated code. |
| 3655 | 5589 |
| 3656 | 5590 |
| 3657 @DocsEditable() | 5591 @DocsEditable() |
| 5592 @DomName('WebGLSync') |
| 5593 @Experimental() // untriaged |
| 5594 class Sync extends DartHtmlDomObject { |
| 5595 // To suppress missing implicit constructor warnings. |
| 5596 factory Sync._() { throw new UnsupportedError("Not supported"); } |
| 5597 |
| 5598 @Deprecated("Internal Use Only") |
| 5599 static Sync internalCreateSync() { |
| 5600 return new Sync._internalWrap(); |
| 5601 } |
| 5602 |
| 5603 factory Sync._internalWrap() { |
| 5604 return new Sync.internal_(); |
| 5605 } |
| 5606 |
| 5607 @Deprecated("Internal Use Only") |
| 5608 Sync.internal_() { } |
| 5609 |
| 5610 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 5611 int get hashCode => unwrap_jso(this).hashCode; |
| 5612 |
| 5613 } |
| 5614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5615 // for details. All rights reserved. Use of this source code is governed by a |
| 5616 // BSD-style license that can be found in the LICENSE file. |
| 5617 |
| 5618 // WARNING: Do not edit - generated code. |
| 5619 |
| 5620 |
| 5621 @DocsEditable() |
| 3658 @DomName('WebGLTexture') | 5622 @DomName('WebGLTexture') |
| 3659 class Texture extends DartHtmlDomObject { | 5623 class Texture extends DartHtmlDomObject { |
| 3660 // To suppress missing implicit constructor warnings. | 5624 // To suppress missing implicit constructor warnings. |
| 3661 factory Texture._() { throw new UnsupportedError("Not supported"); } | 5625 factory Texture._() { throw new UnsupportedError("Not supported"); } |
| 3662 | 5626 |
| 3663 @Deprecated("Internal Use Only") | 5627 @Deprecated("Internal Use Only") |
| 3664 static Texture internalCreateTexture() { | 5628 static Texture internalCreateTexture() { |
| 3665 return new Texture._internalWrap(); | 5629 return new Texture._internalWrap(); |
| 3666 } | 5630 } |
| 3667 | 5631 |
| 3668 factory Texture._internalWrap() { | 5632 factory Texture._internalWrap() { |
| 3669 return new Texture.internal_(); | 5633 return new Texture.internal_(); |
| 3670 } | 5634 } |
| 3671 | 5635 |
| 3672 @Deprecated("Internal Use Only") | 5636 @Deprecated("Internal Use Only") |
| 3673 Texture.internal_() { } | 5637 Texture.internal_() { } |
| 3674 | 5638 |
| 3675 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 5639 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3676 int get hashCode => unwrap_jso(this).hashCode; | 5640 int get hashCode => unwrap_jso(this).hashCode; |
| 3677 | 5641 |
| 3678 } | 5642 } |
| 3679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3680 // for details. All rights reserved. Use of this source code is governed by a | 5644 // for details. All rights reserved. Use of this source code is governed by a |
| 3681 // BSD-style license that can be found in the LICENSE file. | 5645 // BSD-style license that can be found in the LICENSE file. |
| 3682 | 5646 |
| 3683 // WARNING: Do not edit - generated code. | 5647 // WARNING: Do not edit - generated code. |
| 3684 | 5648 |
| 3685 | 5649 |
| 3686 @DocsEditable() | 5650 @DocsEditable() |
| 5651 @DomName('WebGLTransformFeedback') |
| 5652 @Experimental() // untriaged |
| 5653 class TransformFeedback extends DartHtmlDomObject { |
| 5654 // To suppress missing implicit constructor warnings. |
| 5655 factory TransformFeedback._() { throw new UnsupportedError("Not supported"); } |
| 5656 |
| 5657 @Deprecated("Internal Use Only") |
| 5658 static TransformFeedback internalCreateTransformFeedback() { |
| 5659 return new TransformFeedback._internalWrap(); |
| 5660 } |
| 5661 |
| 5662 factory TransformFeedback._internalWrap() { |
| 5663 return new TransformFeedback.internal_(); |
| 5664 } |
| 5665 |
| 5666 @Deprecated("Internal Use Only") |
| 5667 TransformFeedback.internal_() { } |
| 5668 |
| 5669 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 5670 int get hashCode => unwrap_jso(this).hashCode; |
| 5671 |
| 5672 } |
| 5673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5674 // for details. All rights reserved. Use of this source code is governed by a |
| 5675 // BSD-style license that can be found in the LICENSE file. |
| 5676 |
| 5677 // WARNING: Do not edit - generated code. |
| 5678 |
| 5679 |
| 5680 @DocsEditable() |
| 3687 @DomName('WebGLUniformLocation') | 5681 @DomName('WebGLUniformLocation') |
| 3688 class UniformLocation extends DartHtmlDomObject { | 5682 class UniformLocation extends DartHtmlDomObject { |
| 3689 // To suppress missing implicit constructor warnings. | 5683 // To suppress missing implicit constructor warnings. |
| 3690 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } | 5684 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } |
| 3691 | 5685 |
| 3692 @Deprecated("Internal Use Only") | 5686 @Deprecated("Internal Use Only") |
| 3693 static UniformLocation internalCreateUniformLocation() { | 5687 static UniformLocation internalCreateUniformLocation() { |
| 3694 return new UniformLocation._internalWrap(); | 5688 return new UniformLocation._internalWrap(); |
| 3695 } | 5689 } |
| 3696 | 5690 |
| 3697 factory UniformLocation._internalWrap() { | 5691 factory UniformLocation._internalWrap() { |
| 3698 return new UniformLocation.internal_(); | 5692 return new UniformLocation.internal_(); |
| 3699 } | 5693 } |
| 3700 | 5694 |
| 3701 @Deprecated("Internal Use Only") | 5695 @Deprecated("Internal Use Only") |
| 3702 UniformLocation.internal_() { } | 5696 UniformLocation.internal_() { } |
| 3703 | 5697 |
| 3704 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 5698 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3705 int get hashCode => unwrap_jso(this).hashCode; | 5699 int get hashCode => unwrap_jso(this).hashCode; |
| 3706 | 5700 |
| 3707 } | 5701 } |
| 3708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3709 // for details. All rights reserved. Use of this source code is governed by a | 5703 // for details. All rights reserved. Use of this source code is governed by a |
| 3710 // BSD-style license that can be found in the LICENSE file. | 5704 // BSD-style license that can be found in the LICENSE file. |
| 3711 | 5705 |
| 3712 // WARNING: Do not edit - generated code. | 5706 // WARNING: Do not edit - generated code. |
| 3713 | 5707 |
| 3714 | 5708 |
| 3715 @DocsEditable() | 5709 @DocsEditable() |
| 3716 @DomName('WebGLVertexArrayObjectOES') | 5710 @DomName('WebGLVertexArrayObject') |
| 3717 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 5711 @Experimental() // untriaged |
| 3718 @Experimental() // experimental | |
| 3719 class VertexArrayObject extends DartHtmlDomObject { | 5712 class VertexArrayObject extends DartHtmlDomObject { |
| 3720 // To suppress missing implicit constructor warnings. | 5713 // To suppress missing implicit constructor warnings. |
| 3721 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 5714 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 3722 | 5715 |
| 3723 @Deprecated("Internal Use Only") | 5716 @Deprecated("Internal Use Only") |
| 3724 static VertexArrayObject internalCreateVertexArrayObject() { | 5717 static VertexArrayObject internalCreateVertexArrayObject() { |
| 3725 return new VertexArrayObject._internalWrap(); | 5718 return new VertexArrayObject._internalWrap(); |
| 3726 } | 5719 } |
| 3727 | 5720 |
| 3728 factory VertexArrayObject._internalWrap() { | 5721 factory VertexArrayObject._internalWrap() { |
| 3729 return new VertexArrayObject.internal_(); | 5722 return new VertexArrayObject.internal_(); |
| 3730 } | 5723 } |
| 3731 | 5724 |
| 3732 @Deprecated("Internal Use Only") | 5725 @Deprecated("Internal Use Only") |
| 3733 VertexArrayObject.internal_() { } | 5726 VertexArrayObject.internal_() { } |
| 3734 | 5727 |
| 3735 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 5728 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3736 int get hashCode => unwrap_jso(this).hashCode; | 5729 int get hashCode => unwrap_jso(this).hashCode; |
| 3737 | 5730 |
| 3738 } | 5731 } |
| 3739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3740 // for details. All rights reserved. Use of this source code is governed by a | 5733 // for details. All rights reserved. Use of this source code is governed by a |
| 3741 // BSD-style license that can be found in the LICENSE file. | 5734 // BSD-style license that can be found in the LICENSE file. |
| 3742 | 5735 |
| 3743 // WARNING: Do not edit - generated code. | 5736 // WARNING: Do not edit - generated code. |
| 3744 | 5737 |
| 3745 | 5738 |
| 3746 @DocsEditable() | 5739 @DocsEditable() |
| 5740 @DomName('WebGLVertexArrayObjectOES') |
| 5741 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 5742 @Experimental() // experimental |
| 5743 class VertexArrayObjectOes extends DartHtmlDomObject { |
| 5744 // To suppress missing implicit constructor warnings. |
| 5745 factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported")
; } |
| 5746 |
| 5747 @Deprecated("Internal Use Only") |
| 5748 static VertexArrayObjectOes internalCreateVertexArrayObjectOes() { |
| 5749 return new VertexArrayObjectOes._internalWrap(); |
| 5750 } |
| 5751 |
| 5752 factory VertexArrayObjectOes._internalWrap() { |
| 5753 return new VertexArrayObjectOes.internal_(); |
| 5754 } |
| 5755 |
| 5756 @Deprecated("Internal Use Only") |
| 5757 VertexArrayObjectOes.internal_() { } |
| 5758 |
| 5759 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 5760 int get hashCode => unwrap_jso(this).hashCode; |
| 5761 |
| 5762 } |
| 5763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5764 // for details. All rights reserved. Use of this source code is governed by a |
| 5765 // BSD-style license that can be found in the LICENSE file. |
| 5766 |
| 5767 // WARNING: Do not edit - generated code. |
| 5768 |
| 5769 |
| 5770 @DocsEditable() |
| 5771 @DomName('WebGL2RenderingContextBase') |
| 5772 @Experimental() // untriaged |
| 5773 class _WebGL2RenderingContextBase extends DartHtmlDomObject implements _WebGLRen
deringContextBase { |
| 5774 // To suppress missing implicit constructor warnings. |
| 5775 factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supp
orted"); } |
| 5776 |
| 5777 @Deprecated("Internal Use Only") |
| 5778 static _WebGL2RenderingContextBase internalCreate_WebGL2RenderingContextBase()
{ |
| 5779 return new _WebGL2RenderingContextBase._internalWrap(); |
| 5780 } |
| 5781 |
| 5782 factory _WebGL2RenderingContextBase._internalWrap() { |
| 5783 return new _WebGL2RenderingContextBase.internal_(); |
| 5784 } |
| 5785 |
| 5786 @Deprecated("Internal Use Only") |
| 5787 _WebGL2RenderingContextBase.internal_() { } |
| 5788 |
| 5789 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 5790 int get hashCode => unwrap_jso(this).hashCode; |
| 5791 |
| 5792 } |
| 5793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5794 // for details. All rights reserved. Use of this source code is governed by a |
| 5795 // BSD-style license that can be found in the LICENSE file. |
| 5796 |
| 5797 // WARNING: Do not edit - generated code. |
| 5798 |
| 5799 |
| 5800 @DocsEditable() |
| 3747 @DomName('WebGLRenderingContextBase') | 5801 @DomName('WebGLRenderingContextBase') |
| 3748 @Experimental() // untriaged | 5802 @Experimental() // untriaged |
| 3749 class _WebGLRenderingContextBase extends DartHtmlDomObject { | 5803 class _WebGLRenderingContextBase extends DartHtmlDomObject { |
| 3750 // To suppress missing implicit constructor warnings. | 5804 // To suppress missing implicit constructor warnings. |
| 3751 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 5805 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
| 3752 | 5806 |
| 3753 } | 5807 } |
| OLD | NEW |