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