OLD | NEW |
| (Empty) |
1 /** | |
2 * 3D programming in the browser. | |
3 */ | |
4 library dart.dom.web_gl; | |
5 | |
6 import 'dart:async'; | |
7 import 'dart:collection' hide LinkedList, LinkedListEntry; | |
8 import 'dart:_internal'; | |
9 import 'dart:html'; | |
10 import 'dart:html_common'; | |
11 import 'dart:nativewrappers'; | |
12 import 'dart:typed_data'; | |
13 import 'dart:_blink' as _blink; | |
14 import 'dart:js' as js; | |
15 // DO NOT EDIT | |
16 // Auto-generated dart:web_gl library. | |
17 | |
18 // FIXME: Can we make this private? | |
19 @Deprecated("Internal Use Only") | |
20 final web_glBlinkMap = { | |
21 'ANGLEInstancedArrays': () => AngleInstancedArrays.instanceRuntimeType, | |
22 'CHROMIUMSubscribeUniform': () => | |
23 ChromiumSubscribeUniform.instanceRuntimeType, | |
24 'EXTBlendMinMax': () => ExtBlendMinMax.instanceRuntimeType, | |
25 'EXTColorBufferFloat': () => ExtColorBufferFloat.instanceRuntimeType, | |
26 'EXTDisjointTimerQuery': () => ExtDisjointTimerQuery.instanceRuntimeType, | |
27 'EXTFragDepth': () => ExtFragDepth.instanceRuntimeType, | |
28 'EXTShaderTextureLOD': () => ExtShaderTextureLod.instanceRuntimeType, | |
29 'EXTTextureFilterAnisotropic': () => | |
30 ExtTextureFilterAnisotropic.instanceRuntimeType, | |
31 'EXTsRGB': () => EXTsRgb.instanceRuntimeType, | |
32 'OESElementIndexUint': () => OesElementIndexUint.instanceRuntimeType, | |
33 'OESStandardDerivatives': () => OesStandardDerivatives.instanceRuntimeType, | |
34 'OESTextureFloat': () => OesTextureFloat.instanceRuntimeType, | |
35 'OESTextureFloatLinear': () => OesTextureFloatLinear.instanceRuntimeType, | |
36 'OESTextureHalfFloat': () => OesTextureHalfFloat.instanceRuntimeType, | |
37 'OESTextureHalfFloatLinear': () => | |
38 OesTextureHalfFloatLinear.instanceRuntimeType, | |
39 'OESVertexArrayObject': () => OesVertexArrayObject.instanceRuntimeType, | |
40 'WebGL2RenderingContext': () => RenderingContext2.instanceRuntimeType, | |
41 'WebGL2RenderingContextBase': () => | |
42 _WebGL2RenderingContextBase.instanceRuntimeType, | |
43 'WebGLActiveInfo': () => ActiveInfo.instanceRuntimeType, | |
44 'WebGLBuffer': () => Buffer.instanceRuntimeType, | |
45 'WebGLCompressedTextureASTC': () => CompressedTextureAstc.instanceRuntimeType, | |
46 'WebGLCompressedTextureATC': () => CompressedTextureAtc.instanceRuntimeType, | |
47 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.instanceRuntimeType, | |
48 'WebGLCompressedTexturePVRTC': () => | |
49 CompressedTexturePvrtc.instanceRuntimeType, | |
50 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.instanceRuntimeType, | |
51 'WebGLContextEvent': () => ContextEvent.instanceRuntimeType, | |
52 'WebGLDebugRendererInfo': () => DebugRendererInfo.instanceRuntimeType, | |
53 'WebGLDebugShaders': () => DebugShaders.instanceRuntimeType, | |
54 'WebGLDepthTexture': () => DepthTexture.instanceRuntimeType, | |
55 'WebGLDrawBuffers': () => DrawBuffers.instanceRuntimeType, | |
56 'WebGLFramebuffer': () => Framebuffer.instanceRuntimeType, | |
57 'WebGLLoseContext': () => LoseContext.instanceRuntimeType, | |
58 'WebGLProgram': () => Program.instanceRuntimeType, | |
59 'WebGLQuery': () => Query.instanceRuntimeType, | |
60 'WebGLRenderbuffer': () => Renderbuffer.instanceRuntimeType, | |
61 'WebGLRenderingContext': () => RenderingContext.instanceRuntimeType, | |
62 'WebGLRenderingContextBase': () => | |
63 _WebGLRenderingContextBase.instanceRuntimeType, | |
64 'WebGLSampler': () => Sampler.instanceRuntimeType, | |
65 'WebGLShader': () => Shader.instanceRuntimeType, | |
66 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.instanceRuntimeType, | |
67 'WebGLSync': () => Sync.instanceRuntimeType, | |
68 'WebGLTexture': () => Texture.instanceRuntimeType, | |
69 'WebGLTimerQueryEXT': () => TimerQueryExt.instanceRuntimeType, | |
70 'WebGLTransformFeedback': () => TransformFeedback.instanceRuntimeType, | |
71 'WebGLUniformLocation': () => UniformLocation.instanceRuntimeType, | |
72 'WebGLVertexArrayObject': () => VertexArrayObject.instanceRuntimeType, | |
73 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.instanceRuntimeType, | |
74 }; | |
75 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
76 // for details. All rights reserved. Use of this source code is governed by a | |
77 // BSD-style license that can be found in the LICENSE file. | |
78 | |
79 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | |
80 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | |
81 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | |
82 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; | |
83 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; | |
84 const int ALPHA = RenderingContext.ALPHA; | |
85 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; | |
86 const int ALWAYS = RenderingContext.ALWAYS; | |
87 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; | |
88 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; | |
89 const int ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; | |
90 const int BACK = RenderingContext.BACK; | |
91 const int BLEND = RenderingContext.BLEND; | |
92 const int BLEND_COLOR = RenderingContext.BLEND_COLOR; | |
93 const int BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; | |
94 const int BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; | |
95 const int BLEND_EQUATION = RenderingContext.BLEND_EQUATION; | |
96 const int BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; | |
97 const int BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; | |
98 const int BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; | |
99 const int BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; | |
100 const int BLUE_BITS = RenderingContext.BLUE_BITS; | |
101 const int BOOL = RenderingContext.BOOL; | |
102 const int BOOL_VEC2 = RenderingContext.BOOL_VEC2; | |
103 const int BOOL_VEC3 = RenderingContext.BOOL_VEC3; | |
104 const int BOOL_VEC4 = RenderingContext.BOOL_VEC4; | |
105 const int BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; | |
106 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; | |
107 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; | |
108 const int BYTE = RenderingContext.BYTE; | |
109 const int CCW = RenderingContext.CCW; | |
110 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; | |
111 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; | |
112 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; | |
113 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; | |
114 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; | |
115 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; | |
116 const int COMPRESSED_TEXTURE_FORMATS = | |
117 RenderingContext.COMPRESSED_TEXTURE_FORMATS; | |
118 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; | |
119 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; | |
120 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; | |
121 const int CULL_FACE = RenderingContext.CULL_FACE; | |
122 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; | |
123 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; | |
124 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; | |
125 const int CW = RenderingContext.CW; | |
126 const int DECR = RenderingContext.DECR; | |
127 const int DECR_WRAP = RenderingContext.DECR_WRAP; | |
128 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; | |
129 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; | |
130 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; | |
131 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; | |
132 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; | |
133 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; | |
134 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; | |
135 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; | |
136 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; | |
137 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; | |
138 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; | |
139 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; | |
140 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; | |
141 const int DITHER = RenderingContext.DITHER; | |
142 const int DONT_CARE = RenderingContext.DONT_CARE; | |
143 const int DST_ALPHA = RenderingContext.DST_ALPHA; | |
144 const int DST_COLOR = RenderingContext.DST_COLOR; | |
145 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; | |
146 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; | |
147 const int ELEMENT_ARRAY_BUFFER_BINDING = | |
148 RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING; | |
149 const int EQUAL = RenderingContext.EQUAL; | |
150 const int FASTEST = RenderingContext.FASTEST; | |
151 const int FLOAT = RenderingContext.FLOAT; | |
152 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; | |
153 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; | |
154 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; | |
155 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; | |
156 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; | |
157 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; | |
158 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; | |
159 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; | |
160 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = | |
161 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; | |
162 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = | |
163 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; | |
164 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = | |
165 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; | |
166 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = | |
167 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; | |
168 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; | |
169 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; | |
170 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = | |
171 RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT; | |
172 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = | |
173 RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS; | |
174 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = | |
175 RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; | |
176 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; | |
177 const int FRONT = RenderingContext.FRONT; | |
178 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; | |
179 const int FRONT_FACE = RenderingContext.FRONT_FACE; | |
180 const int FUNC_ADD = RenderingContext.FUNC_ADD; | |
181 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; | |
182 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; | |
183 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; | |
184 const int GEQUAL = RenderingContext.GEQUAL; | |
185 const int GREATER = RenderingContext.GREATER; | |
186 const int GREEN_BITS = RenderingContext.GREEN_BITS; | |
187 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; | |
188 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; | |
189 const int HIGH_INT = RenderingContext.HIGH_INT; | |
190 const int INCR = RenderingContext.INCR; | |
191 const int INCR_WRAP = RenderingContext.INCR_WRAP; | |
192 const int INT = RenderingContext.INT; | |
193 const int INT_VEC2 = RenderingContext.INT_VEC2; | |
194 const int INT_VEC3 = RenderingContext.INT_VEC3; | |
195 const int INT_VEC4 = RenderingContext.INT_VEC4; | |
196 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; | |
197 const int INVALID_FRAMEBUFFER_OPERATION = | |
198 RenderingContext.INVALID_FRAMEBUFFER_OPERATION; | |
199 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; | |
200 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; | |
201 const int INVERT = RenderingContext.INVERT; | |
202 const int KEEP = RenderingContext.KEEP; | |
203 const int LEQUAL = RenderingContext.LEQUAL; | |
204 const int LESS = RenderingContext.LESS; | |
205 const int LINEAR = RenderingContext.LINEAR; | |
206 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; | |
207 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; | |
208 const int LINES = RenderingContext.LINES; | |
209 const int LINE_LOOP = RenderingContext.LINE_LOOP; | |
210 const int LINE_STRIP = RenderingContext.LINE_STRIP; | |
211 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; | |
212 const int LINK_STATUS = RenderingContext.LINK_STATUS; | |
213 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; | |
214 const int LOW_INT = RenderingContext.LOW_INT; | |
215 const int LUMINANCE = RenderingContext.LUMINANCE; | |
216 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; | |
217 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = | |
218 RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS; | |
219 const int MAX_CUBE_MAP_TEXTURE_SIZE = | |
220 RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE; | |
221 const int MAX_FRAGMENT_UNIFORM_VECTORS = | |
222 RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS; | |
223 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; | |
224 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; | |
225 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; | |
226 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; | |
227 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; | |
228 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = | |
229 RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS; | |
230 const int MAX_VERTEX_UNIFORM_VECTORS = | |
231 RenderingContext.MAX_VERTEX_UNIFORM_VECTORS; | |
232 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; | |
233 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; | |
234 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; | |
235 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; | |
236 const int NEAREST = RenderingContext.NEAREST; | |
237 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; | |
238 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; | |
239 const int NEVER = RenderingContext.NEVER; | |
240 const int NICEST = RenderingContext.NICEST; | |
241 const int NONE = RenderingContext.NONE; | |
242 const int NOTEQUAL = RenderingContext.NOTEQUAL; | |
243 const int NO_ERROR = RenderingContext.NO_ERROR; | |
244 const int ONE = RenderingContext.ONE; | |
245 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; | |
246 const int ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; | |
247 const int ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; | |
248 const int ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; | |
249 const int ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; | |
250 const int ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; | |
251 const int OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; | |
252 const int PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; | |
253 const int POINTS = RenderingContext.POINTS; | |
254 const int POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; | |
255 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; | |
256 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; | |
257 const int RED_BITS = RenderingContext.RED_BITS; | |
258 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; | |
259 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; | |
260 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; | |
261 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; | |
262 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; | |
263 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; | |
264 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; | |
265 const int RENDERBUFFER_INTERNAL_FORMAT = | |
266 RenderingContext.RENDERBUFFER_INTERNAL_FORMAT; | |
267 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; | |
268 const int RENDERBUFFER_STENCIL_SIZE = | |
269 RenderingContext.RENDERBUFFER_STENCIL_SIZE; | |
270 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; | |
271 const int RENDERER = RenderingContext.RENDERER; | |
272 const int REPEAT = RenderingContext.REPEAT; | |
273 const int REPLACE = RenderingContext.REPLACE; | |
274 const int RGB = RenderingContext.RGB; | |
275 const int RGB565 = RenderingContext.RGB565; | |
276 const int RGB5_A1 = RenderingContext.RGB5_A1; | |
277 const int RGBA = RenderingContext.RGBA; | |
278 const int RGBA4 = RenderingContext.RGBA4; | |
279 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; | |
280 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; | |
281 const int SAMPLES = RenderingContext.SAMPLES; | |
282 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; | |
283 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; | |
284 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; | |
285 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; | |
286 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; | |
287 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; | |
288 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; | |
289 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; | |
290 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; | |
291 const int SHORT = RenderingContext.SHORT; | |
292 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; | |
293 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; | |
294 const int SRC_COLOR = RenderingContext.SRC_COLOR; | |
295 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; | |
296 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; | |
297 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; | |
298 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; | |
299 const int STENCIL_BACK_PASS_DEPTH_FAIL = | |
300 RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL; | |
301 const int STENCIL_BACK_PASS_DEPTH_PASS = | |
302 RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS; | |
303 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; | |
304 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; | |
305 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; | |
306 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; | |
307 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; | |
308 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; | |
309 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; | |
310 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; | |
311 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; | |
312 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; | |
313 const int STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; | |
314 const int STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; | |
315 const int STENCIL_REF = RenderingContext.STENCIL_REF; | |
316 const int STENCIL_TEST = RenderingContext.STENCIL_TEST; | |
317 const int STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; | |
318 const int STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; | |
319 const int STREAM_DRAW = RenderingContext.STREAM_DRAW; | |
320 const int SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; | |
321 const int TEXTURE = RenderingContext.TEXTURE; | |
322 const int TEXTURE0 = RenderingContext.TEXTURE0; | |
323 const int TEXTURE1 = RenderingContext.TEXTURE1; | |
324 const int TEXTURE10 = RenderingContext.TEXTURE10; | |
325 const int TEXTURE11 = RenderingContext.TEXTURE11; | |
326 const int TEXTURE12 = RenderingContext.TEXTURE12; | |
327 const int TEXTURE13 = RenderingContext.TEXTURE13; | |
328 const int TEXTURE14 = RenderingContext.TEXTURE14; | |
329 const int TEXTURE15 = RenderingContext.TEXTURE15; | |
330 const int TEXTURE16 = RenderingContext.TEXTURE16; | |
331 const int TEXTURE17 = RenderingContext.TEXTURE17; | |
332 const int TEXTURE18 = RenderingContext.TEXTURE18; | |
333 const int TEXTURE19 = RenderingContext.TEXTURE19; | |
334 const int TEXTURE2 = RenderingContext.TEXTURE2; | |
335 const int TEXTURE20 = RenderingContext.TEXTURE20; | |
336 const int TEXTURE21 = RenderingContext.TEXTURE21; | |
337 const int TEXTURE22 = RenderingContext.TEXTURE22; | |
338 const int TEXTURE23 = RenderingContext.TEXTURE23; | |
339 const int TEXTURE24 = RenderingContext.TEXTURE24; | |
340 const int TEXTURE25 = RenderingContext.TEXTURE25; | |
341 const int TEXTURE26 = RenderingContext.TEXTURE26; | |
342 const int TEXTURE27 = RenderingContext.TEXTURE27; | |
343 const int TEXTURE28 = RenderingContext.TEXTURE28; | |
344 const int TEXTURE29 = RenderingContext.TEXTURE29; | |
345 const int TEXTURE3 = RenderingContext.TEXTURE3; | |
346 const int TEXTURE30 = RenderingContext.TEXTURE30; | |
347 const int TEXTURE31 = RenderingContext.TEXTURE31; | |
348 const int TEXTURE4 = RenderingContext.TEXTURE4; | |
349 const int TEXTURE5 = RenderingContext.TEXTURE5; | |
350 const int TEXTURE6 = RenderingContext.TEXTURE6; | |
351 const int TEXTURE7 = RenderingContext.TEXTURE7; | |
352 const int TEXTURE8 = RenderingContext.TEXTURE8; | |
353 const int TEXTURE9 = RenderingContext.TEXTURE9; | |
354 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; | |
355 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; | |
356 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; | |
357 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; | |
358 const int TEXTURE_CUBE_MAP_NEGATIVE_X = | |
359 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X; | |
360 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = | |
361 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y; | |
362 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = | |
363 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z; | |
364 const int TEXTURE_CUBE_MAP_POSITIVE_X = | |
365 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X; | |
366 const int TEXTURE_CUBE_MAP_POSITIVE_Y = | |
367 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y; | |
368 const int TEXTURE_CUBE_MAP_POSITIVE_Z = | |
369 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z; | |
370 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; | |
371 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; | |
372 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; | |
373 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; | |
374 const int TRIANGLES = RenderingContext.TRIANGLES; | |
375 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; | |
376 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; | |
377 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; | |
378 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = | |
379 RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL; | |
380 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; | |
381 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = | |
382 RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL; | |
383 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; | |
384 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; | |
385 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; | |
386 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; | |
387 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; | |
388 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; | |
389 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; | |
390 const int VENDOR = RenderingContext.VENDOR; | |
391 const int VERSION = RenderingContext.VERSION; | |
392 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = | |
393 RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; | |
394 const int VERTEX_ATTRIB_ARRAY_ENABLED = | |
395 RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED; | |
396 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = | |
397 RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED; | |
398 const int VERTEX_ATTRIB_ARRAY_POINTER = | |
399 RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER; | |
400 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; | |
401 const int VERTEX_ATTRIB_ARRAY_STRIDE = | |
402 RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE; | |
403 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; | |
404 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; | |
405 const int VIEWPORT = RenderingContext.VIEWPORT; | |
406 const int ZERO = RenderingContext.ZERO; | |
407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
408 // for details. All rights reserved. Use of this source code is governed by a | |
409 // BSD-style license that can be found in the LICENSE file. | |
410 | |
411 // WARNING: Do not edit - generated code. | |
412 | |
413 @DocsEditable() | |
414 @DomName('WebGLActiveInfo') | |
415 @Unstable() | |
416 class ActiveInfo extends DartHtmlDomObject { | |
417 // To suppress missing implicit constructor warnings. | |
418 factory ActiveInfo._() { | |
419 throw new UnsupportedError("Not supported"); | |
420 } | |
421 | |
422 @Deprecated("Internal Use Only") | |
423 external static Type get instanceRuntimeType; | |
424 | |
425 @Deprecated("Internal Use Only") | |
426 ActiveInfo.internal_() {} | |
427 | |
428 @DomName('WebGLActiveInfo.name') | |
429 @DocsEditable() | |
430 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(this); | |
431 | |
432 @DomName('WebGLActiveInfo.size') | |
433 @DocsEditable() | |
434 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(this); | |
435 | |
436 @DomName('WebGLActiveInfo.type') | |
437 @DocsEditable() | |
438 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(this); | |
439 } | |
440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
441 // for details. All rights reserved. Use of this source code is governed by a | |
442 // BSD-style license that can be found in the LICENSE file. | |
443 | |
444 // WARNING: Do not edit - generated code. | |
445 | |
446 @DocsEditable() | |
447 @DomName('ANGLEInstancedArrays') | |
448 @Experimental() // untriaged | |
449 class AngleInstancedArrays extends DartHtmlDomObject { | |
450 // To suppress missing implicit constructor warnings. | |
451 factory AngleInstancedArrays._() { | |
452 throw new UnsupportedError("Not supported"); | |
453 } | |
454 | |
455 @Deprecated("Internal Use Only") | |
456 external static Type get instanceRuntimeType; | |
457 | |
458 @Deprecated("Internal Use Only") | |
459 AngleInstancedArrays.internal_() {} | |
460 | |
461 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | |
462 @DocsEditable() | |
463 @Experimental() // untriaged | |
464 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | |
465 | |
466 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | |
467 @DocsEditable() | |
468 @Experimental() // untriaged | |
469 void drawArraysInstancedAngle( | |
470 int mode, int first, int count, int primcount) => | |
471 _blink.BlinkANGLEInstancedArrays.instance | |
472 .drawArraysInstancedANGLE_Callback_4_( | |
473 this, mode, first, count, primcount); | |
474 | |
475 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') | |
476 @DocsEditable() | |
477 @Experimental() // untriaged | |
478 void drawElementsInstancedAngle( | |
479 int mode, int count, int type, int offset, int primcount) => | |
480 _blink.BlinkANGLEInstancedArrays.instance | |
481 .drawElementsInstancedANGLE_Callback_5_( | |
482 this, mode, count, type, offset, primcount); | |
483 | |
484 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') | |
485 @DocsEditable() | |
486 @Experimental() // untriaged | |
487 void vertexAttribDivisorAngle(int index, int divisor) => | |
488 _blink.BlinkANGLEInstancedArrays.instance | |
489 .vertexAttribDivisorANGLE_Callback_2_(this, index, divisor); | |
490 } | |
491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
492 // for details. All rights reserved. Use of this source code is governed by a | |
493 // BSD-style license that can be found in the LICENSE file. | |
494 | |
495 // WARNING: Do not edit - generated code. | |
496 | |
497 @DocsEditable() | |
498 @DomName('WebGLBuffer') | |
499 @Unstable() | |
500 class Buffer extends DartHtmlDomObject { | |
501 // To suppress missing implicit constructor warnings. | |
502 factory Buffer._() { | |
503 throw new UnsupportedError("Not supported"); | |
504 } | |
505 | |
506 @Deprecated("Internal Use Only") | |
507 external static Type get instanceRuntimeType; | |
508 | |
509 @Deprecated("Internal Use Only") | |
510 Buffer.internal_() {} | |
511 } | |
512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
513 // for details. All rights reserved. Use of this source code is governed by a | |
514 // BSD-style license that can be found in the LICENSE file. | |
515 | |
516 // WARNING: Do not edit - generated code. | |
517 | |
518 @DocsEditable() | |
519 @DomName('CHROMIUMSubscribeUniform') | |
520 @Experimental() // untriaged | |
521 class ChromiumSubscribeUniform extends DartHtmlDomObject { | |
522 // To suppress missing implicit constructor warnings. | |
523 factory ChromiumSubscribeUniform._() { | |
524 throw new UnsupportedError("Not supported"); | |
525 } | |
526 | |
527 @Deprecated("Internal Use Only") | |
528 external static Type get instanceRuntimeType; | |
529 | |
530 @Deprecated("Internal Use Only") | |
531 ChromiumSubscribeUniform.internal_() {} | |
532 | |
533 @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM') | |
534 @DocsEditable() | |
535 @Experimental() // untriaged | |
536 static const int MOUSE_POSITION_CHROMIUM = 0x924C; | |
537 | |
538 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM') | |
539 @DocsEditable() | |
540 @Experimental() // untriaged | |
541 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; | |
542 | |
543 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM') | |
544 @DocsEditable() | |
545 @Experimental() // untriaged | |
546 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) => | |
547 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
548 .bindValuebufferCHROMIUM_Callback_2_(this, target, buffer); | |
549 | |
550 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM') | |
551 @DocsEditable() | |
552 @Experimental() // untriaged | |
553 ChromiumValuebuffer createValuebufferChromium() => | |
554 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
555 .createValuebufferCHROMIUM_Callback_0_(this); | |
556 | |
557 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM') | |
558 @DocsEditable() | |
559 @Experimental() // untriaged | |
560 void deleteValuebufferChromium(ChromiumValuebuffer buffer) => | |
561 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
562 .deleteValuebufferCHROMIUM_Callback_1_(this, buffer); | |
563 | |
564 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM') | |
565 @DocsEditable() | |
566 @Experimental() // untriaged | |
567 bool isValuebufferChromium(ChromiumValuebuffer buffer) => | |
568 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
569 .isValuebufferCHROMIUM_Callback_1_(this, buffer); | |
570 | |
571 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM') | |
572 @DocsEditable() | |
573 @Experimental() // untriaged | |
574 void populateSubscribedValuesChromium(int target) => | |
575 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
576 .populateSubscribedValuesCHROMIUM_Callback_1_(this, target); | |
577 | |
578 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM') | |
579 @DocsEditable() | |
580 @Experimental() // untriaged | |
581 void subscribeValueChromium(int target, int subscriptions) => | |
582 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
583 .subscribeValueCHROMIUM_Callback_2_(this, target, subscriptions); | |
584 | |
585 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM') | |
586 @DocsEditable() | |
587 @Experimental() // untriaged | |
588 void uniformValuebufferChromium( | |
589 UniformLocation location, int target, int subscription) => | |
590 _blink.BlinkCHROMIUMSubscribeUniform.instance | |
591 .uniformValuebufferCHROMIUM_Callback_3_( | |
592 this, location, target, subscription); | |
593 } | |
594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
595 // for details. All rights reserved. Use of this source code is governed by a | |
596 // BSD-style license that can be found in the LICENSE file. | |
597 | |
598 // WARNING: Do not edit - generated code. | |
599 | |
600 @DocsEditable() | |
601 @DomName('WebGLCompressedTextureASTC') | |
602 @Experimental() // untriaged | |
603 class CompressedTextureAstc extends DartHtmlDomObject { | |
604 // To suppress missing implicit constructor warnings. | |
605 factory CompressedTextureAstc._() { | |
606 throw new UnsupportedError("Not supported"); | |
607 } | |
608 | |
609 @Deprecated("Internal Use Only") | |
610 external static Type get instanceRuntimeType; | |
611 | |
612 @Deprecated("Internal Use Only") | |
613 CompressedTextureAstc.internal_() {} | |
614 | |
615 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x10_KHR') | |
616 @DocsEditable() | |
617 @Experimental() // untriaged | |
618 static const int COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB; | |
619 | |
620 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x5_KHR') | |
621 @DocsEditable() | |
622 @Experimental() // untriaged | |
623 static const int COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8; | |
624 | |
625 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x6_KHR') | |
626 @DocsEditable() | |
627 @Experimental() // untriaged | |
628 static const int COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9; | |
629 | |
630 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x8_KHR') | |
631 @DocsEditable() | |
632 @Experimental() // untriaged | |
633 static const int COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA; | |
634 | |
635 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x10_KHR') | |
636 @DocsEditable() | |
637 @Experimental() // untriaged | |
638 static const int COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC; | |
639 | |
640 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x12_KHR') | |
641 @DocsEditable() | |
642 @Experimental() // untriaged | |
643 static const int COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD; | |
644 | |
645 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_4x4_KHR') | |
646 @DocsEditable() | |
647 @Experimental() // untriaged | |
648 static const int COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0; | |
649 | |
650 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x4_KHR') | |
651 @DocsEditable() | |
652 @Experimental() // untriaged | |
653 static const int COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1; | |
654 | |
655 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x5_KHR') | |
656 @DocsEditable() | |
657 @Experimental() // untriaged | |
658 static const int COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2; | |
659 | |
660 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x5_KHR') | |
661 @DocsEditable() | |
662 @Experimental() // untriaged | |
663 static const int COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3; | |
664 | |
665 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x6_KHR') | |
666 @DocsEditable() | |
667 @Experimental() // untriaged | |
668 static const int COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4; | |
669 | |
670 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x5_KHR') | |
671 @DocsEditable() | |
672 @Experimental() // untriaged | |
673 static const int COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5; | |
674 | |
675 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x6_KHR') | |
676 @DocsEditable() | |
677 @Experimental() // untriaged | |
678 static const int COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6; | |
679 | |
680 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x8_KHR') | |
681 @DocsEditable() | |
682 @Experimental() // untriaged | |
683 static const int COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7; | |
684 | |
685 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR') | |
686 @DocsEditable() | |
687 @Experimental() // untriaged | |
688 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB; | |
689 | |
690 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR') | |
691 @DocsEditable() | |
692 @Experimental() // untriaged | |
693 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8; | |
694 | |
695 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR') | |
696 @DocsEditable() | |
697 @Experimental() // untriaged | |
698 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9; | |
699 | |
700 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR') | |
701 @DocsEditable() | |
702 @Experimental() // untriaged | |
703 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA; | |
704 | |
705 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR') | |
706 @DocsEditable() | |
707 @Experimental() // untriaged | |
708 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC; | |
709 | |
710 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR') | |
711 @DocsEditable() | |
712 @Experimental() // untriaged | |
713 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD; | |
714 | |
715 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR') | |
716 @DocsEditable() | |
717 @Experimental() // untriaged | |
718 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0; | |
719 | |
720 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR') | |
721 @DocsEditable() | |
722 @Experimental() // untriaged | |
723 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1; | |
724 | |
725 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR') | |
726 @DocsEditable() | |
727 @Experimental() // untriaged | |
728 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2; | |
729 | |
730 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR') | |
731 @DocsEditable() | |
732 @Experimental() // untriaged | |
733 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3; | |
734 | |
735 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR') | |
736 @DocsEditable() | |
737 @Experimental() // untriaged | |
738 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4; | |
739 | |
740 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR') | |
741 @DocsEditable() | |
742 @Experimental() // untriaged | |
743 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5; | |
744 | |
745 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR') | |
746 @DocsEditable() | |
747 @Experimental() // untriaged | |
748 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6; | |
749 | |
750 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR') | |
751 @DocsEditable() | |
752 @Experimental() // untriaged | |
753 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7; | |
754 } | |
755 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
756 // for details. All rights reserved. Use of this source code is governed by a | |
757 // BSD-style license that can be found in the LICENSE file. | |
758 | |
759 // WARNING: Do not edit - generated code. | |
760 | |
761 @DocsEditable() | |
762 @DomName('WebGLCompressedTextureATC') | |
763 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ | |
764 @Experimental() | |
765 class CompressedTextureAtc extends DartHtmlDomObject { | |
766 // To suppress missing implicit constructor warnings. | |
767 factory CompressedTextureAtc._() { | |
768 throw new UnsupportedError("Not supported"); | |
769 } | |
770 | |
771 @Deprecated("Internal Use Only") | |
772 external static Type get instanceRuntimeType; | |
773 | |
774 @Deprecated("Internal Use Only") | |
775 CompressedTextureAtc.internal_() {} | |
776 | |
777 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') | |
778 @DocsEditable() | |
779 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; | |
780 | |
781 @DomName( | |
782 'WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL') | |
783 @DocsEditable() | |
784 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; | |
785 | |
786 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') | |
787 @DocsEditable() | |
788 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; | |
789 } | |
790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
791 // for details. All rights reserved. Use of this source code is governed by a | |
792 // BSD-style license that can be found in the LICENSE file. | |
793 | |
794 // WARNING: Do not edit - generated code. | |
795 | |
796 @DocsEditable() | |
797 @DomName('WebGLCompressedTextureETC1') | |
798 @Experimental() // untriaged | |
799 class CompressedTextureETC1 extends DartHtmlDomObject { | |
800 // To suppress missing implicit constructor warnings. | |
801 factory CompressedTextureETC1._() { | |
802 throw new UnsupportedError("Not supported"); | |
803 } | |
804 | |
805 @Deprecated("Internal Use Only") | |
806 external static Type get instanceRuntimeType; | |
807 | |
808 @Deprecated("Internal Use Only") | |
809 CompressedTextureETC1.internal_() {} | |
810 | |
811 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') | |
812 @DocsEditable() | |
813 @Experimental() // untriaged | |
814 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; | |
815 } | |
816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
817 // for details. All rights reserved. Use of this source code is governed by a | |
818 // BSD-style license that can be found in the LICENSE file. | |
819 | |
820 // WARNING: Do not edit - generated code. | |
821 | |
822 @DocsEditable() | |
823 @DomName('WebGLCompressedTexturePVRTC') | |
824 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ | |
825 @Experimental() // experimental | |
826 class CompressedTexturePvrtc extends DartHtmlDomObject { | |
827 // To suppress missing implicit constructor warnings. | |
828 factory CompressedTexturePvrtc._() { | |
829 throw new UnsupportedError("Not supported"); | |
830 } | |
831 | |
832 @Deprecated("Internal Use Only") | |
833 external static Type get instanceRuntimeType; | |
834 | |
835 @Deprecated("Internal Use Only") | |
836 CompressedTexturePvrtc.internal_() {} | |
837 | |
838 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') | |
839 @DocsEditable() | |
840 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; | |
841 | |
842 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') | |
843 @DocsEditable() | |
844 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; | |
845 | |
846 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') | |
847 @DocsEditable() | |
848 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; | |
849 | |
850 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') | |
851 @DocsEditable() | |
852 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; | |
853 } | |
854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
855 // for details. All rights reserved. Use of this source code is governed by a | |
856 // BSD-style license that can be found in the LICENSE file. | |
857 | |
858 // WARNING: Do not edit - generated code. | |
859 | |
860 @DocsEditable() | |
861 @DomName('WebGLCompressedTextureS3TC') | |
862 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ | |
863 @Experimental() // experimental | |
864 class CompressedTextureS3TC extends DartHtmlDomObject { | |
865 // To suppress missing implicit constructor warnings. | |
866 factory CompressedTextureS3TC._() { | |
867 throw new UnsupportedError("Not supported"); | |
868 } | |
869 | |
870 @Deprecated("Internal Use Only") | |
871 external static Type get instanceRuntimeType; | |
872 | |
873 @Deprecated("Internal Use Only") | |
874 CompressedTextureS3TC.internal_() {} | |
875 | |
876 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') | |
877 @DocsEditable() | |
878 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; | |
879 | |
880 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') | |
881 @DocsEditable() | |
882 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; | |
883 | |
884 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') | |
885 @DocsEditable() | |
886 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; | |
887 | |
888 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') | |
889 @DocsEditable() | |
890 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; | |
891 } | |
892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
893 // for details. All rights reserved. Use of this source code is governed by a | |
894 // BSD-style license that can be found in the LICENSE file. | |
895 | |
896 // WARNING: Do not edit - generated code. | |
897 | |
898 @DocsEditable() | |
899 @DomName('WebGLContextEvent') | |
900 @Unstable() | |
901 class ContextEvent extends Event { | |
902 // To suppress missing implicit constructor warnings. | |
903 factory ContextEvent._() { | |
904 throw new UnsupportedError("Not supported"); | |
905 } | |
906 | |
907 @DomName('WebGLContextEvent.WebGLContextEvent') | |
908 @DocsEditable() | |
909 factory ContextEvent(String type, [Map eventInit]) { | |
910 if (eventInit != null) { | |
911 var eventInit_1 = convertDartToNative_Dictionary(eventInit); | |
912 return _blink.BlinkWebGLContextEvent.instance | |
913 .constructorCallback_2_(type, eventInit_1); | |
914 } | |
915 return _blink.BlinkWebGLContextEvent.instance.constructorCallback_1_(type); | |
916 } | |
917 | |
918 @Deprecated("Internal Use Only") | |
919 external static Type get instanceRuntimeType; | |
920 | |
921 @Deprecated("Internal Use Only") | |
922 ContextEvent.internal_() : super.internal_(); | |
923 | |
924 @DomName('WebGLContextEvent.statusMessage') | |
925 @DocsEditable() | |
926 String get statusMessage => | |
927 _blink.BlinkWebGLContextEvent.instance.statusMessage_Getter_(this); | |
928 } | |
929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
930 // for details. All rights reserved. Use of this source code is governed by a | |
931 // BSD-style license that can be found in the LICENSE file. | |
932 | |
933 // WARNING: Do not edit - generated code. | |
934 | |
935 @DocsEditable() | |
936 @DomName('WebGLDebugRendererInfo') | |
937 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ | |
938 @Experimental() // experimental | |
939 class DebugRendererInfo extends DartHtmlDomObject { | |
940 // To suppress missing implicit constructor warnings. | |
941 factory DebugRendererInfo._() { | |
942 throw new UnsupportedError("Not supported"); | |
943 } | |
944 | |
945 @Deprecated("Internal Use Only") | |
946 external static Type get instanceRuntimeType; | |
947 | |
948 @Deprecated("Internal Use Only") | |
949 DebugRendererInfo.internal_() {} | |
950 | |
951 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') | |
952 @DocsEditable() | |
953 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | |
954 | |
955 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') | |
956 @DocsEditable() | |
957 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | |
958 } | |
959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
960 // for details. All rights reserved. Use of this source code is governed by a | |
961 // BSD-style license that can be found in the LICENSE file. | |
962 | |
963 // WARNING: Do not edit - generated code. | |
964 | |
965 @DocsEditable() | |
966 @DomName('WebGLDebugShaders') | |
967 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | |
968 @Experimental() // experimental | |
969 class DebugShaders extends DartHtmlDomObject { | |
970 // To suppress missing implicit constructor warnings. | |
971 factory DebugShaders._() { | |
972 throw new UnsupportedError("Not supported"); | |
973 } | |
974 | |
975 @Deprecated("Internal Use Only") | |
976 external static Type get instanceRuntimeType; | |
977 | |
978 @Deprecated("Internal Use Only") | |
979 DebugShaders.internal_() {} | |
980 | |
981 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | |
982 @DocsEditable() | |
983 String getTranslatedShaderSource(Shader shader) => | |
984 _blink.BlinkWebGLDebugShaders.instance | |
985 .getTranslatedShaderSource_Callback_1_(this, shader); | |
986 } | |
987 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
988 // for details. All rights reserved. Use of this source code is governed by a | |
989 // BSD-style license that can be found in the LICENSE file. | |
990 | |
991 // WARNING: Do not edit - generated code. | |
992 | |
993 @DocsEditable() | |
994 @DomName('WebGLDepthTexture') | |
995 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ | |
996 @Experimental() // experimental | |
997 class DepthTexture extends DartHtmlDomObject { | |
998 // To suppress missing implicit constructor warnings. | |
999 factory DepthTexture._() { | |
1000 throw new UnsupportedError("Not supported"); | |
1001 } | |
1002 | |
1003 @Deprecated("Internal Use Only") | |
1004 external static Type get instanceRuntimeType; | |
1005 | |
1006 @Deprecated("Internal Use Only") | |
1007 DepthTexture.internal_() {} | |
1008 | |
1009 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') | |
1010 @DocsEditable() | |
1011 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; | |
1012 } | |
1013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1014 // for details. All rights reserved. Use of this source code is governed by a | |
1015 // BSD-style license that can be found in the LICENSE file. | |
1016 | |
1017 // WARNING: Do not edit - generated code. | |
1018 | |
1019 @DocsEditable() | |
1020 @DomName('WebGLDrawBuffers') | |
1021 // http://www.khronos.org/registry/webgl/specs/latest/ | |
1022 @Experimental() // stable | |
1023 class DrawBuffers extends DartHtmlDomObject { | |
1024 // To suppress missing implicit constructor warnings. | |
1025 factory DrawBuffers._() { | |
1026 throw new UnsupportedError("Not supported"); | |
1027 } | |
1028 | |
1029 @Deprecated("Internal Use Only") | |
1030 external static Type get instanceRuntimeType; | |
1031 | |
1032 @Deprecated("Internal Use Only") | |
1033 DrawBuffers.internal_() {} | |
1034 | |
1035 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') | |
1036 @DocsEditable() | |
1037 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; | |
1038 | |
1039 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') | |
1040 @DocsEditable() | |
1041 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; | |
1042 | |
1043 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') | |
1044 @DocsEditable() | |
1045 static const int COLOR_ATTACHMENT11_WEBGL = 0x8CEB; | |
1046 | |
1047 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT12_WEBGL') | |
1048 @DocsEditable() | |
1049 static const int COLOR_ATTACHMENT12_WEBGL = 0x8CEC; | |
1050 | |
1051 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT13_WEBGL') | |
1052 @DocsEditable() | |
1053 static const int COLOR_ATTACHMENT13_WEBGL = 0x8CED; | |
1054 | |
1055 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT14_WEBGL') | |
1056 @DocsEditable() | |
1057 static const int COLOR_ATTACHMENT14_WEBGL = 0x8CEE; | |
1058 | |
1059 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT15_WEBGL') | |
1060 @DocsEditable() | |
1061 static const int COLOR_ATTACHMENT15_WEBGL = 0x8CEF; | |
1062 | |
1063 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT1_WEBGL') | |
1064 @DocsEditable() | |
1065 static const int COLOR_ATTACHMENT1_WEBGL = 0x8CE1; | |
1066 | |
1067 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT2_WEBGL') | |
1068 @DocsEditable() | |
1069 static const int COLOR_ATTACHMENT2_WEBGL = 0x8CE2; | |
1070 | |
1071 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT3_WEBGL') | |
1072 @DocsEditable() | |
1073 static const int COLOR_ATTACHMENT3_WEBGL = 0x8CE3; | |
1074 | |
1075 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT4_WEBGL') | |
1076 @DocsEditable() | |
1077 static const int COLOR_ATTACHMENT4_WEBGL = 0x8CE4; | |
1078 | |
1079 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT5_WEBGL') | |
1080 @DocsEditable() | |
1081 static const int COLOR_ATTACHMENT5_WEBGL = 0x8CE5; | |
1082 | |
1083 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT6_WEBGL') | |
1084 @DocsEditable() | |
1085 static const int COLOR_ATTACHMENT6_WEBGL = 0x8CE6; | |
1086 | |
1087 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT7_WEBGL') | |
1088 @DocsEditable() | |
1089 static const int COLOR_ATTACHMENT7_WEBGL = 0x8CE7; | |
1090 | |
1091 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT8_WEBGL') | |
1092 @DocsEditable() | |
1093 static const int COLOR_ATTACHMENT8_WEBGL = 0x8CE8; | |
1094 | |
1095 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT9_WEBGL') | |
1096 @DocsEditable() | |
1097 static const int COLOR_ATTACHMENT9_WEBGL = 0x8CE9; | |
1098 | |
1099 @DomName('WebGLDrawBuffers.DRAW_BUFFER0_WEBGL') | |
1100 @DocsEditable() | |
1101 static const int DRAW_BUFFER0_WEBGL = 0x8825; | |
1102 | |
1103 @DomName('WebGLDrawBuffers.DRAW_BUFFER10_WEBGL') | |
1104 @DocsEditable() | |
1105 static const int DRAW_BUFFER10_WEBGL = 0x882F; | |
1106 | |
1107 @DomName('WebGLDrawBuffers.DRAW_BUFFER11_WEBGL') | |
1108 @DocsEditable() | |
1109 static const int DRAW_BUFFER11_WEBGL = 0x8830; | |
1110 | |
1111 @DomName('WebGLDrawBuffers.DRAW_BUFFER12_WEBGL') | |
1112 @DocsEditable() | |
1113 static const int DRAW_BUFFER12_WEBGL = 0x8831; | |
1114 | |
1115 @DomName('WebGLDrawBuffers.DRAW_BUFFER13_WEBGL') | |
1116 @DocsEditable() | |
1117 static const int DRAW_BUFFER13_WEBGL = 0x8832; | |
1118 | |
1119 @DomName('WebGLDrawBuffers.DRAW_BUFFER14_WEBGL') | |
1120 @DocsEditable() | |
1121 static const int DRAW_BUFFER14_WEBGL = 0x8833; | |
1122 | |
1123 @DomName('WebGLDrawBuffers.DRAW_BUFFER15_WEBGL') | |
1124 @DocsEditable() | |
1125 static const int DRAW_BUFFER15_WEBGL = 0x8834; | |
1126 | |
1127 @DomName('WebGLDrawBuffers.DRAW_BUFFER1_WEBGL') | |
1128 @DocsEditable() | |
1129 static const int DRAW_BUFFER1_WEBGL = 0x8826; | |
1130 | |
1131 @DomName('WebGLDrawBuffers.DRAW_BUFFER2_WEBGL') | |
1132 @DocsEditable() | |
1133 static const int DRAW_BUFFER2_WEBGL = 0x8827; | |
1134 | |
1135 @DomName('WebGLDrawBuffers.DRAW_BUFFER3_WEBGL') | |
1136 @DocsEditable() | |
1137 static const int DRAW_BUFFER3_WEBGL = 0x8828; | |
1138 | |
1139 @DomName('WebGLDrawBuffers.DRAW_BUFFER4_WEBGL') | |
1140 @DocsEditable() | |
1141 static const int DRAW_BUFFER4_WEBGL = 0x8829; | |
1142 | |
1143 @DomName('WebGLDrawBuffers.DRAW_BUFFER5_WEBGL') | |
1144 @DocsEditable() | |
1145 static const int DRAW_BUFFER5_WEBGL = 0x882A; | |
1146 | |
1147 @DomName('WebGLDrawBuffers.DRAW_BUFFER6_WEBGL') | |
1148 @DocsEditable() | |
1149 static const int DRAW_BUFFER6_WEBGL = 0x882B; | |
1150 | |
1151 @DomName('WebGLDrawBuffers.DRAW_BUFFER7_WEBGL') | |
1152 @DocsEditable() | |
1153 static const int DRAW_BUFFER7_WEBGL = 0x882C; | |
1154 | |
1155 @DomName('WebGLDrawBuffers.DRAW_BUFFER8_WEBGL') | |
1156 @DocsEditable() | |
1157 static const int DRAW_BUFFER8_WEBGL = 0x882D; | |
1158 | |
1159 @DomName('WebGLDrawBuffers.DRAW_BUFFER9_WEBGL') | |
1160 @DocsEditable() | |
1161 static const int DRAW_BUFFER9_WEBGL = 0x882E; | |
1162 | |
1163 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') | |
1164 @DocsEditable() | |
1165 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | |
1166 | |
1167 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | |
1168 @DocsEditable() | |
1169 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | |
1170 | |
1171 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | |
1172 @DocsEditable() | |
1173 void drawBuffersWebgl(List<int> buffers) => | |
1174 _blink.BlinkWebGLDrawBuffers.instance | |
1175 .drawBuffersWEBGL_Callback_1_(this, buffers); | |
1176 } | |
1177 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1178 // for details. All rights reserved. Use of this source code is governed by a | |
1179 // BSD-style license that can be found in the LICENSE file. | |
1180 | |
1181 // WARNING: Do not edit - generated code. | |
1182 | |
1183 @DocsEditable() | |
1184 @DomName('EXTsRGB') | |
1185 @Experimental() // untriaged | |
1186 class EXTsRgb extends DartHtmlDomObject { | |
1187 // To suppress missing implicit constructor warnings. | |
1188 factory EXTsRgb._() { | |
1189 throw new UnsupportedError("Not supported"); | |
1190 } | |
1191 | |
1192 @Deprecated("Internal Use Only") | |
1193 external static Type get instanceRuntimeType; | |
1194 | |
1195 @Deprecated("Internal Use Only") | |
1196 EXTsRgb.internal_() {} | |
1197 | |
1198 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') | |
1199 @DocsEditable() | |
1200 @Experimental() // untriaged | |
1201 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; | |
1202 | |
1203 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') | |
1204 @DocsEditable() | |
1205 @Experimental() // untriaged | |
1206 static const int SRGB8_ALPHA8_EXT = 0x8C43; | |
1207 | |
1208 @DomName('EXTsRGB.SRGB_ALPHA_EXT') | |
1209 @DocsEditable() | |
1210 @Experimental() // untriaged | |
1211 static const int SRGB_ALPHA_EXT = 0x8C42; | |
1212 | |
1213 @DomName('EXTsRGB.SRGB_EXT') | |
1214 @DocsEditable() | |
1215 @Experimental() // untriaged | |
1216 static const int SRGB_EXT = 0x8C40; | |
1217 } | |
1218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1219 // for details. All rights reserved. Use of this source code is governed by a | |
1220 // BSD-style license that can be found in the LICENSE file. | |
1221 | |
1222 // WARNING: Do not edit - generated code. | |
1223 | |
1224 @DocsEditable() | |
1225 @DomName('EXTBlendMinMax') | |
1226 @Experimental() // untriaged | |
1227 class ExtBlendMinMax extends DartHtmlDomObject { | |
1228 // To suppress missing implicit constructor warnings. | |
1229 factory ExtBlendMinMax._() { | |
1230 throw new UnsupportedError("Not supported"); | |
1231 } | |
1232 | |
1233 @Deprecated("Internal Use Only") | |
1234 external static Type get instanceRuntimeType; | |
1235 | |
1236 @Deprecated("Internal Use Only") | |
1237 ExtBlendMinMax.internal_() {} | |
1238 | |
1239 @DomName('EXTBlendMinMax.MAX_EXT') | |
1240 @DocsEditable() | |
1241 @Experimental() // untriaged | |
1242 static const int MAX_EXT = 0x8008; | |
1243 | |
1244 @DomName('EXTBlendMinMax.MIN_EXT') | |
1245 @DocsEditable() | |
1246 @Experimental() // untriaged | |
1247 static const int MIN_EXT = 0x8007; | |
1248 } | |
1249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1250 // for details. All rights reserved. Use of this source code is governed by a | |
1251 // BSD-style license that can be found in the LICENSE file. | |
1252 | |
1253 // WARNING: Do not edit - generated code. | |
1254 | |
1255 @DocsEditable() | |
1256 @DomName('EXTColorBufferFloat') | |
1257 @Experimental() // untriaged | |
1258 class ExtColorBufferFloat extends DartHtmlDomObject { | |
1259 // To suppress missing implicit constructor warnings. | |
1260 factory ExtColorBufferFloat._() { | |
1261 throw new UnsupportedError("Not supported"); | |
1262 } | |
1263 | |
1264 @Deprecated("Internal Use Only") | |
1265 external static Type get instanceRuntimeType; | |
1266 | |
1267 @Deprecated("Internal Use Only") | |
1268 ExtColorBufferFloat.internal_() {} | |
1269 } | |
1270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1271 // for details. All rights reserved. Use of this source code is governed by a | |
1272 // BSD-style license that can be found in the LICENSE file. | |
1273 | |
1274 // WARNING: Do not edit - generated code. | |
1275 | |
1276 @DocsEditable() | |
1277 @DomName('EXTDisjointTimerQuery') | |
1278 @Experimental() // untriaged | |
1279 class ExtDisjointTimerQuery extends DartHtmlDomObject { | |
1280 // To suppress missing implicit constructor warnings. | |
1281 factory ExtDisjointTimerQuery._() { | |
1282 throw new UnsupportedError("Not supported"); | |
1283 } | |
1284 | |
1285 @Deprecated("Internal Use Only") | |
1286 external static Type get instanceRuntimeType; | |
1287 | |
1288 @Deprecated("Internal Use Only") | |
1289 ExtDisjointTimerQuery.internal_() {} | |
1290 | |
1291 @DomName('EXTDisjointTimerQuery.CURRENT_QUERY_EXT') | |
1292 @DocsEditable() | |
1293 @Experimental() // untriaged | |
1294 static const int CURRENT_QUERY_EXT = 0x8865; | |
1295 | |
1296 @DomName('EXTDisjointTimerQuery.GPU_DISJOINT_EXT') | |
1297 @DocsEditable() | |
1298 @Experimental() // untriaged | |
1299 static const int GPU_DISJOINT_EXT = 0x8FBB; | |
1300 | |
1301 @DomName('EXTDisjointTimerQuery.QUERY_COUNTER_BITS_EXT') | |
1302 @DocsEditable() | |
1303 @Experimental() // untriaged | |
1304 static const int QUERY_COUNTER_BITS_EXT = 0x8864; | |
1305 | |
1306 @DomName('EXTDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT') | |
1307 @DocsEditable() | |
1308 @Experimental() // untriaged | |
1309 static const int QUERY_RESULT_AVAILABLE_EXT = 0x8867; | |
1310 | |
1311 @DomName('EXTDisjointTimerQuery.QUERY_RESULT_EXT') | |
1312 @DocsEditable() | |
1313 @Experimental() // untriaged | |
1314 static const int QUERY_RESULT_EXT = 0x8866; | |
1315 | |
1316 @DomName('EXTDisjointTimerQuery.TIMESTAMP_EXT') | |
1317 @DocsEditable() | |
1318 @Experimental() // untriaged | |
1319 static const int TIMESTAMP_EXT = 0x8E28; | |
1320 | |
1321 @DomName('EXTDisjointTimerQuery.TIME_ELAPSED_EXT') | |
1322 @DocsEditable() | |
1323 @Experimental() // untriaged | |
1324 static const int TIME_ELAPSED_EXT = 0x88BF; | |
1325 | |
1326 @DomName('EXTDisjointTimerQuery.beginQueryEXT') | |
1327 @DocsEditable() | |
1328 @Experimental() // untriaged | |
1329 void beginQueryExt(int target, TimerQueryExt query) => | |
1330 _blink.BlinkEXTDisjointTimerQuery.instance | |
1331 .beginQueryEXT_Callback_2_(this, target, query); | |
1332 | |
1333 @DomName('EXTDisjointTimerQuery.createQueryEXT') | |
1334 @DocsEditable() | |
1335 @Experimental() // untriaged | |
1336 TimerQueryExt createQueryExt() => _blink.BlinkEXTDisjointTimerQuery.instance | |
1337 .createQueryEXT_Callback_0_(this); | |
1338 | |
1339 @DomName('EXTDisjointTimerQuery.deleteQueryEXT') | |
1340 @DocsEditable() | |
1341 @Experimental() // untriaged | |
1342 void deleteQueryExt(TimerQueryExt query) => | |
1343 _blink.BlinkEXTDisjointTimerQuery.instance | |
1344 .deleteQueryEXT_Callback_1_(this, query); | |
1345 | |
1346 @DomName('EXTDisjointTimerQuery.endQueryEXT') | |
1347 @DocsEditable() | |
1348 @Experimental() // untriaged | |
1349 void endQueryExt(int target) => _blink.BlinkEXTDisjointTimerQuery.instance | |
1350 .endQueryEXT_Callback_1_(this, target); | |
1351 | |
1352 @DomName('EXTDisjointTimerQuery.getQueryEXT') | |
1353 @DocsEditable() | |
1354 @Experimental() // untriaged | |
1355 Object getQueryExt(int target, int pname) => | |
1356 (_blink.BlinkEXTDisjointTimerQuery.instance | |
1357 .getQueryEXT_Callback_2_(this, target, pname)); | |
1358 | |
1359 @DomName('EXTDisjointTimerQuery.getQueryObjectEXT') | |
1360 @DocsEditable() | |
1361 @Experimental() // untriaged | |
1362 Object getQueryObjectExt(TimerQueryExt query, int pname) => | |
1363 (_blink.BlinkEXTDisjointTimerQuery.instance | |
1364 .getQueryObjectEXT_Callback_2_(this, query, pname)); | |
1365 | |
1366 @DomName('EXTDisjointTimerQuery.isQueryEXT') | |
1367 @DocsEditable() | |
1368 @Experimental() // untriaged | |
1369 bool isQueryExt(TimerQueryExt query) => | |
1370 _blink.BlinkEXTDisjointTimerQuery.instance | |
1371 .isQueryEXT_Callback_1_(this, query); | |
1372 | |
1373 @DomName('EXTDisjointTimerQuery.queryCounterEXT') | |
1374 @DocsEditable() | |
1375 @Experimental() // untriaged | |
1376 void queryCounterExt(TimerQueryExt query, int target) => | |
1377 _blink.BlinkEXTDisjointTimerQuery.instance | |
1378 .queryCounterEXT_Callback_2_(this, query, target); | |
1379 } | |
1380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1381 // for details. All rights reserved. Use of this source code is governed by a | |
1382 // BSD-style license that can be found in the LICENSE file. | |
1383 | |
1384 // WARNING: Do not edit - generated code. | |
1385 | |
1386 @DocsEditable() | |
1387 @DomName('EXTFragDepth') | |
1388 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ | |
1389 @Experimental() | |
1390 class ExtFragDepth extends DartHtmlDomObject { | |
1391 // To suppress missing implicit constructor warnings. | |
1392 factory ExtFragDepth._() { | |
1393 throw new UnsupportedError("Not supported"); | |
1394 } | |
1395 | |
1396 @Deprecated("Internal Use Only") | |
1397 external static Type get instanceRuntimeType; | |
1398 | |
1399 @Deprecated("Internal Use Only") | |
1400 ExtFragDepth.internal_() {} | |
1401 } | |
1402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1403 // for details. All rights reserved. Use of this source code is governed by a | |
1404 // BSD-style license that can be found in the LICENSE file. | |
1405 | |
1406 // WARNING: Do not edit - generated code. | |
1407 | |
1408 @DocsEditable() | |
1409 @DomName('EXTShaderTextureLOD') | |
1410 @Experimental() // untriaged | |
1411 class ExtShaderTextureLod extends DartHtmlDomObject { | |
1412 // To suppress missing implicit constructor warnings. | |
1413 factory ExtShaderTextureLod._() { | |
1414 throw new UnsupportedError("Not supported"); | |
1415 } | |
1416 | |
1417 @Deprecated("Internal Use Only") | |
1418 external static Type get instanceRuntimeType; | |
1419 | |
1420 @Deprecated("Internal Use Only") | |
1421 ExtShaderTextureLod.internal_() {} | |
1422 } | |
1423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1424 // for details. All rights reserved. Use of this source code is governed by a | |
1425 // BSD-style license that can be found in the LICENSE file. | |
1426 | |
1427 // WARNING: Do not edit - generated code. | |
1428 | |
1429 @DocsEditable() | |
1430 @DomName('EXTTextureFilterAnisotropic') | |
1431 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ | |
1432 @Experimental() | |
1433 class ExtTextureFilterAnisotropic extends DartHtmlDomObject { | |
1434 // To suppress missing implicit constructor warnings. | |
1435 factory ExtTextureFilterAnisotropic._() { | |
1436 throw new UnsupportedError("Not supported"); | |
1437 } | |
1438 | |
1439 @Deprecated("Internal Use Only") | |
1440 external static Type get instanceRuntimeType; | |
1441 | |
1442 @Deprecated("Internal Use Only") | |
1443 ExtTextureFilterAnisotropic.internal_() {} | |
1444 | |
1445 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') | |
1446 @DocsEditable() | |
1447 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | |
1448 | |
1449 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') | |
1450 @DocsEditable() | |
1451 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | |
1452 } | |
1453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1454 // for details. All rights reserved. Use of this source code is governed by a | |
1455 // BSD-style license that can be found in the LICENSE file. | |
1456 | |
1457 // WARNING: Do not edit - generated code. | |
1458 | |
1459 @DocsEditable() | |
1460 @DomName('WebGLFramebuffer') | |
1461 @Unstable() | |
1462 class Framebuffer extends DartHtmlDomObject { | |
1463 // To suppress missing implicit constructor warnings. | |
1464 factory Framebuffer._() { | |
1465 throw new UnsupportedError("Not supported"); | |
1466 } | |
1467 | |
1468 @Deprecated("Internal Use Only") | |
1469 external static Type get instanceRuntimeType; | |
1470 | |
1471 @Deprecated("Internal Use Only") | |
1472 Framebuffer.internal_() {} | |
1473 } | |
1474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1475 // for details. All rights reserved. Use of this source code is governed by a | |
1476 // BSD-style license that can be found in the LICENSE file. | |
1477 | |
1478 // WARNING: Do not edit - generated code. | |
1479 | |
1480 @DocsEditable() | |
1481 @DomName('WebGLLoseContext') | |
1482 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | |
1483 @Experimental() | |
1484 class LoseContext extends DartHtmlDomObject { | |
1485 // To suppress missing implicit constructor warnings. | |
1486 factory LoseContext._() { | |
1487 throw new UnsupportedError("Not supported"); | |
1488 } | |
1489 | |
1490 @Deprecated("Internal Use Only") | |
1491 external static Type get instanceRuntimeType; | |
1492 | |
1493 @Deprecated("Internal Use Only") | |
1494 LoseContext.internal_() {} | |
1495 | |
1496 @DomName('WebGLLoseContext.loseContext') | |
1497 @DocsEditable() | |
1498 void loseContext() => | |
1499 _blink.BlinkWebGLLoseContext.instance.loseContext_Callback_0_(this); | |
1500 | |
1501 @DomName('WebGLLoseContext.restoreContext') | |
1502 @DocsEditable() | |
1503 void restoreContext() => | |
1504 _blink.BlinkWebGLLoseContext.instance.restoreContext_Callback_0_(this); | |
1505 } | |
1506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1507 // for details. All rights reserved. Use of this source code is governed by a | |
1508 // BSD-style license that can be found in the LICENSE file. | |
1509 | |
1510 // WARNING: Do not edit - generated code. | |
1511 | |
1512 @DocsEditable() | |
1513 @DomName('OESElementIndexUint') | |
1514 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ | |
1515 @Experimental() // experimental | |
1516 class OesElementIndexUint extends DartHtmlDomObject { | |
1517 // To suppress missing implicit constructor warnings. | |
1518 factory OesElementIndexUint._() { | |
1519 throw new UnsupportedError("Not supported"); | |
1520 } | |
1521 | |
1522 @Deprecated("Internal Use Only") | |
1523 external static Type get instanceRuntimeType; | |
1524 | |
1525 @Deprecated("Internal Use Only") | |
1526 OesElementIndexUint.internal_() {} | |
1527 } | |
1528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1529 // for details. All rights reserved. Use of this source code is governed by a | |
1530 // BSD-style license that can be found in the LICENSE file. | |
1531 | |
1532 // WARNING: Do not edit - generated code. | |
1533 | |
1534 @DocsEditable() | |
1535 @DomName('OESStandardDerivatives') | |
1536 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ | |
1537 @Experimental() // experimental | |
1538 class OesStandardDerivatives extends DartHtmlDomObject { | |
1539 // To suppress missing implicit constructor warnings. | |
1540 factory OesStandardDerivatives._() { | |
1541 throw new UnsupportedError("Not supported"); | |
1542 } | |
1543 | |
1544 @Deprecated("Internal Use Only") | |
1545 external static Type get instanceRuntimeType; | |
1546 | |
1547 @Deprecated("Internal Use Only") | |
1548 OesStandardDerivatives.internal_() {} | |
1549 | |
1550 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') | |
1551 @DocsEditable() | |
1552 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; | |
1553 } | |
1554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1555 // for details. All rights reserved. Use of this source code is governed by a | |
1556 // BSD-style license that can be found in the LICENSE file. | |
1557 | |
1558 // WARNING: Do not edit - generated code. | |
1559 | |
1560 @DocsEditable() | |
1561 @DomName('OESTextureFloat') | |
1562 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ | |
1563 @Experimental() // experimental | |
1564 class OesTextureFloat extends DartHtmlDomObject { | |
1565 // To suppress missing implicit constructor warnings. | |
1566 factory OesTextureFloat._() { | |
1567 throw new UnsupportedError("Not supported"); | |
1568 } | |
1569 | |
1570 @Deprecated("Internal Use Only") | |
1571 external static Type get instanceRuntimeType; | |
1572 | |
1573 @Deprecated("Internal Use Only") | |
1574 OesTextureFloat.internal_() {} | |
1575 } | |
1576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1577 // for details. All rights reserved. Use of this source code is governed by a | |
1578 // BSD-style license that can be found in the LICENSE file. | |
1579 | |
1580 // WARNING: Do not edit - generated code. | |
1581 | |
1582 @DocsEditable() | |
1583 @DomName('OESTextureFloatLinear') | |
1584 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ | |
1585 @Experimental() | |
1586 class OesTextureFloatLinear extends DartHtmlDomObject { | |
1587 // To suppress missing implicit constructor warnings. | |
1588 factory OesTextureFloatLinear._() { | |
1589 throw new UnsupportedError("Not supported"); | |
1590 } | |
1591 | |
1592 @Deprecated("Internal Use Only") | |
1593 external static Type get instanceRuntimeType; | |
1594 | |
1595 @Deprecated("Internal Use Only") | |
1596 OesTextureFloatLinear.internal_() {} | |
1597 } | |
1598 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1599 // for details. All rights reserved. Use of this source code is governed by a | |
1600 // BSD-style license that can be found in the LICENSE file. | |
1601 | |
1602 // WARNING: Do not edit - generated code. | |
1603 | |
1604 @DocsEditable() | |
1605 @DomName('OESTextureHalfFloat') | |
1606 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ | |
1607 @Experimental() // experimental | |
1608 class OesTextureHalfFloat extends DartHtmlDomObject { | |
1609 // To suppress missing implicit constructor warnings. | |
1610 factory OesTextureHalfFloat._() { | |
1611 throw new UnsupportedError("Not supported"); | |
1612 } | |
1613 | |
1614 @Deprecated("Internal Use Only") | |
1615 external static Type get instanceRuntimeType; | |
1616 | |
1617 @Deprecated("Internal Use Only") | |
1618 OesTextureHalfFloat.internal_() {} | |
1619 | |
1620 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') | |
1621 @DocsEditable() | |
1622 static const int HALF_FLOAT_OES = 0x8D61; | |
1623 } | |
1624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1625 // for details. All rights reserved. Use of this source code is governed by a | |
1626 // BSD-style license that can be found in the LICENSE file. | |
1627 | |
1628 // WARNING: Do not edit - generated code. | |
1629 | |
1630 @DocsEditable() | |
1631 @DomName('OESTextureHalfFloatLinear') | |
1632 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ | |
1633 @Experimental() | |
1634 class OesTextureHalfFloatLinear extends DartHtmlDomObject { | |
1635 // To suppress missing implicit constructor warnings. | |
1636 factory OesTextureHalfFloatLinear._() { | |
1637 throw new UnsupportedError("Not supported"); | |
1638 } | |
1639 | |
1640 @Deprecated("Internal Use Only") | |
1641 external static Type get instanceRuntimeType; | |
1642 | |
1643 @Deprecated("Internal Use Only") | |
1644 OesTextureHalfFloatLinear.internal_() {} | |
1645 } | |
1646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1647 // for details. All rights reserved. Use of this source code is governed by a | |
1648 // BSD-style license that can be found in the LICENSE file. | |
1649 | |
1650 // WARNING: Do not edit - generated code. | |
1651 | |
1652 @DocsEditable() | |
1653 @DomName('OESVertexArrayObject') | |
1654 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | |
1655 @Experimental() // experimental | |
1656 class OesVertexArrayObject extends DartHtmlDomObject { | |
1657 // To suppress missing implicit constructor warnings. | |
1658 factory OesVertexArrayObject._() { | |
1659 throw new UnsupportedError("Not supported"); | |
1660 } | |
1661 | |
1662 @Deprecated("Internal Use Only") | |
1663 external static Type get instanceRuntimeType; | |
1664 | |
1665 @Deprecated("Internal Use Only") | |
1666 OesVertexArrayObject.internal_() {} | |
1667 | |
1668 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | |
1669 @DocsEditable() | |
1670 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | |
1671 | |
1672 @DomName('OESVertexArrayObject.bindVertexArrayOES') | |
1673 @DocsEditable() | |
1674 void bindVertexArray(VertexArrayObjectOes arrayObject) => | |
1675 _blink.BlinkOESVertexArrayObject.instance | |
1676 .bindVertexArrayOES_Callback_1_(this, arrayObject); | |
1677 | |
1678 @DomName('OESVertexArrayObject.createVertexArrayOES') | |
1679 @DocsEditable() | |
1680 VertexArrayObjectOes createVertexArray() => | |
1681 _blink.BlinkOESVertexArrayObject.instance | |
1682 .createVertexArrayOES_Callback_0_(this); | |
1683 | |
1684 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | |
1685 @DocsEditable() | |
1686 void deleteVertexArray(VertexArrayObjectOes arrayObject) => | |
1687 _blink.BlinkOESVertexArrayObject.instance | |
1688 .deleteVertexArrayOES_Callback_1_(this, arrayObject); | |
1689 | |
1690 @DomName('OESVertexArrayObject.isVertexArrayOES') | |
1691 @DocsEditable() | |
1692 bool isVertexArray(VertexArrayObjectOes arrayObject) => | |
1693 _blink.BlinkOESVertexArrayObject.instance | |
1694 .isVertexArrayOES_Callback_1_(this, arrayObject); | |
1695 } | |
1696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1697 // for details. All rights reserved. Use of this source code is governed by a | |
1698 // BSD-style license that can be found in the LICENSE file. | |
1699 | |
1700 // WARNING: Do not edit - generated code. | |
1701 | |
1702 @DocsEditable() | |
1703 @DomName('WebGLProgram') | |
1704 @Unstable() | |
1705 class Program extends DartHtmlDomObject { | |
1706 // To suppress missing implicit constructor warnings. | |
1707 factory Program._() { | |
1708 throw new UnsupportedError("Not supported"); | |
1709 } | |
1710 | |
1711 @Deprecated("Internal Use Only") | |
1712 external static Type get instanceRuntimeType; | |
1713 | |
1714 @Deprecated("Internal Use Only") | |
1715 Program.internal_() {} | |
1716 } | |
1717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1718 // for details. All rights reserved. Use of this source code is governed by a | |
1719 // BSD-style license that can be found in the LICENSE file. | |
1720 | |
1721 // WARNING: Do not edit - generated code. | |
1722 | |
1723 @DocsEditable() | |
1724 @DomName('WebGLQuery') | |
1725 @Experimental() // untriaged | |
1726 class Query extends DartHtmlDomObject { | |
1727 // To suppress missing implicit constructor warnings. | |
1728 factory Query._() { | |
1729 throw new UnsupportedError("Not supported"); | |
1730 } | |
1731 | |
1732 @Deprecated("Internal Use Only") | |
1733 external static Type get instanceRuntimeType; | |
1734 | |
1735 @Deprecated("Internal Use Only") | |
1736 Query.internal_() {} | |
1737 } | |
1738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1739 // for details. All rights reserved. Use of this source code is governed by a | |
1740 // BSD-style license that can be found in the LICENSE file. | |
1741 | |
1742 // WARNING: Do not edit - generated code. | |
1743 | |
1744 @DocsEditable() | |
1745 @DomName('WebGLRenderbuffer') | |
1746 @Unstable() | |
1747 class Renderbuffer extends DartHtmlDomObject { | |
1748 // To suppress missing implicit constructor warnings. | |
1749 factory Renderbuffer._() { | |
1750 throw new UnsupportedError("Not supported"); | |
1751 } | |
1752 | |
1753 @Deprecated("Internal Use Only") | |
1754 external static Type get instanceRuntimeType; | |
1755 | |
1756 @Deprecated("Internal Use Only") | |
1757 Renderbuffer.internal_() {} | |
1758 } | |
1759 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
1760 // for details. All rights reserved. Use of this source code is governed by a | |
1761 // BSD-style license that can be found in the LICENSE file. | |
1762 | |
1763 @DomName('WebGLRenderingContext') | |
1764 @SupportedBrowser(SupportedBrowser.CHROME) | |
1765 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1766 @Experimental() | |
1767 @Unstable() | |
1768 class RenderingContext extends DartHtmlDomObject | |
1769 implements CanvasRenderingContext { | |
1770 // To suppress missing implicit constructor warnings. | |
1771 factory RenderingContext._() { | |
1772 throw new UnsupportedError("Not supported"); | |
1773 } | |
1774 | |
1775 @Deprecated("Internal Use Only") | |
1776 external static Type get instanceRuntimeType; | |
1777 | |
1778 @Deprecated("Internal Use Only") | |
1779 RenderingContext.internal_() {} | |
1780 | |
1781 /// Checks if this type is supported on the current platform. | |
1782 static bool get supported => true; | |
1783 | |
1784 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') | |
1785 @DocsEditable() | |
1786 static const int ACTIVE_ATTRIBUTES = 0x8B89; | |
1787 | |
1788 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') | |
1789 @DocsEditable() | |
1790 static const int ACTIVE_TEXTURE = 0x84E0; | |
1791 | |
1792 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS') | |
1793 @DocsEditable() | |
1794 static const int ACTIVE_UNIFORMS = 0x8B86; | |
1795 | |
1796 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE') | |
1797 @DocsEditable() | |
1798 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; | |
1799 | |
1800 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE') | |
1801 @DocsEditable() | |
1802 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; | |
1803 | |
1804 @DomName('WebGLRenderingContext.ALPHA') | |
1805 @DocsEditable() | |
1806 static const int ALPHA = 0x1906; | |
1807 | |
1808 @DomName('WebGLRenderingContext.ALPHA_BITS') | |
1809 @DocsEditable() | |
1810 static const int ALPHA_BITS = 0x0D55; | |
1811 | |
1812 @DomName('WebGLRenderingContext.ALWAYS') | |
1813 @DocsEditable() | |
1814 static const int ALWAYS = 0x0207; | |
1815 | |
1816 @DomName('WebGLRenderingContext.ARRAY_BUFFER') | |
1817 @DocsEditable() | |
1818 static const int ARRAY_BUFFER = 0x8892; | |
1819 | |
1820 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING') | |
1821 @DocsEditable() | |
1822 static const int ARRAY_BUFFER_BINDING = 0x8894; | |
1823 | |
1824 @DomName('WebGLRenderingContext.ATTACHED_SHADERS') | |
1825 @DocsEditable() | |
1826 static const int ATTACHED_SHADERS = 0x8B85; | |
1827 | |
1828 @DomName('WebGLRenderingContext.BACK') | |
1829 @DocsEditable() | |
1830 static const int BACK = 0x0405; | |
1831 | |
1832 @DomName('WebGLRenderingContext.BLEND') | |
1833 @DocsEditable() | |
1834 static const int BLEND = 0x0BE2; | |
1835 | |
1836 @DomName('WebGLRenderingContext.BLEND_COLOR') | |
1837 @DocsEditable() | |
1838 static const int BLEND_COLOR = 0x8005; | |
1839 | |
1840 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA') | |
1841 @DocsEditable() | |
1842 static const int BLEND_DST_ALPHA = 0x80CA; | |
1843 | |
1844 @DomName('WebGLRenderingContext.BLEND_DST_RGB') | |
1845 @DocsEditable() | |
1846 static const int BLEND_DST_RGB = 0x80C8; | |
1847 | |
1848 @DomName('WebGLRenderingContext.BLEND_EQUATION') | |
1849 @DocsEditable() | |
1850 static const int BLEND_EQUATION = 0x8009; | |
1851 | |
1852 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA') | |
1853 @DocsEditable() | |
1854 static const int BLEND_EQUATION_ALPHA = 0x883D; | |
1855 | |
1856 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB') | |
1857 @DocsEditable() | |
1858 static const int BLEND_EQUATION_RGB = 0x8009; | |
1859 | |
1860 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA') | |
1861 @DocsEditable() | |
1862 static const int BLEND_SRC_ALPHA = 0x80CB; | |
1863 | |
1864 @DomName('WebGLRenderingContext.BLEND_SRC_RGB') | |
1865 @DocsEditable() | |
1866 static const int BLEND_SRC_RGB = 0x80C9; | |
1867 | |
1868 @DomName('WebGLRenderingContext.BLUE_BITS') | |
1869 @DocsEditable() | |
1870 static const int BLUE_BITS = 0x0D54; | |
1871 | |
1872 @DomName('WebGLRenderingContext.BOOL') | |
1873 @DocsEditable() | |
1874 static const int BOOL = 0x8B56; | |
1875 | |
1876 @DomName('WebGLRenderingContext.BOOL_VEC2') | |
1877 @DocsEditable() | |
1878 static const int BOOL_VEC2 = 0x8B57; | |
1879 | |
1880 @DomName('WebGLRenderingContext.BOOL_VEC3') | |
1881 @DocsEditable() | |
1882 static const int BOOL_VEC3 = 0x8B58; | |
1883 | |
1884 @DomName('WebGLRenderingContext.BOOL_VEC4') | |
1885 @DocsEditable() | |
1886 static const int BOOL_VEC4 = 0x8B59; | |
1887 | |
1888 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL') | |
1889 @DocsEditable() | |
1890 static const int BROWSER_DEFAULT_WEBGL = 0x9244; | |
1891 | |
1892 @DomName('WebGLRenderingContext.BUFFER_SIZE') | |
1893 @DocsEditable() | |
1894 static const int BUFFER_SIZE = 0x8764; | |
1895 | |
1896 @DomName('WebGLRenderingContext.BUFFER_USAGE') | |
1897 @DocsEditable() | |
1898 static const int BUFFER_USAGE = 0x8765; | |
1899 | |
1900 @DomName('WebGLRenderingContext.BYTE') | |
1901 @DocsEditable() | |
1902 static const int BYTE = 0x1400; | |
1903 | |
1904 @DomName('WebGLRenderingContext.CCW') | |
1905 @DocsEditable() | |
1906 static const int CCW = 0x0901; | |
1907 | |
1908 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE') | |
1909 @DocsEditable() | |
1910 static const int CLAMP_TO_EDGE = 0x812F; | |
1911 | |
1912 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0') | |
1913 @DocsEditable() | |
1914 static const int COLOR_ATTACHMENT0 = 0x8CE0; | |
1915 | |
1916 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT') | |
1917 @DocsEditable() | |
1918 static const int COLOR_BUFFER_BIT = 0x00004000; | |
1919 | |
1920 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE') | |
1921 @DocsEditable() | |
1922 static const int COLOR_CLEAR_VALUE = 0x0C22; | |
1923 | |
1924 @DomName('WebGLRenderingContext.COLOR_WRITEMASK') | |
1925 @DocsEditable() | |
1926 static const int COLOR_WRITEMASK = 0x0C23; | |
1927 | |
1928 @DomName('WebGLRenderingContext.COMPILE_STATUS') | |
1929 @DocsEditable() | |
1930 static const int COMPILE_STATUS = 0x8B81; | |
1931 | |
1932 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS') | |
1933 @DocsEditable() | |
1934 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; | |
1935 | |
1936 @DomName('WebGLRenderingContext.CONSTANT_ALPHA') | |
1937 @DocsEditable() | |
1938 static const int CONSTANT_ALPHA = 0x8003; | |
1939 | |
1940 @DomName('WebGLRenderingContext.CONSTANT_COLOR') | |
1941 @DocsEditable() | |
1942 static const int CONSTANT_COLOR = 0x8001; | |
1943 | |
1944 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL') | |
1945 @DocsEditable() | |
1946 static const int CONTEXT_LOST_WEBGL = 0x9242; | |
1947 | |
1948 @DomName('WebGLRenderingContext.CULL_FACE') | |
1949 @DocsEditable() | |
1950 static const int CULL_FACE = 0x0B44; | |
1951 | |
1952 @DomName('WebGLRenderingContext.CULL_FACE_MODE') | |
1953 @DocsEditable() | |
1954 static const int CULL_FACE_MODE = 0x0B45; | |
1955 | |
1956 @DomName('WebGLRenderingContext.CURRENT_PROGRAM') | |
1957 @DocsEditable() | |
1958 static const int CURRENT_PROGRAM = 0x8B8D; | |
1959 | |
1960 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB') | |
1961 @DocsEditable() | |
1962 static const int CURRENT_VERTEX_ATTRIB = 0x8626; | |
1963 | |
1964 @DomName('WebGLRenderingContext.CW') | |
1965 @DocsEditable() | |
1966 static const int CW = 0x0900; | |
1967 | |
1968 @DomName('WebGLRenderingContext.DECR') | |
1969 @DocsEditable() | |
1970 static const int DECR = 0x1E03; | |
1971 | |
1972 @DomName('WebGLRenderingContext.DECR_WRAP') | |
1973 @DocsEditable() | |
1974 static const int DECR_WRAP = 0x8508; | |
1975 | |
1976 @DomName('WebGLRenderingContext.DELETE_STATUS') | |
1977 @DocsEditable() | |
1978 static const int DELETE_STATUS = 0x8B80; | |
1979 | |
1980 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT') | |
1981 @DocsEditable() | |
1982 static const int DEPTH_ATTACHMENT = 0x8D00; | |
1983 | |
1984 @DomName('WebGLRenderingContext.DEPTH_BITS') | |
1985 @DocsEditable() | |
1986 static const int DEPTH_BITS = 0x0D56; | |
1987 | |
1988 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT') | |
1989 @DocsEditable() | |
1990 static const int DEPTH_BUFFER_BIT = 0x00000100; | |
1991 | |
1992 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE') | |
1993 @DocsEditable() | |
1994 static const int DEPTH_CLEAR_VALUE = 0x0B73; | |
1995 | |
1996 @DomName('WebGLRenderingContext.DEPTH_COMPONENT') | |
1997 @DocsEditable() | |
1998 static const int DEPTH_COMPONENT = 0x1902; | |
1999 | |
2000 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16') | |
2001 @DocsEditable() | |
2002 static const int DEPTH_COMPONENT16 = 0x81A5; | |
2003 | |
2004 @DomName('WebGLRenderingContext.DEPTH_FUNC') | |
2005 @DocsEditable() | |
2006 static const int DEPTH_FUNC = 0x0B74; | |
2007 | |
2008 @DomName('WebGLRenderingContext.DEPTH_RANGE') | |
2009 @DocsEditable() | |
2010 static const int DEPTH_RANGE = 0x0B70; | |
2011 | |
2012 @DomName('WebGLRenderingContext.DEPTH_STENCIL') | |
2013 @DocsEditable() | |
2014 static const int DEPTH_STENCIL = 0x84F9; | |
2015 | |
2016 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT') | |
2017 @DocsEditable() | |
2018 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; | |
2019 | |
2020 @DomName('WebGLRenderingContext.DEPTH_TEST') | |
2021 @DocsEditable() | |
2022 static const int DEPTH_TEST = 0x0B71; | |
2023 | |
2024 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK') | |
2025 @DocsEditable() | |
2026 static const int DEPTH_WRITEMASK = 0x0B72; | |
2027 | |
2028 @DomName('WebGLRenderingContext.DITHER') | |
2029 @DocsEditable() | |
2030 static const int DITHER = 0x0BD0; | |
2031 | |
2032 @DomName('WebGLRenderingContext.DONT_CARE') | |
2033 @DocsEditable() | |
2034 static const int DONT_CARE = 0x1100; | |
2035 | |
2036 @DomName('WebGLRenderingContext.DST_ALPHA') | |
2037 @DocsEditable() | |
2038 static const int DST_ALPHA = 0x0304; | |
2039 | |
2040 @DomName('WebGLRenderingContext.DST_COLOR') | |
2041 @DocsEditable() | |
2042 static const int DST_COLOR = 0x0306; | |
2043 | |
2044 @DomName('WebGLRenderingContext.DYNAMIC_DRAW') | |
2045 @DocsEditable() | |
2046 static const int DYNAMIC_DRAW = 0x88E8; | |
2047 | |
2048 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER') | |
2049 @DocsEditable() | |
2050 static const int ELEMENT_ARRAY_BUFFER = 0x8893; | |
2051 | |
2052 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') | |
2053 @DocsEditable() | |
2054 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; | |
2055 | |
2056 @DomName('WebGLRenderingContext.EQUAL') | |
2057 @DocsEditable() | |
2058 static const int EQUAL = 0x0202; | |
2059 | |
2060 @DomName('WebGLRenderingContext.FASTEST') | |
2061 @DocsEditable() | |
2062 static const int FASTEST = 0x1101; | |
2063 | |
2064 @DomName('WebGLRenderingContext.FLOAT') | |
2065 @DocsEditable() | |
2066 static const int FLOAT = 0x1406; | |
2067 | |
2068 @DomName('WebGLRenderingContext.FLOAT_MAT2') | |
2069 @DocsEditable() | |
2070 static const int FLOAT_MAT2 = 0x8B5A; | |
2071 | |
2072 @DomName('WebGLRenderingContext.FLOAT_MAT3') | |
2073 @DocsEditable() | |
2074 static const int FLOAT_MAT3 = 0x8B5B; | |
2075 | |
2076 @DomName('WebGLRenderingContext.FLOAT_MAT4') | |
2077 @DocsEditable() | |
2078 static const int FLOAT_MAT4 = 0x8B5C; | |
2079 | |
2080 @DomName('WebGLRenderingContext.FLOAT_VEC2') | |
2081 @DocsEditable() | |
2082 static const int FLOAT_VEC2 = 0x8B50; | |
2083 | |
2084 @DomName('WebGLRenderingContext.FLOAT_VEC3') | |
2085 @DocsEditable() | |
2086 static const int FLOAT_VEC3 = 0x8B51; | |
2087 | |
2088 @DomName('WebGLRenderingContext.FLOAT_VEC4') | |
2089 @DocsEditable() | |
2090 static const int FLOAT_VEC4 = 0x8B52; | |
2091 | |
2092 @DomName('WebGLRenderingContext.FRAGMENT_SHADER') | |
2093 @DocsEditable() | |
2094 static const int FRAGMENT_SHADER = 0x8B30; | |
2095 | |
2096 @DomName('WebGLRenderingContext.FRAMEBUFFER') | |
2097 @DocsEditable() | |
2098 static const int FRAMEBUFFER = 0x8D40; | |
2099 | |
2100 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') | |
2101 @DocsEditable() | |
2102 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | |
2103 | |
2104 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') | |
2105 @DocsEditable() | |
2106 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | |
2107 | |
2108 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') | |
2109 @DocsEditable() | |
2110 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | |
2111 | |
2112 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') | |
2113 @DocsEditable() | |
2114 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | |
2115 | |
2116 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING') | |
2117 @DocsEditable() | |
2118 static const int FRAMEBUFFER_BINDING = 0x8CA6; | |
2119 | |
2120 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE') | |
2121 @DocsEditable() | |
2122 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; | |
2123 | |
2124 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') | |
2125 @DocsEditable() | |
2126 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; | |
2127 | |
2128 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') | |
2129 @DocsEditable() | |
2130 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; | |
2131 | |
2132 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') | |
2133 @DocsEditable() | |
2134 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; | |
2135 | |
2136 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED') | |
2137 @DocsEditable() | |
2138 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; | |
2139 | |
2140 @DomName('WebGLRenderingContext.FRONT') | |
2141 @DocsEditable() | |
2142 static const int FRONT = 0x0404; | |
2143 | |
2144 @DomName('WebGLRenderingContext.FRONT_AND_BACK') | |
2145 @DocsEditable() | |
2146 static const int FRONT_AND_BACK = 0x0408; | |
2147 | |
2148 @DomName('WebGLRenderingContext.FRONT_FACE') | |
2149 @DocsEditable() | |
2150 static const int FRONT_FACE = 0x0B46; | |
2151 | |
2152 @DomName('WebGLRenderingContext.FUNC_ADD') | |
2153 @DocsEditable() | |
2154 static const int FUNC_ADD = 0x8006; | |
2155 | |
2156 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT') | |
2157 @DocsEditable() | |
2158 static const int FUNC_REVERSE_SUBTRACT = 0x800B; | |
2159 | |
2160 @DomName('WebGLRenderingContext.FUNC_SUBTRACT') | |
2161 @DocsEditable() | |
2162 static const int FUNC_SUBTRACT = 0x800A; | |
2163 | |
2164 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT') | |
2165 @DocsEditable() | |
2166 static const int GENERATE_MIPMAP_HINT = 0x8192; | |
2167 | |
2168 @DomName('WebGLRenderingContext.GEQUAL') | |
2169 @DocsEditable() | |
2170 static const int GEQUAL = 0x0206; | |
2171 | |
2172 @DomName('WebGLRenderingContext.GREATER') | |
2173 @DocsEditable() | |
2174 static const int GREATER = 0x0204; | |
2175 | |
2176 @DomName('WebGLRenderingContext.GREEN_BITS') | |
2177 @DocsEditable() | |
2178 static const int GREEN_BITS = 0x0D53; | |
2179 | |
2180 @DomName('WebGLRenderingContext.HIGH_FLOAT') | |
2181 @DocsEditable() | |
2182 static const int HIGH_FLOAT = 0x8DF2; | |
2183 | |
2184 @DomName('WebGLRenderingContext.HIGH_INT') | |
2185 @DocsEditable() | |
2186 static const int HIGH_INT = 0x8DF5; | |
2187 | |
2188 @DomName('WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT') | |
2189 @DocsEditable() | |
2190 @Experimental() // untriaged | |
2191 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; | |
2192 | |
2193 @DomName('WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE') | |
2194 @DocsEditable() | |
2195 @Experimental() // untriaged | |
2196 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; | |
2197 | |
2198 @DomName('WebGLRenderingContext.INCR') | |
2199 @DocsEditable() | |
2200 static const int INCR = 0x1E02; | |
2201 | |
2202 @DomName('WebGLRenderingContext.INCR_WRAP') | |
2203 @DocsEditable() | |
2204 static const int INCR_WRAP = 0x8507; | |
2205 | |
2206 @DomName('WebGLRenderingContext.INT') | |
2207 @DocsEditable() | |
2208 static const int INT = 0x1404; | |
2209 | |
2210 @DomName('WebGLRenderingContext.INT_VEC2') | |
2211 @DocsEditable() | |
2212 static const int INT_VEC2 = 0x8B53; | |
2213 | |
2214 @DomName('WebGLRenderingContext.INT_VEC3') | |
2215 @DocsEditable() | |
2216 static const int INT_VEC3 = 0x8B54; | |
2217 | |
2218 @DomName('WebGLRenderingContext.INT_VEC4') | |
2219 @DocsEditable() | |
2220 static const int INT_VEC4 = 0x8B55; | |
2221 | |
2222 @DomName('WebGLRenderingContext.INVALID_ENUM') | |
2223 @DocsEditable() | |
2224 static const int INVALID_ENUM = 0x0500; | |
2225 | |
2226 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION') | |
2227 @DocsEditable() | |
2228 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; | |
2229 | |
2230 @DomName('WebGLRenderingContext.INVALID_OPERATION') | |
2231 @DocsEditable() | |
2232 static const int INVALID_OPERATION = 0x0502; | |
2233 | |
2234 @DomName('WebGLRenderingContext.INVALID_VALUE') | |
2235 @DocsEditable() | |
2236 static const int INVALID_VALUE = 0x0501; | |
2237 | |
2238 @DomName('WebGLRenderingContext.INVERT') | |
2239 @DocsEditable() | |
2240 static const int INVERT = 0x150A; | |
2241 | |
2242 @DomName('WebGLRenderingContext.KEEP') | |
2243 @DocsEditable() | |
2244 static const int KEEP = 0x1E00; | |
2245 | |
2246 @DomName('WebGLRenderingContext.LEQUAL') | |
2247 @DocsEditable() | |
2248 static const int LEQUAL = 0x0203; | |
2249 | |
2250 @DomName('WebGLRenderingContext.LESS') | |
2251 @DocsEditable() | |
2252 static const int LESS = 0x0201; | |
2253 | |
2254 @DomName('WebGLRenderingContext.LINEAR') | |
2255 @DocsEditable() | |
2256 static const int LINEAR = 0x2601; | |
2257 | |
2258 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR') | |
2259 @DocsEditable() | |
2260 static const int LINEAR_MIPMAP_LINEAR = 0x2703; | |
2261 | |
2262 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST') | |
2263 @DocsEditable() | |
2264 static const int LINEAR_MIPMAP_NEAREST = 0x2701; | |
2265 | |
2266 @DomName('WebGLRenderingContext.LINES') | |
2267 @DocsEditable() | |
2268 static const int LINES = 0x0001; | |
2269 | |
2270 @DomName('WebGLRenderingContext.LINE_LOOP') | |
2271 @DocsEditable() | |
2272 static const int LINE_LOOP = 0x0002; | |
2273 | |
2274 @DomName('WebGLRenderingContext.LINE_STRIP') | |
2275 @DocsEditable() | |
2276 static const int LINE_STRIP = 0x0003; | |
2277 | |
2278 @DomName('WebGLRenderingContext.LINE_WIDTH') | |
2279 @DocsEditable() | |
2280 static const int LINE_WIDTH = 0x0B21; | |
2281 | |
2282 @DomName('WebGLRenderingContext.LINK_STATUS') | |
2283 @DocsEditable() | |
2284 static const int LINK_STATUS = 0x8B82; | |
2285 | |
2286 @DomName('WebGLRenderingContext.LOW_FLOAT') | |
2287 @DocsEditable() | |
2288 static const int LOW_FLOAT = 0x8DF0; | |
2289 | |
2290 @DomName('WebGLRenderingContext.LOW_INT') | |
2291 @DocsEditable() | |
2292 static const int LOW_INT = 0x8DF3; | |
2293 | |
2294 @DomName('WebGLRenderingContext.LUMINANCE') | |
2295 @DocsEditable() | |
2296 static const int LUMINANCE = 0x1909; | |
2297 | |
2298 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA') | |
2299 @DocsEditable() | |
2300 static const int LUMINANCE_ALPHA = 0x190A; | |
2301 | |
2302 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') | |
2303 @DocsEditable() | |
2304 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; | |
2305 | |
2306 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') | |
2307 @DocsEditable() | |
2308 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; | |
2309 | |
2310 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') | |
2311 @DocsEditable() | |
2312 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; | |
2313 | |
2314 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE') | |
2315 @DocsEditable() | |
2316 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; | |
2317 | |
2318 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS') | |
2319 @DocsEditable() | |
2320 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; | |
2321 | |
2322 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE') | |
2323 @DocsEditable() | |
2324 static const int MAX_TEXTURE_SIZE = 0x0D33; | |
2325 | |
2326 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS') | |
2327 @DocsEditable() | |
2328 static const int MAX_VARYING_VECTORS = 0x8DFC; | |
2329 | |
2330 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS') | |
2331 @DocsEditable() | |
2332 static const int MAX_VERTEX_ATTRIBS = 0x8869; | |
2333 | |
2334 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') | |
2335 @DocsEditable() | |
2336 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; | |
2337 | |
2338 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS') | |
2339 @DocsEditable() | |
2340 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; | |
2341 | |
2342 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS') | |
2343 @DocsEditable() | |
2344 static const int MAX_VIEWPORT_DIMS = 0x0D3A; | |
2345 | |
2346 @DomName('WebGLRenderingContext.MEDIUM_FLOAT') | |
2347 @DocsEditable() | |
2348 static const int MEDIUM_FLOAT = 0x8DF1; | |
2349 | |
2350 @DomName('WebGLRenderingContext.MEDIUM_INT') | |
2351 @DocsEditable() | |
2352 static const int MEDIUM_INT = 0x8DF4; | |
2353 | |
2354 @DomName('WebGLRenderingContext.MIRRORED_REPEAT') | |
2355 @DocsEditable() | |
2356 static const int MIRRORED_REPEAT = 0x8370; | |
2357 | |
2358 @DomName('WebGLRenderingContext.NEAREST') | |
2359 @DocsEditable() | |
2360 static const int NEAREST = 0x2600; | |
2361 | |
2362 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR') | |
2363 @DocsEditable() | |
2364 static const int NEAREST_MIPMAP_LINEAR = 0x2702; | |
2365 | |
2366 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST') | |
2367 @DocsEditable() | |
2368 static const int NEAREST_MIPMAP_NEAREST = 0x2700; | |
2369 | |
2370 @DomName('WebGLRenderingContext.NEVER') | |
2371 @DocsEditable() | |
2372 static const int NEVER = 0x0200; | |
2373 | |
2374 @DomName('WebGLRenderingContext.NICEST') | |
2375 @DocsEditable() | |
2376 static const int NICEST = 0x1102; | |
2377 | |
2378 @DomName('WebGLRenderingContext.NONE') | |
2379 @DocsEditable() | |
2380 static const int NONE = 0; | |
2381 | |
2382 @DomName('WebGLRenderingContext.NOTEQUAL') | |
2383 @DocsEditable() | |
2384 static const int NOTEQUAL = 0x0205; | |
2385 | |
2386 @DomName('WebGLRenderingContext.NO_ERROR') | |
2387 @DocsEditable() | |
2388 static const int NO_ERROR = 0; | |
2389 | |
2390 @DomName('WebGLRenderingContext.ONE') | |
2391 @DocsEditable() | |
2392 static const int ONE = 1; | |
2393 | |
2394 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA') | |
2395 @DocsEditable() | |
2396 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; | |
2397 | |
2398 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR') | |
2399 @DocsEditable() | |
2400 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; | |
2401 | |
2402 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA') | |
2403 @DocsEditable() | |
2404 static const int ONE_MINUS_DST_ALPHA = 0x0305; | |
2405 | |
2406 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR') | |
2407 @DocsEditable() | |
2408 static const int ONE_MINUS_DST_COLOR = 0x0307; | |
2409 | |
2410 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA') | |
2411 @DocsEditable() | |
2412 static const int ONE_MINUS_SRC_ALPHA = 0x0303; | |
2413 | |
2414 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR') | |
2415 @DocsEditable() | |
2416 static const int ONE_MINUS_SRC_COLOR = 0x0301; | |
2417 | |
2418 @DomName('WebGLRenderingContext.OUT_OF_MEMORY') | |
2419 @DocsEditable() | |
2420 static const int OUT_OF_MEMORY = 0x0505; | |
2421 | |
2422 @DomName('WebGLRenderingContext.PACK_ALIGNMENT') | |
2423 @DocsEditable() | |
2424 static const int PACK_ALIGNMENT = 0x0D05; | |
2425 | |
2426 @DomName('WebGLRenderingContext.POINTS') | |
2427 @DocsEditable() | |
2428 static const int POINTS = 0x0000; | |
2429 | |
2430 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR') | |
2431 @DocsEditable() | |
2432 static const int POLYGON_OFFSET_FACTOR = 0x8038; | |
2433 | |
2434 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL') | |
2435 @DocsEditable() | |
2436 static const int POLYGON_OFFSET_FILL = 0x8037; | |
2437 | |
2438 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS') | |
2439 @DocsEditable() | |
2440 static const int POLYGON_OFFSET_UNITS = 0x2A00; | |
2441 | |
2442 @DomName('WebGLRenderingContext.RED_BITS') | |
2443 @DocsEditable() | |
2444 static const int RED_BITS = 0x0D52; | |
2445 | |
2446 @DomName('WebGLRenderingContext.RENDERBUFFER') | |
2447 @DocsEditable() | |
2448 static const int RENDERBUFFER = 0x8D41; | |
2449 | |
2450 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE') | |
2451 @DocsEditable() | |
2452 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; | |
2453 | |
2454 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING') | |
2455 @DocsEditable() | |
2456 static const int RENDERBUFFER_BINDING = 0x8CA7; | |
2457 | |
2458 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE') | |
2459 @DocsEditable() | |
2460 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; | |
2461 | |
2462 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE') | |
2463 @DocsEditable() | |
2464 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; | |
2465 | |
2466 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE') | |
2467 @DocsEditable() | |
2468 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; | |
2469 | |
2470 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT') | |
2471 @DocsEditable() | |
2472 static const int RENDERBUFFER_HEIGHT = 0x8D43; | |
2473 | |
2474 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT') | |
2475 @DocsEditable() | |
2476 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; | |
2477 | |
2478 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE') | |
2479 @DocsEditable() | |
2480 static const int RENDERBUFFER_RED_SIZE = 0x8D50; | |
2481 | |
2482 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE') | |
2483 @DocsEditable() | |
2484 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; | |
2485 | |
2486 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH') | |
2487 @DocsEditable() | |
2488 static const int RENDERBUFFER_WIDTH = 0x8D42; | |
2489 | |
2490 @DomName('WebGLRenderingContext.RENDERER') | |
2491 @DocsEditable() | |
2492 static const int RENDERER = 0x1F01; | |
2493 | |
2494 @DomName('WebGLRenderingContext.REPEAT') | |
2495 @DocsEditable() | |
2496 static const int REPEAT = 0x2901; | |
2497 | |
2498 @DomName('WebGLRenderingContext.REPLACE') | |
2499 @DocsEditable() | |
2500 static const int REPLACE = 0x1E01; | |
2501 | |
2502 @DomName('WebGLRenderingContext.RGB') | |
2503 @DocsEditable() | |
2504 static const int RGB = 0x1907; | |
2505 | |
2506 @DomName('WebGLRenderingContext.RGB565') | |
2507 @DocsEditable() | |
2508 static const int RGB565 = 0x8D62; | |
2509 | |
2510 @DomName('WebGLRenderingContext.RGB5_A1') | |
2511 @DocsEditable() | |
2512 static const int RGB5_A1 = 0x8057; | |
2513 | |
2514 @DomName('WebGLRenderingContext.RGBA') | |
2515 @DocsEditable() | |
2516 static const int RGBA = 0x1908; | |
2517 | |
2518 @DomName('WebGLRenderingContext.RGBA4') | |
2519 @DocsEditable() | |
2520 static const int RGBA4 = 0x8056; | |
2521 | |
2522 @DomName('WebGLRenderingContext.SAMPLER_2D') | |
2523 @DocsEditable() | |
2524 static const int SAMPLER_2D = 0x8B5E; | |
2525 | |
2526 @DomName('WebGLRenderingContext.SAMPLER_CUBE') | |
2527 @DocsEditable() | |
2528 static const int SAMPLER_CUBE = 0x8B60; | |
2529 | |
2530 @DomName('WebGLRenderingContext.SAMPLES') | |
2531 @DocsEditable() | |
2532 static const int SAMPLES = 0x80A9; | |
2533 | |
2534 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE') | |
2535 @DocsEditable() | |
2536 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; | |
2537 | |
2538 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS') | |
2539 @DocsEditable() | |
2540 static const int SAMPLE_BUFFERS = 0x80A8; | |
2541 | |
2542 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE') | |
2543 @DocsEditable() | |
2544 static const int SAMPLE_COVERAGE = 0x80A0; | |
2545 | |
2546 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT') | |
2547 @DocsEditable() | |
2548 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; | |
2549 | |
2550 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE') | |
2551 @DocsEditable() | |
2552 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; | |
2553 | |
2554 @DomName('WebGLRenderingContext.SCISSOR_BOX') | |
2555 @DocsEditable() | |
2556 static const int SCISSOR_BOX = 0x0C10; | |
2557 | |
2558 @DomName('WebGLRenderingContext.SCISSOR_TEST') | |
2559 @DocsEditable() | |
2560 static const int SCISSOR_TEST = 0x0C11; | |
2561 | |
2562 @DomName('WebGLRenderingContext.SHADER_TYPE') | |
2563 @DocsEditable() | |
2564 static const int SHADER_TYPE = 0x8B4F; | |
2565 | |
2566 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION') | |
2567 @DocsEditable() | |
2568 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; | |
2569 | |
2570 @DomName('WebGLRenderingContext.SHORT') | |
2571 @DocsEditable() | |
2572 static const int SHORT = 0x1402; | |
2573 | |
2574 @DomName('WebGLRenderingContext.SRC_ALPHA') | |
2575 @DocsEditable() | |
2576 static const int SRC_ALPHA = 0x0302; | |
2577 | |
2578 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE') | |
2579 @DocsEditable() | |
2580 static const int SRC_ALPHA_SATURATE = 0x0308; | |
2581 | |
2582 @DomName('WebGLRenderingContext.SRC_COLOR') | |
2583 @DocsEditable() | |
2584 static const int SRC_COLOR = 0x0300; | |
2585 | |
2586 @DomName('WebGLRenderingContext.STATIC_DRAW') | |
2587 @DocsEditable() | |
2588 static const int STATIC_DRAW = 0x88E4; | |
2589 | |
2590 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT') | |
2591 @DocsEditable() | |
2592 static const int STENCIL_ATTACHMENT = 0x8D20; | |
2593 | |
2594 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL') | |
2595 @DocsEditable() | |
2596 static const int STENCIL_BACK_FAIL = 0x8801; | |
2597 | |
2598 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC') | |
2599 @DocsEditable() | |
2600 static const int STENCIL_BACK_FUNC = 0x8800; | |
2601 | |
2602 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') | |
2603 @DocsEditable() | |
2604 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; | |
2605 | |
2606 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') | |
2607 @DocsEditable() | |
2608 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; | |
2609 | |
2610 @DomName('WebGLRenderingContext.STENCIL_BACK_REF') | |
2611 @DocsEditable() | |
2612 static const int STENCIL_BACK_REF = 0x8CA3; | |
2613 | |
2614 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK') | |
2615 @DocsEditable() | |
2616 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; | |
2617 | |
2618 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK') | |
2619 @DocsEditable() | |
2620 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; | |
2621 | |
2622 @DomName('WebGLRenderingContext.STENCIL_BITS') | |
2623 @DocsEditable() | |
2624 static const int STENCIL_BITS = 0x0D57; | |
2625 | |
2626 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT') | |
2627 @DocsEditable() | |
2628 static const int STENCIL_BUFFER_BIT = 0x00000400; | |
2629 | |
2630 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE') | |
2631 @DocsEditable() | |
2632 static const int STENCIL_CLEAR_VALUE = 0x0B91; | |
2633 | |
2634 @DomName('WebGLRenderingContext.STENCIL_FAIL') | |
2635 @DocsEditable() | |
2636 static const int STENCIL_FAIL = 0x0B94; | |
2637 | |
2638 @DomName('WebGLRenderingContext.STENCIL_FUNC') | |
2639 @DocsEditable() | |
2640 static const int STENCIL_FUNC = 0x0B92; | |
2641 | |
2642 @DomName('WebGLRenderingContext.STENCIL_INDEX') | |
2643 @DocsEditable() | |
2644 static const int STENCIL_INDEX = 0x1901; | |
2645 | |
2646 @DomName('WebGLRenderingContext.STENCIL_INDEX8') | |
2647 @DocsEditable() | |
2648 static const int STENCIL_INDEX8 = 0x8D48; | |
2649 | |
2650 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL') | |
2651 @DocsEditable() | |
2652 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; | |
2653 | |
2654 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS') | |
2655 @DocsEditable() | |
2656 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; | |
2657 | |
2658 @DomName('WebGLRenderingContext.STENCIL_REF') | |
2659 @DocsEditable() | |
2660 static const int STENCIL_REF = 0x0B97; | |
2661 | |
2662 @DomName('WebGLRenderingContext.STENCIL_TEST') | |
2663 @DocsEditable() | |
2664 static const int STENCIL_TEST = 0x0B90; | |
2665 | |
2666 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK') | |
2667 @DocsEditable() | |
2668 static const int STENCIL_VALUE_MASK = 0x0B93; | |
2669 | |
2670 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK') | |
2671 @DocsEditable() | |
2672 static const int STENCIL_WRITEMASK = 0x0B98; | |
2673 | |
2674 @DomName('WebGLRenderingContext.STREAM_DRAW') | |
2675 @DocsEditable() | |
2676 static const int STREAM_DRAW = 0x88E0; | |
2677 | |
2678 @DomName('WebGLRenderingContext.SUBPIXEL_BITS') | |
2679 @DocsEditable() | |
2680 static const int SUBPIXEL_BITS = 0x0D50; | |
2681 | |
2682 @DomName('WebGLRenderingContext.TEXTURE') | |
2683 @DocsEditable() | |
2684 static const int TEXTURE = 0x1702; | |
2685 | |
2686 @DomName('WebGLRenderingContext.TEXTURE0') | |
2687 @DocsEditable() | |
2688 static const int TEXTURE0 = 0x84C0; | |
2689 | |
2690 @DomName('WebGLRenderingContext.TEXTURE1') | |
2691 @DocsEditable() | |
2692 static const int TEXTURE1 = 0x84C1; | |
2693 | |
2694 @DomName('WebGLRenderingContext.TEXTURE10') | |
2695 @DocsEditable() | |
2696 static const int TEXTURE10 = 0x84CA; | |
2697 | |
2698 @DomName('WebGLRenderingContext.TEXTURE11') | |
2699 @DocsEditable() | |
2700 static const int TEXTURE11 = 0x84CB; | |
2701 | |
2702 @DomName('WebGLRenderingContext.TEXTURE12') | |
2703 @DocsEditable() | |
2704 static const int TEXTURE12 = 0x84CC; | |
2705 | |
2706 @DomName('WebGLRenderingContext.TEXTURE13') | |
2707 @DocsEditable() | |
2708 static const int TEXTURE13 = 0x84CD; | |
2709 | |
2710 @DomName('WebGLRenderingContext.TEXTURE14') | |
2711 @DocsEditable() | |
2712 static const int TEXTURE14 = 0x84CE; | |
2713 | |
2714 @DomName('WebGLRenderingContext.TEXTURE15') | |
2715 @DocsEditable() | |
2716 static const int TEXTURE15 = 0x84CF; | |
2717 | |
2718 @DomName('WebGLRenderingContext.TEXTURE16') | |
2719 @DocsEditable() | |
2720 static const int TEXTURE16 = 0x84D0; | |
2721 | |
2722 @DomName('WebGLRenderingContext.TEXTURE17') | |
2723 @DocsEditable() | |
2724 static const int TEXTURE17 = 0x84D1; | |
2725 | |
2726 @DomName('WebGLRenderingContext.TEXTURE18') | |
2727 @DocsEditable() | |
2728 static const int TEXTURE18 = 0x84D2; | |
2729 | |
2730 @DomName('WebGLRenderingContext.TEXTURE19') | |
2731 @DocsEditable() | |
2732 static const int TEXTURE19 = 0x84D3; | |
2733 | |
2734 @DomName('WebGLRenderingContext.TEXTURE2') | |
2735 @DocsEditable() | |
2736 static const int TEXTURE2 = 0x84C2; | |
2737 | |
2738 @DomName('WebGLRenderingContext.TEXTURE20') | |
2739 @DocsEditable() | |
2740 static const int TEXTURE20 = 0x84D4; | |
2741 | |
2742 @DomName('WebGLRenderingContext.TEXTURE21') | |
2743 @DocsEditable() | |
2744 static const int TEXTURE21 = 0x84D5; | |
2745 | |
2746 @DomName('WebGLRenderingContext.TEXTURE22') | |
2747 @DocsEditable() | |
2748 static const int TEXTURE22 = 0x84D6; | |
2749 | |
2750 @DomName('WebGLRenderingContext.TEXTURE23') | |
2751 @DocsEditable() | |
2752 static const int TEXTURE23 = 0x84D7; | |
2753 | |
2754 @DomName('WebGLRenderingContext.TEXTURE24') | |
2755 @DocsEditable() | |
2756 static const int TEXTURE24 = 0x84D8; | |
2757 | |
2758 @DomName('WebGLRenderingContext.TEXTURE25') | |
2759 @DocsEditable() | |
2760 static const int TEXTURE25 = 0x84D9; | |
2761 | |
2762 @DomName('WebGLRenderingContext.TEXTURE26') | |
2763 @DocsEditable() | |
2764 static const int TEXTURE26 = 0x84DA; | |
2765 | |
2766 @DomName('WebGLRenderingContext.TEXTURE27') | |
2767 @DocsEditable() | |
2768 static const int TEXTURE27 = 0x84DB; | |
2769 | |
2770 @DomName('WebGLRenderingContext.TEXTURE28') | |
2771 @DocsEditable() | |
2772 static const int TEXTURE28 = 0x84DC; | |
2773 | |
2774 @DomName('WebGLRenderingContext.TEXTURE29') | |
2775 @DocsEditable() | |
2776 static const int TEXTURE29 = 0x84DD; | |
2777 | |
2778 @DomName('WebGLRenderingContext.TEXTURE3') | |
2779 @DocsEditable() | |
2780 static const int TEXTURE3 = 0x84C3; | |
2781 | |
2782 @DomName('WebGLRenderingContext.TEXTURE30') | |
2783 @DocsEditable() | |
2784 static const int TEXTURE30 = 0x84DE; | |
2785 | |
2786 @DomName('WebGLRenderingContext.TEXTURE31') | |
2787 @DocsEditable() | |
2788 static const int TEXTURE31 = 0x84DF; | |
2789 | |
2790 @DomName('WebGLRenderingContext.TEXTURE4') | |
2791 @DocsEditable() | |
2792 static const int TEXTURE4 = 0x84C4; | |
2793 | |
2794 @DomName('WebGLRenderingContext.TEXTURE5') | |
2795 @DocsEditable() | |
2796 static const int TEXTURE5 = 0x84C5; | |
2797 | |
2798 @DomName('WebGLRenderingContext.TEXTURE6') | |
2799 @DocsEditable() | |
2800 static const int TEXTURE6 = 0x84C6; | |
2801 | |
2802 @DomName('WebGLRenderingContext.TEXTURE7') | |
2803 @DocsEditable() | |
2804 static const int TEXTURE7 = 0x84C7; | |
2805 | |
2806 @DomName('WebGLRenderingContext.TEXTURE8') | |
2807 @DocsEditable() | |
2808 static const int TEXTURE8 = 0x84C8; | |
2809 | |
2810 @DomName('WebGLRenderingContext.TEXTURE9') | |
2811 @DocsEditable() | |
2812 static const int TEXTURE9 = 0x84C9; | |
2813 | |
2814 @DomName('WebGLRenderingContext.TEXTURE_2D') | |
2815 @DocsEditable() | |
2816 static const int TEXTURE_2D = 0x0DE1; | |
2817 | |
2818 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D') | |
2819 @DocsEditable() | |
2820 static const int TEXTURE_BINDING_2D = 0x8069; | |
2821 | |
2822 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP') | |
2823 @DocsEditable() | |
2824 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; | |
2825 | |
2826 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP') | |
2827 @DocsEditable() | |
2828 static const int TEXTURE_CUBE_MAP = 0x8513; | |
2829 | |
2830 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') | |
2831 @DocsEditable() | |
2832 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; | |
2833 | |
2834 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') | |
2835 @DocsEditable() | |
2836 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; | |
2837 | |
2838 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') | |
2839 @DocsEditable() | |
2840 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; | |
2841 | |
2842 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') | |
2843 @DocsEditable() | |
2844 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; | |
2845 | |
2846 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') | |
2847 @DocsEditable() | |
2848 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; | |
2849 | |
2850 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') | |
2851 @DocsEditable() | |
2852 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; | |
2853 | |
2854 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER') | |
2855 @DocsEditable() | |
2856 static const int TEXTURE_MAG_FILTER = 0x2800; | |
2857 | |
2858 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER') | |
2859 @DocsEditable() | |
2860 static const int TEXTURE_MIN_FILTER = 0x2801; | |
2861 | |
2862 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S') | |
2863 @DocsEditable() | |
2864 static const int TEXTURE_WRAP_S = 0x2802; | |
2865 | |
2866 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T') | |
2867 @DocsEditable() | |
2868 static const int TEXTURE_WRAP_T = 0x2803; | |
2869 | |
2870 @DomName('WebGLRenderingContext.TRIANGLES') | |
2871 @DocsEditable() | |
2872 static const int TRIANGLES = 0x0004; | |
2873 | |
2874 @DomName('WebGLRenderingContext.TRIANGLE_FAN') | |
2875 @DocsEditable() | |
2876 static const int TRIANGLE_FAN = 0x0006; | |
2877 | |
2878 @DomName('WebGLRenderingContext.TRIANGLE_STRIP') | |
2879 @DocsEditable() | |
2880 static const int TRIANGLE_STRIP = 0x0005; | |
2881 | |
2882 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT') | |
2883 @DocsEditable() | |
2884 static const int UNPACK_ALIGNMENT = 0x0CF5; | |
2885 | |
2886 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') | |
2887 @DocsEditable() | |
2888 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | |
2889 | |
2890 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL') | |
2891 @DocsEditable() | |
2892 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; | |
2893 | |
2894 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') | |
2895 @DocsEditable() | |
2896 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | |
2897 | |
2898 @DomName('WebGLRenderingContext.UNSIGNED_BYTE') | |
2899 @DocsEditable() | |
2900 static const int UNSIGNED_BYTE = 0x1401; | |
2901 | |
2902 @DomName('WebGLRenderingContext.UNSIGNED_INT') | |
2903 @DocsEditable() | |
2904 static const int UNSIGNED_INT = 0x1405; | |
2905 | |
2906 @DomName('WebGLRenderingContext.UNSIGNED_SHORT') | |
2907 @DocsEditable() | |
2908 static const int UNSIGNED_SHORT = 0x1403; | |
2909 | |
2910 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4') | |
2911 @DocsEditable() | |
2912 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; | |
2913 | |
2914 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1') | |
2915 @DocsEditable() | |
2916 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; | |
2917 | |
2918 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5') | |
2919 @DocsEditable() | |
2920 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; | |
2921 | |
2922 @DomName('WebGLRenderingContext.VALIDATE_STATUS') | |
2923 @DocsEditable() | |
2924 static const int VALIDATE_STATUS = 0x8B83; | |
2925 | |
2926 @DomName('WebGLRenderingContext.VENDOR') | |
2927 @DocsEditable() | |
2928 static const int VENDOR = 0x1F00; | |
2929 | |
2930 @DomName('WebGLRenderingContext.VERSION') | |
2931 @DocsEditable() | |
2932 static const int VERSION = 0x1F02; | |
2933 | |
2934 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') | |
2935 @DocsEditable() | |
2936 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; | |
2937 | |
2938 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') | |
2939 @DocsEditable() | |
2940 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; | |
2941 | |
2942 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') | |
2943 @DocsEditable() | |
2944 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; | |
2945 | |
2946 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') | |
2947 @DocsEditable() | |
2948 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; | |
2949 | |
2950 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') | |
2951 @DocsEditable() | |
2952 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; | |
2953 | |
2954 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') | |
2955 @DocsEditable() | |
2956 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | |
2957 | |
2958 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') | |
2959 @DocsEditable() | |
2960 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | |
2961 | |
2962 @DomName('WebGLRenderingContext.VERTEX_SHADER') | |
2963 @DocsEditable() | |
2964 static const int VERTEX_SHADER = 0x8B31; | |
2965 | |
2966 @DomName('WebGLRenderingContext.VIEWPORT') | |
2967 @DocsEditable() | |
2968 static const int VIEWPORT = 0x0BA2; | |
2969 | |
2970 @DomName('WebGLRenderingContext.ZERO') | |
2971 @DocsEditable() | |
2972 static const int ZERO = 0; | |
2973 | |
2974 @DomName('WebGLRenderingContext.canvas') | |
2975 @DocsEditable() | |
2976 @Experimental() // untriaged | |
2977 CanvasElement get canvas => | |
2978 _blink.BlinkWebGLRenderingContext.instance.canvas_Getter_(this); | |
2979 | |
2980 @DomName('WebGLRenderingContext.drawingBufferHeight') | |
2981 @DocsEditable() | |
2982 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance | |
2983 .drawingBufferHeight_Getter_(this); | |
2984 | |
2985 @DomName('WebGLRenderingContext.drawingBufferWidth') | |
2986 @DocsEditable() | |
2987 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance | |
2988 .drawingBufferWidth_Getter_(this); | |
2989 | |
2990 @DomName('WebGLRenderingContext.activeTexture') | |
2991 @DocsEditable() | |
2992 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance | |
2993 .activeTexture_Callback_1_(this, texture); | |
2994 | |
2995 @DomName('WebGLRenderingContext.attachShader') | |
2996 @DocsEditable() | |
2997 void attachShader(Program program, Shader shader) => | |
2998 _blink.BlinkWebGLRenderingContext.instance | |
2999 .attachShader_Callback_2_(this, program, shader); | |
3000 | |
3001 @DomName('WebGLRenderingContext.bindAttribLocation') | |
3002 @DocsEditable() | |
3003 void bindAttribLocation(Program program, int index, String name) => | |
3004 _blink.BlinkWebGLRenderingContext.instance | |
3005 .bindAttribLocation_Callback_3_(this, program, index, name); | |
3006 | |
3007 @DomName('WebGLRenderingContext.bindBuffer') | |
3008 @DocsEditable() | |
3009 void bindBuffer(int target, Buffer buffer) => | |
3010 _blink.BlinkWebGLRenderingContext.instance | |
3011 .bindBuffer_Callback_2_(this, target, buffer); | |
3012 | |
3013 @DomName('WebGLRenderingContext.bindFramebuffer') | |
3014 @DocsEditable() | |
3015 void bindFramebuffer(int target, Framebuffer framebuffer) => | |
3016 _blink.BlinkWebGLRenderingContext.instance | |
3017 .bindFramebuffer_Callback_2_(this, target, framebuffer); | |
3018 | |
3019 @DomName('WebGLRenderingContext.bindRenderbuffer') | |
3020 @DocsEditable() | |
3021 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => | |
3022 _blink.BlinkWebGLRenderingContext.instance | |
3023 .bindRenderbuffer_Callback_2_(this, target, renderbuffer); | |
3024 | |
3025 @DomName('WebGLRenderingContext.bindTexture') | |
3026 @DocsEditable() | |
3027 void bindTexture(int target, Texture texture) => | |
3028 _blink.BlinkWebGLRenderingContext.instance | |
3029 .bindTexture_Callback_2_(this, target, texture); | |
3030 | |
3031 @DomName('WebGLRenderingContext.blendColor') | |
3032 @DocsEditable() | |
3033 void blendColor(num red, num green, num blue, num alpha) => | |
3034 _blink.BlinkWebGLRenderingContext.instance | |
3035 .blendColor_Callback_4_(this, red, green, blue, alpha); | |
3036 | |
3037 @DomName('WebGLRenderingContext.blendEquation') | |
3038 @DocsEditable() | |
3039 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance | |
3040 .blendEquation_Callback_1_(this, mode); | |
3041 | |
3042 @DomName('WebGLRenderingContext.blendEquationSeparate') | |
3043 @DocsEditable() | |
3044 void blendEquationSeparate(int modeRGB, int modeAlpha) => | |
3045 _blink.BlinkWebGLRenderingContext.instance | |
3046 .blendEquationSeparate_Callback_2_(this, modeRGB, modeAlpha); | |
3047 | |
3048 @DomName('WebGLRenderingContext.blendFunc') | |
3049 @DocsEditable() | |
3050 void blendFunc(int sfactor, int dfactor) => | |
3051 _blink.BlinkWebGLRenderingContext.instance | |
3052 .blendFunc_Callback_2_(this, sfactor, dfactor); | |
3053 | |
3054 @DomName('WebGLRenderingContext.blendFuncSeparate') | |
3055 @DocsEditable() | |
3056 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => | |
3057 _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_( | |
3058 this, srcRGB, dstRGB, srcAlpha, dstAlpha); | |
3059 | |
3060 void bufferData(int target, data_OR_size, int usage) { | |
3061 if ((usage is int) && (data_OR_size is int) && (target is int)) { | |
3062 _blink.BlinkWebGLRenderingContext.instance | |
3063 .bufferData_Callback_3_(this, target, data_OR_size, usage); | |
3064 return; | |
3065 } | |
3066 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { | |
3067 _blink.BlinkWebGLRenderingContext.instance | |
3068 .bufferData_Callback_3_(this, target, data_OR_size, usage); | |
3069 return; | |
3070 } | |
3071 if ((usage is int) && | |
3072 (data_OR_size is ByteBuffer || data_OR_size == null) && | |
3073 (target is int)) { | |
3074 _blink.BlinkWebGLRenderingContext.instance | |
3075 .bufferData_Callback_3_(this, target, data_OR_size, usage); | |
3076 return; | |
3077 } | |
3078 throw new ArgumentError("Incorrect number or type of arguments"); | |
3079 } | |
3080 | |
3081 void bufferSubData(int target, int offset, data) { | |
3082 if ((data is TypedData) && (offset is int) && (target is int)) { | |
3083 _blink.BlinkWebGLRenderingContext.instance | |
3084 .bufferSubData_Callback_3_(this, target, offset, data); | |
3085 return; | |
3086 } | |
3087 if ((data is ByteBuffer || data == null) && | |
3088 (offset is int) && | |
3089 (target is int)) { | |
3090 _blink.BlinkWebGLRenderingContext.instance | |
3091 .bufferSubData_Callback_3_(this, target, offset, data); | |
3092 return; | |
3093 } | |
3094 throw new ArgumentError("Incorrect number or type of arguments"); | |
3095 } | |
3096 | |
3097 @DomName('WebGLRenderingContext.checkFramebufferStatus') | |
3098 @DocsEditable() | |
3099 int checkFramebufferStatus(int target) => | |
3100 _blink.BlinkWebGLRenderingContext.instance | |
3101 .checkFramebufferStatus_Callback_1_(this, target); | |
3102 | |
3103 @DomName('WebGLRenderingContext.clear') | |
3104 @DocsEditable() | |
3105 void clear(int mask) => | |
3106 _blink.BlinkWebGLRenderingContext.instance.clear_Callback_1_(this, mask); | |
3107 | |
3108 @DomName('WebGLRenderingContext.clearColor') | |
3109 @DocsEditable() | |
3110 void clearColor(num red, num green, num blue, num alpha) => | |
3111 _blink.BlinkWebGLRenderingContext.instance | |
3112 .clearColor_Callback_4_(this, red, green, blue, alpha); | |
3113 | |
3114 @DomName('WebGLRenderingContext.clearDepth') | |
3115 @DocsEditable() | |
3116 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance | |
3117 .clearDepth_Callback_1_(this, depth); | |
3118 | |
3119 @DomName('WebGLRenderingContext.clearStencil') | |
3120 @DocsEditable() | |
3121 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance | |
3122 .clearStencil_Callback_1_(this, s); | |
3123 | |
3124 @DomName('WebGLRenderingContext.colorMask') | |
3125 @DocsEditable() | |
3126 void colorMask(bool red, bool green, bool blue, bool alpha) => | |
3127 _blink.BlinkWebGLRenderingContext.instance | |
3128 .colorMask_Callback_4_(this, red, green, blue, alpha); | |
3129 | |
3130 @DomName('WebGLRenderingContext.compileShader') | |
3131 @DocsEditable() | |
3132 void compileShader(Shader shader) => | |
3133 _blink.BlinkWebGLRenderingContext.instance | |
3134 .compileShader_Callback_1_(this, shader); | |
3135 | |
3136 @DomName('WebGLRenderingContext.compressedTexImage2D') | |
3137 @DocsEditable() | |
3138 void compressedTexImage2D(int target, int level, int internalformat, | |
3139 int width, int height, int border, TypedData data) => | |
3140 _blink.BlinkWebGLRenderingContext.instance | |
3141 .compressedTexImage2D_Callback_7_( | |
3142 this, target, level, internalformat, width, height, border, data); | |
3143 | |
3144 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | |
3145 @DocsEditable() | |
3146 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, | |
3147 int width, int height, int format, TypedData data) => | |
3148 _blink.BlinkWebGLRenderingContext.instance | |
3149 .compressedTexSubImage2D_Callback_8_(this, target, level, xoffset, | |
3150 yoffset, width, height, format, data); | |
3151 | |
3152 @DomName('WebGLRenderingContext.copyTexImage2D') | |
3153 @DocsEditable() | |
3154 void copyTexImage2D(int target, int level, int internalformat, int x, int y, | |
3155 int width, int height, int border) => | |
3156 _blink.BlinkWebGLRenderingContext.instance.copyTexImage2D_Callback_8_( | |
3157 this, target, level, internalformat, x, y, width, height, border); | |
3158 | |
3159 @DomName('WebGLRenderingContext.copyTexSubImage2D') | |
3160 @DocsEditable() | |
3161 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, | |
3162 int y, int width, int height) => | |
3163 _blink.BlinkWebGLRenderingContext.instance.copyTexSubImage2D_Callback_8_( | |
3164 this, target, level, xoffset, yoffset, x, y, width, height); | |
3165 | |
3166 @DomName('WebGLRenderingContext.createBuffer') | |
3167 @DocsEditable() | |
3168 Buffer createBuffer() => | |
3169 _blink.BlinkWebGLRenderingContext.instance.createBuffer_Callback_0_(this); | |
3170 | |
3171 @DomName('WebGLRenderingContext.createFramebuffer') | |
3172 @DocsEditable() | |
3173 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance | |
3174 .createFramebuffer_Callback_0_(this); | |
3175 | |
3176 @DomName('WebGLRenderingContext.createProgram') | |
3177 @DocsEditable() | |
3178 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance | |
3179 .createProgram_Callback_0_(this); | |
3180 | |
3181 @DomName('WebGLRenderingContext.createRenderbuffer') | |
3182 @DocsEditable() | |
3183 Renderbuffer createRenderbuffer() => | |
3184 _blink.BlinkWebGLRenderingContext.instance | |
3185 .createRenderbuffer_Callback_0_(this); | |
3186 | |
3187 @DomName('WebGLRenderingContext.createShader') | |
3188 @DocsEditable() | |
3189 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance | |
3190 .createShader_Callback_1_(this, type); | |
3191 | |
3192 @DomName('WebGLRenderingContext.createTexture') | |
3193 @DocsEditable() | |
3194 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance | |
3195 .createTexture_Callback_0_(this); | |
3196 | |
3197 @DomName('WebGLRenderingContext.cullFace') | |
3198 @DocsEditable() | |
3199 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance | |
3200 .cullFace_Callback_1_(this, mode); | |
3201 | |
3202 @DomName('WebGLRenderingContext.deleteBuffer') | |
3203 @DocsEditable() | |
3204 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance | |
3205 .deleteBuffer_Callback_1_(this, buffer); | |
3206 | |
3207 @DomName('WebGLRenderingContext.deleteFramebuffer') | |
3208 @DocsEditable() | |
3209 void deleteFramebuffer(Framebuffer framebuffer) => | |
3210 _blink.BlinkWebGLRenderingContext.instance | |
3211 .deleteFramebuffer_Callback_1_(this, framebuffer); | |
3212 | |
3213 @DomName('WebGLRenderingContext.deleteProgram') | |
3214 @DocsEditable() | |
3215 void deleteProgram(Program program) => | |
3216 _blink.BlinkWebGLRenderingContext.instance | |
3217 .deleteProgram_Callback_1_(this, program); | |
3218 | |
3219 @DomName('WebGLRenderingContext.deleteRenderbuffer') | |
3220 @DocsEditable() | |
3221 void deleteRenderbuffer(Renderbuffer renderbuffer) => | |
3222 _blink.BlinkWebGLRenderingContext.instance | |
3223 .deleteRenderbuffer_Callback_1_(this, renderbuffer); | |
3224 | |
3225 @DomName('WebGLRenderingContext.deleteShader') | |
3226 @DocsEditable() | |
3227 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance | |
3228 .deleteShader_Callback_1_(this, shader); | |
3229 | |
3230 @DomName('WebGLRenderingContext.deleteTexture') | |
3231 @DocsEditable() | |
3232 void deleteTexture(Texture texture) => | |
3233 _blink.BlinkWebGLRenderingContext.instance | |
3234 .deleteTexture_Callback_1_(this, texture); | |
3235 | |
3236 @DomName('WebGLRenderingContext.depthFunc') | |
3237 @DocsEditable() | |
3238 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance | |
3239 .depthFunc_Callback_1_(this, func); | |
3240 | |
3241 @DomName('WebGLRenderingContext.depthMask') | |
3242 @DocsEditable() | |
3243 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance | |
3244 .depthMask_Callback_1_(this, flag); | |
3245 | |
3246 @DomName('WebGLRenderingContext.depthRange') | |
3247 @DocsEditable() | |
3248 void depthRange(num zNear, num zFar) => | |
3249 _blink.BlinkWebGLRenderingContext.instance | |
3250 .depthRange_Callback_2_(this, zNear, zFar); | |
3251 | |
3252 @DomName('WebGLRenderingContext.detachShader') | |
3253 @DocsEditable() | |
3254 void detachShader(Program program, Shader shader) => | |
3255 _blink.BlinkWebGLRenderingContext.instance | |
3256 .detachShader_Callback_2_(this, program, shader); | |
3257 | |
3258 @DomName('WebGLRenderingContext.disable') | |
3259 @DocsEditable() | |
3260 void disable(int cap) => | |
3261 _blink.BlinkWebGLRenderingContext.instance.disable_Callback_1_(this, cap); | |
3262 | |
3263 @DomName('WebGLRenderingContext.disableVertexAttribArray') | |
3264 @DocsEditable() | |
3265 void disableVertexAttribArray(int index) => | |
3266 _blink.BlinkWebGLRenderingContext.instance | |
3267 .disableVertexAttribArray_Callback_1_(this, index); | |
3268 | |
3269 @DomName('WebGLRenderingContext.drawArrays') | |
3270 @DocsEditable() | |
3271 void drawArrays(int mode, int first, int count) => | |
3272 _blink.BlinkWebGLRenderingContext.instance | |
3273 .drawArrays_Callback_3_(this, mode, first, count); | |
3274 | |
3275 @DomName('WebGLRenderingContext.drawElements') | |
3276 @DocsEditable() | |
3277 void drawElements(int mode, int count, int type, int offset) => | |
3278 _blink.BlinkWebGLRenderingContext.instance | |
3279 .drawElements_Callback_4_(this, mode, count, type, offset); | |
3280 | |
3281 @DomName('WebGLRenderingContext.enable') | |
3282 @DocsEditable() | |
3283 void enable(int cap) => | |
3284 _blink.BlinkWebGLRenderingContext.instance.enable_Callback_1_(this, cap); | |
3285 | |
3286 @DomName('WebGLRenderingContext.enableVertexAttribArray') | |
3287 @DocsEditable() | |
3288 void enableVertexAttribArray(int index) => | |
3289 _blink.BlinkWebGLRenderingContext.instance | |
3290 .enableVertexAttribArray_Callback_1_(this, index); | |
3291 | |
3292 @DomName('WebGLRenderingContext.finish') | |
3293 @DocsEditable() | |
3294 void finish() => | |
3295 _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_(this); | |
3296 | |
3297 @DomName('WebGLRenderingContext.flush') | |
3298 @DocsEditable() | |
3299 void flush() => | |
3300 _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(this); | |
3301 | |
3302 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | |
3303 @DocsEditable() | |
3304 void framebufferRenderbuffer(int target, int attachment, | |
3305 int renderbuffertarget, Renderbuffer renderbuffer) => | |
3306 _blink.BlinkWebGLRenderingContext.instance | |
3307 .framebufferRenderbuffer_Callback_4_( | |
3308 this, target, attachment, renderbuffertarget, renderbuffer); | |
3309 | |
3310 @DomName('WebGLRenderingContext.framebufferTexture2D') | |
3311 @DocsEditable() | |
3312 void framebufferTexture2D(int target, int attachment, int textarget, | |
3313 Texture texture, int level) => | |
3314 _blink.BlinkWebGLRenderingContext.instance | |
3315 .framebufferTexture2D_Callback_5_( | |
3316 this, target, attachment, textarget, texture, level); | |
3317 | |
3318 @DomName('WebGLRenderingContext.frontFace') | |
3319 @DocsEditable() | |
3320 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance | |
3321 .frontFace_Callback_1_(this, mode); | |
3322 | |
3323 @DomName('WebGLRenderingContext.generateMipmap') | |
3324 @DocsEditable() | |
3325 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance | |
3326 .generateMipmap_Callback_1_(this, target); | |
3327 | |
3328 @DomName('WebGLRenderingContext.getActiveAttrib') | |
3329 @DocsEditable() | |
3330 ActiveInfo getActiveAttrib(Program program, int index) => | |
3331 _blink.BlinkWebGLRenderingContext.instance | |
3332 .getActiveAttrib_Callback_2_(this, program, index); | |
3333 | |
3334 @DomName('WebGLRenderingContext.getActiveUniform') | |
3335 @DocsEditable() | |
3336 ActiveInfo getActiveUniform(Program program, int index) => | |
3337 _blink.BlinkWebGLRenderingContext.instance | |
3338 .getActiveUniform_Callback_2_(this, program, index); | |
3339 | |
3340 @DomName('WebGLRenderingContext.getAttachedShaders') | |
3341 @DocsEditable() | |
3342 List<Shader> getAttachedShaders(Program program) => | |
3343 _blink.BlinkWebGLRenderingContext.instance | |
3344 .getAttachedShaders_Callback_1_(this, program); | |
3345 | |
3346 @DomName('WebGLRenderingContext.getAttribLocation') | |
3347 @DocsEditable() | |
3348 int getAttribLocation(Program program, String name) => | |
3349 _blink.BlinkWebGLRenderingContext.instance | |
3350 .getAttribLocation_Callback_2_(this, program, name); | |
3351 | |
3352 @DomName('WebGLRenderingContext.getBufferParameter') | |
3353 @DocsEditable() | |
3354 Object getBufferParameter(int target, int pname) => | |
3355 (_blink.BlinkWebGLRenderingContext.instance | |
3356 .getBufferParameter_Callback_2_(this, target, pname)); | |
3357 | |
3358 @DomName('WebGLRenderingContext.getContextAttributes') | |
3359 @DocsEditable() | |
3360 getContextAttributes() => convertNativeDictionaryToDartDictionary((_blink | |
3361 .BlinkWebGLRenderingContext.instance | |
3362 .getContextAttributes_Callback_0_(this))); | |
3363 | |
3364 @DomName('WebGLRenderingContext.getError') | |
3365 @DocsEditable() | |
3366 int getError() => | |
3367 _blink.BlinkWebGLRenderingContext.instance.getError_Callback_0_(this); | |
3368 | |
3369 @DomName('WebGLRenderingContext.getExtension') | |
3370 @DocsEditable() | |
3371 Object getExtension(String name) => | |
3372 (_blink.BlinkWebGLRenderingContext.instance | |
3373 .getExtension_Callback_1_(this, name)); | |
3374 | |
3375 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | |
3376 @DocsEditable() | |
3377 Object getFramebufferAttachmentParameter( | |
3378 int target, int attachment, int pname) => | |
3379 (_blink.BlinkWebGLRenderingContext.instance | |
3380 .getFramebufferAttachmentParameter_Callback_3_( | |
3381 this, target, attachment, pname)); | |
3382 | |
3383 @DomName('WebGLRenderingContext.getParameter') | |
3384 @DocsEditable() | |
3385 Object getParameter(int pname) => (_blink.BlinkWebGLRenderingContext.instance | |
3386 .getParameter_Callback_1_(this, pname)); | |
3387 | |
3388 @DomName('WebGLRenderingContext.getProgramInfoLog') | |
3389 @DocsEditable() | |
3390 String getProgramInfoLog(Program program) => | |
3391 _blink.BlinkWebGLRenderingContext.instance | |
3392 .getProgramInfoLog_Callback_1_(this, program); | |
3393 | |
3394 @DomName('WebGLRenderingContext.getProgramParameter') | |
3395 @DocsEditable() | |
3396 Object getProgramParameter(Program program, int pname) => | |
3397 (_blink.BlinkWebGLRenderingContext.instance | |
3398 .getProgramParameter_Callback_2_(this, program, pname)); | |
3399 | |
3400 @DomName('WebGLRenderingContext.getRenderbufferParameter') | |
3401 @DocsEditable() | |
3402 Object getRenderbufferParameter(int target, int pname) => | |
3403 (_blink.BlinkWebGLRenderingContext.instance | |
3404 .getRenderbufferParameter_Callback_2_(this, target, pname)); | |
3405 | |
3406 @DomName('WebGLRenderingContext.getShaderInfoLog') | |
3407 @DocsEditable() | |
3408 String getShaderInfoLog(Shader shader) => | |
3409 _blink.BlinkWebGLRenderingContext.instance | |
3410 .getShaderInfoLog_Callback_1_(this, shader); | |
3411 | |
3412 @DomName('WebGLRenderingContext.getShaderParameter') | |
3413 @DocsEditable() | |
3414 Object getShaderParameter(Shader shader, int pname) => | |
3415 (_blink.BlinkWebGLRenderingContext.instance | |
3416 .getShaderParameter_Callback_2_(this, shader, pname)); | |
3417 | |
3418 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | |
3419 @DocsEditable() | |
3420 ShaderPrecisionFormat getShaderPrecisionFormat( | |
3421 int shadertype, int precisiontype) => | |
3422 _blink.BlinkWebGLRenderingContext.instance | |
3423 .getShaderPrecisionFormat_Callback_2_( | |
3424 this, shadertype, precisiontype); | |
3425 | |
3426 @DomName('WebGLRenderingContext.getShaderSource') | |
3427 @DocsEditable() | |
3428 String getShaderSource(Shader shader) => | |
3429 _blink.BlinkWebGLRenderingContext.instance | |
3430 .getShaderSource_Callback_1_(this, shader); | |
3431 | |
3432 @DomName('WebGLRenderingContext.getSupportedExtensions') | |
3433 @DocsEditable() | |
3434 List<String> getSupportedExtensions() => | |
3435 _blink.BlinkWebGLRenderingContext.instance | |
3436 .getSupportedExtensions_Callback_0_(this); | |
3437 | |
3438 @DomName('WebGLRenderingContext.getTexParameter') | |
3439 @DocsEditable() | |
3440 Object getTexParameter(int target, int pname) => | |
3441 (_blink.BlinkWebGLRenderingContext.instance | |
3442 .getTexParameter_Callback_2_(this, target, pname)); | |
3443 | |
3444 @DomName('WebGLRenderingContext.getUniform') | |
3445 @DocsEditable() | |
3446 Object getUniform(Program program, UniformLocation location) => | |
3447 (_blink.BlinkWebGLRenderingContext.instance | |
3448 .getUniform_Callback_2_(this, program, location)); | |
3449 | |
3450 @DomName('WebGLRenderingContext.getUniformLocation') | |
3451 @DocsEditable() | |
3452 UniformLocation getUniformLocation(Program program, String name) => | |
3453 _blink.BlinkWebGLRenderingContext.instance | |
3454 .getUniformLocation_Callback_2_(this, program, name); | |
3455 | |
3456 @DomName('WebGLRenderingContext.getVertexAttrib') | |
3457 @DocsEditable() | |
3458 Object getVertexAttrib(int index, int pname) => | |
3459 (_blink.BlinkWebGLRenderingContext.instance | |
3460 .getVertexAttrib_Callback_2_(this, index, pname)); | |
3461 | |
3462 @DomName('WebGLRenderingContext.getVertexAttribOffset') | |
3463 @DocsEditable() | |
3464 int getVertexAttribOffset(int index, int pname) => | |
3465 _blink.BlinkWebGLRenderingContext.instance | |
3466 .getVertexAttribOffset_Callback_2_(this, index, pname); | |
3467 | |
3468 @DomName('WebGLRenderingContext.hint') | |
3469 @DocsEditable() | |
3470 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance | |
3471 .hint_Callback_2_(this, target, mode); | |
3472 | |
3473 @DomName('WebGLRenderingContext.isBuffer') | |
3474 @DocsEditable() | |
3475 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance | |
3476 .isBuffer_Callback_1_(this, buffer); | |
3477 | |
3478 @DomName('WebGLRenderingContext.isContextLost') | |
3479 @DocsEditable() | |
3480 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance | |
3481 .isContextLost_Callback_0_(this); | |
3482 | |
3483 @DomName('WebGLRenderingContext.isEnabled') | |
3484 @DocsEditable() | |
3485 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance | |
3486 .isEnabled_Callback_1_(this, cap); | |
3487 | |
3488 @DomName('WebGLRenderingContext.isFramebuffer') | |
3489 @DocsEditable() | |
3490 bool isFramebuffer(Framebuffer framebuffer) => | |
3491 _blink.BlinkWebGLRenderingContext.instance | |
3492 .isFramebuffer_Callback_1_(this, framebuffer); | |
3493 | |
3494 @DomName('WebGLRenderingContext.isProgram') | |
3495 @DocsEditable() | |
3496 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance | |
3497 .isProgram_Callback_1_(this, program); | |
3498 | |
3499 @DomName('WebGLRenderingContext.isRenderbuffer') | |
3500 @DocsEditable() | |
3501 bool isRenderbuffer(Renderbuffer renderbuffer) => | |
3502 _blink.BlinkWebGLRenderingContext.instance | |
3503 .isRenderbuffer_Callback_1_(this, renderbuffer); | |
3504 | |
3505 @DomName('WebGLRenderingContext.isShader') | |
3506 @DocsEditable() | |
3507 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance | |
3508 .isShader_Callback_1_(this, shader); | |
3509 | |
3510 @DomName('WebGLRenderingContext.isTexture') | |
3511 @DocsEditable() | |
3512 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance | |
3513 .isTexture_Callback_1_(this, texture); | |
3514 | |
3515 @DomName('WebGLRenderingContext.lineWidth') | |
3516 @DocsEditable() | |
3517 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance | |
3518 .lineWidth_Callback_1_(this, width); | |
3519 | |
3520 @DomName('WebGLRenderingContext.linkProgram') | |
3521 @DocsEditable() | |
3522 void linkProgram(Program program) => | |
3523 _blink.BlinkWebGLRenderingContext.instance | |
3524 .linkProgram_Callback_1_(this, program); | |
3525 | |
3526 @DomName('WebGLRenderingContext.pixelStorei') | |
3527 @DocsEditable() | |
3528 void pixelStorei(int pname, int param) => | |
3529 _blink.BlinkWebGLRenderingContext.instance | |
3530 .pixelStorei_Callback_2_(this, pname, param); | |
3531 | |
3532 @DomName('WebGLRenderingContext.polygonOffset') | |
3533 @DocsEditable() | |
3534 void polygonOffset(num factor, num units) => | |
3535 _blink.BlinkWebGLRenderingContext.instance | |
3536 .polygonOffset_Callback_2_(this, factor, units); | |
3537 | |
3538 @DomName('WebGLRenderingContext.readPixels') | |
3539 @DocsEditable() | |
3540 void _readPixels(int x, int y, int width, int height, int format, int type, | |
3541 TypedData pixels) => | |
3542 _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback_7_( | |
3543 this, x, y, width, height, format, type, pixels); | |
3544 | |
3545 @DomName('WebGLRenderingContext.renderbufferStorage') | |
3546 @DocsEditable() | |
3547 void renderbufferStorage( | |
3548 int target, int internalformat, int width, int height) => | |
3549 _blink.BlinkWebGLRenderingContext.instance | |
3550 .renderbufferStorage_Callback_4_( | |
3551 this, target, internalformat, width, height); | |
3552 | |
3553 @DomName('WebGLRenderingContext.sampleCoverage') | |
3554 @DocsEditable() | |
3555 void sampleCoverage(num value, bool invert) => | |
3556 _blink.BlinkWebGLRenderingContext.instance | |
3557 .sampleCoverage_Callback_2_(this, value, invert); | |
3558 | |
3559 @DomName('WebGLRenderingContext.scissor') | |
3560 @DocsEditable() | |
3561 void scissor(int x, int y, int width, int height) => | |
3562 _blink.BlinkWebGLRenderingContext.instance | |
3563 .scissor_Callback_4_(this, x, y, width, height); | |
3564 | |
3565 @DomName('WebGLRenderingContext.shaderSource') | |
3566 @DocsEditable() | |
3567 void shaderSource(Shader shader, String string) => | |
3568 _blink.BlinkWebGLRenderingContext.instance | |
3569 .shaderSource_Callback_2_(this, shader, string); | |
3570 | |
3571 @DomName('WebGLRenderingContext.stencilFunc') | |
3572 @DocsEditable() | |
3573 void stencilFunc(int func, int ref, int mask) => | |
3574 _blink.BlinkWebGLRenderingContext.instance | |
3575 .stencilFunc_Callback_3_(this, func, ref, mask); | |
3576 | |
3577 @DomName('WebGLRenderingContext.stencilFuncSeparate') | |
3578 @DocsEditable() | |
3579 void stencilFuncSeparate(int face, int func, int ref, int mask) => | |
3580 _blink.BlinkWebGLRenderingContext.instance | |
3581 .stencilFuncSeparate_Callback_4_(this, face, func, ref, mask); | |
3582 | |
3583 @DomName('WebGLRenderingContext.stencilMask') | |
3584 @DocsEditable() | |
3585 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance | |
3586 .stencilMask_Callback_1_(this, mask); | |
3587 | |
3588 @DomName('WebGLRenderingContext.stencilMaskSeparate') | |
3589 @DocsEditable() | |
3590 void stencilMaskSeparate(int face, int mask) => | |
3591 _blink.BlinkWebGLRenderingContext.instance | |
3592 .stencilMaskSeparate_Callback_2_(this, face, mask); | |
3593 | |
3594 @DomName('WebGLRenderingContext.stencilOp') | |
3595 @DocsEditable() | |
3596 void stencilOp(int fail, int zfail, int zpass) => | |
3597 _blink.BlinkWebGLRenderingContext.instance | |
3598 .stencilOp_Callback_3_(this, fail, zfail, zpass); | |
3599 | |
3600 @DomName('WebGLRenderingContext.stencilOpSeparate') | |
3601 @DocsEditable() | |
3602 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => | |
3603 _blink.BlinkWebGLRenderingContext.instance | |
3604 .stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); | |
3605 | |
3606 void texImage2D( | |
3607 int target, | |
3608 int level, | |
3609 int internalformat, | |
3610 int format_OR_width, | |
3611 int height_OR_type, | |
3612 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, | |
3613 [int format, | |
3614 int type, | |
3615 TypedData pixels]) { | |
3616 if ((pixels is TypedData || pixels == null) && | |
3617 (type is int) && | |
3618 (format is int) && | |
3619 (bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is int) && | |
3620 (height_OR_type is int) && | |
3621 (format_OR_width is int) && | |
3622 (internalformat is int) && | |
3623 (level is int) && | |
3624 (target is int)) { | |
3625 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_( | |
3626 this, | |
3627 target, | |
3628 level, | |
3629 internalformat, | |
3630 format_OR_width, | |
3631 height_OR_type, | |
3632 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, | |
3633 format, | |
3634 type, | |
3635 pixels); | |
3636 return; | |
3637 } | |
3638 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || | |
3639 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video == null) && | |
3640 (height_OR_type is int) && | |
3641 (format_OR_width is int) && | |
3642 (internalformat is int) && | |
3643 (level is int) && | |
3644 (target is int) && | |
3645 format == null && | |
3646 type == null && | |
3647 pixels == null) { | |
3648 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | |
3649 this, | |
3650 target, | |
3651 level, | |
3652 internalformat, | |
3653 format_OR_width, | |
3654 height_OR_type, | |
3655 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
3656 return; | |
3657 } | |
3658 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
3659 is ImageElement) && | |
3660 (height_OR_type is int) && | |
3661 (format_OR_width is int) && | |
3662 (internalformat is int) && | |
3663 (level is int) && | |
3664 (target is int) && | |
3665 format == null && | |
3666 type == null && | |
3667 pixels == null) { | |
3668 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | |
3669 this, | |
3670 target, | |
3671 level, | |
3672 internalformat, | |
3673 format_OR_width, | |
3674 height_OR_type, | |
3675 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
3676 return; | |
3677 } | |
3678 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
3679 is CanvasElement) && | |
3680 (height_OR_type is int) && | |
3681 (format_OR_width is int) && | |
3682 (internalformat is int) && | |
3683 (level is int) && | |
3684 (target is int) && | |
3685 format == null && | |
3686 type == null && | |
3687 pixels == null) { | |
3688 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | |
3689 this, | |
3690 target, | |
3691 level, | |
3692 internalformat, | |
3693 format_OR_width, | |
3694 height_OR_type, | |
3695 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
3696 return; | |
3697 } | |
3698 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
3699 is VideoElement) && | |
3700 (height_OR_type is int) && | |
3701 (format_OR_width is int) && | |
3702 (internalformat is int) && | |
3703 (level is int) && | |
3704 (target is int) && | |
3705 format == null && | |
3706 type == null && | |
3707 pixels == null) { | |
3708 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | |
3709 this, | |
3710 target, | |
3711 level, | |
3712 internalformat, | |
3713 format_OR_width, | |
3714 height_OR_type, | |
3715 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
3716 return; | |
3717 } | |
3718 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
3719 is ImageBitmap) && | |
3720 (height_OR_type is int) && | |
3721 (format_OR_width is int) && | |
3722 (internalformat is int) && | |
3723 (level is int) && | |
3724 (target is int) && | |
3725 format == null && | |
3726 type == null && | |
3727 pixels == null) { | |
3728 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | |
3729 this, | |
3730 target, | |
3731 level, | |
3732 internalformat, | |
3733 format_OR_width, | |
3734 height_OR_type, | |
3735 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
3736 return; | |
3737 } | |
3738 throw new ArgumentError("Incorrect number or type of arguments"); | |
3739 } | |
3740 | |
3741 @DomName('WebGLRenderingContext.texParameterf') | |
3742 @DocsEditable() | |
3743 void texParameterf(int target, int pname, num param) => | |
3744 _blink.BlinkWebGLRenderingContext.instance | |
3745 .texParameterf_Callback_3_(this, target, pname, param); | |
3746 | |
3747 @DomName('WebGLRenderingContext.texParameteri') | |
3748 @DocsEditable() | |
3749 void texParameteri(int target, int pname, int param) => | |
3750 _blink.BlinkWebGLRenderingContext.instance | |
3751 .texParameteri_Callback_3_(this, target, pname, param); | |
3752 | |
3753 void texSubImage2D( | |
3754 int target, | |
3755 int level, | |
3756 int xoffset, | |
3757 int yoffset, | |
3758 int format_OR_width, | |
3759 int height_OR_type, | |
3760 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, | |
3761 [int type, | |
3762 TypedData pixels]) { | |
3763 if ((pixels is TypedData || pixels == null) && | |
3764 (type is int) && | |
3765 (bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is int) && | |
3766 (height_OR_type is int) && | |
3767 (format_OR_width is int) && | |
3768 (yoffset is int) && | |
3769 (xoffset is int) && | |
3770 (level is int) && | |
3771 (target is int)) { | |
3772 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_( | |
3773 this, | |
3774 target, | |
3775 level, | |
3776 xoffset, | |
3777 yoffset, | |
3778 format_OR_width, | |
3779 height_OR_type, | |
3780 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, | |
3781 type, | |
3782 pixels); | |
3783 return; | |
3784 } | |
3785 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || | |
3786 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video == null) && | |
3787 (height_OR_type is int) && | |
3788 (format_OR_width is int) && | |
3789 (yoffset is int) && | |
3790 (xoffset is int) && | |
3791 (level is int) && | |
3792 (target is int) && | |
3793 type == null && | |
3794 pixels == null) { | |
3795 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | |
3796 this, | |
3797 target, | |
3798 level, | |
3799 xoffset, | |
3800 yoffset, | |
3801 format_OR_width, | |
3802 height_OR_type, | |
3803 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
3804 return; | |
3805 } | |
3806 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
3807 is ImageElement) && | |
3808 (height_OR_type is int) && | |
3809 (format_OR_width is int) && | |
3810 (yoffset is int) && | |
3811 (xoffset is int) && | |
3812 (level is int) && | |
3813 (target is int) && | |
3814 type == null && | |
3815 pixels == null) { | |
3816 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | |
3817 this, | |
3818 target, | |
3819 level, | |
3820 xoffset, | |
3821 yoffset, | |
3822 format_OR_width, | |
3823 height_OR_type, | |
3824 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
3825 return; | |
3826 } | |
3827 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
3828 is CanvasElement) && | |
3829 (height_OR_type is int) && | |
3830 (format_OR_width is int) && | |
3831 (yoffset is int) && | |
3832 (xoffset is int) && | |
3833 (level is int) && | |
3834 (target is int) && | |
3835 type == null && | |
3836 pixels == null) { | |
3837 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | |
3838 this, | |
3839 target, | |
3840 level, | |
3841 xoffset, | |
3842 yoffset, | |
3843 format_OR_width, | |
3844 height_OR_type, | |
3845 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
3846 return; | |
3847 } | |
3848 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
3849 is VideoElement) && | |
3850 (height_OR_type is int) && | |
3851 (format_OR_width is int) && | |
3852 (yoffset is int) && | |
3853 (xoffset is int) && | |
3854 (level is int) && | |
3855 (target is int) && | |
3856 type == null && | |
3857 pixels == null) { | |
3858 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | |
3859 this, | |
3860 target, | |
3861 level, | |
3862 xoffset, | |
3863 yoffset, | |
3864 format_OR_width, | |
3865 height_OR_type, | |
3866 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
3867 return; | |
3868 } | |
3869 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
3870 is ImageBitmap) && | |
3871 (height_OR_type is int) && | |
3872 (format_OR_width is int) && | |
3873 (yoffset is int) && | |
3874 (xoffset is int) && | |
3875 (level is int) && | |
3876 (target is int) && | |
3877 type == null && | |
3878 pixels == null) { | |
3879 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | |
3880 this, | |
3881 target, | |
3882 level, | |
3883 xoffset, | |
3884 yoffset, | |
3885 format_OR_width, | |
3886 height_OR_type, | |
3887 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
3888 return; | |
3889 } | |
3890 throw new ArgumentError("Incorrect number or type of arguments"); | |
3891 } | |
3892 | |
3893 @DomName('WebGLRenderingContext.uniform1f') | |
3894 @DocsEditable() | |
3895 void uniform1f(UniformLocation location, num x) => | |
3896 _blink.BlinkWebGLRenderingContext.instance | |
3897 .uniform1f_Callback_2_(this, location, x); | |
3898 | |
3899 void uniform1fv(UniformLocation location, v) { | |
3900 if ((v is Float32List) && | |
3901 (location is UniformLocation || location == null)) { | |
3902 _blink.BlinkWebGLRenderingContext.instance | |
3903 .uniform1fv_Callback_2_(this, location, v); | |
3904 return; | |
3905 } | |
3906 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
3907 _blink.BlinkWebGLRenderingContext.instance | |
3908 .uniform1fv_Callback_2_(this, location, v); | |
3909 return; | |
3910 } | |
3911 throw new ArgumentError("Incorrect number or type of arguments"); | |
3912 } | |
3913 | |
3914 @DomName('WebGLRenderingContext.uniform1i') | |
3915 @DocsEditable() | |
3916 void uniform1i(UniformLocation location, int x) => | |
3917 _blink.BlinkWebGLRenderingContext.instance | |
3918 .uniform1i_Callback_2_(this, location, x); | |
3919 | |
3920 void uniform1iv(UniformLocation location, v) { | |
3921 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
3922 _blink.BlinkWebGLRenderingContext.instance | |
3923 .uniform1iv_Callback_2_(this, location, v); | |
3924 return; | |
3925 } | |
3926 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
3927 _blink.BlinkWebGLRenderingContext.instance | |
3928 .uniform1iv_Callback_2_(this, location, v); | |
3929 return; | |
3930 } | |
3931 throw new ArgumentError("Incorrect number or type of arguments"); | |
3932 } | |
3933 | |
3934 @DomName('WebGLRenderingContext.uniform2f') | |
3935 @DocsEditable() | |
3936 void uniform2f(UniformLocation location, num x, num y) => | |
3937 _blink.BlinkWebGLRenderingContext.instance | |
3938 .uniform2f_Callback_3_(this, location, x, y); | |
3939 | |
3940 void uniform2fv(UniformLocation location, v) { | |
3941 if ((v is Float32List) && | |
3942 (location is UniformLocation || location == null)) { | |
3943 _blink.BlinkWebGLRenderingContext.instance | |
3944 .uniform2fv_Callback_2_(this, location, v); | |
3945 return; | |
3946 } | |
3947 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
3948 _blink.BlinkWebGLRenderingContext.instance | |
3949 .uniform2fv_Callback_2_(this, location, v); | |
3950 return; | |
3951 } | |
3952 throw new ArgumentError("Incorrect number or type of arguments"); | |
3953 } | |
3954 | |
3955 @DomName('WebGLRenderingContext.uniform2i') | |
3956 @DocsEditable() | |
3957 void uniform2i(UniformLocation location, int x, int y) => | |
3958 _blink.BlinkWebGLRenderingContext.instance | |
3959 .uniform2i_Callback_3_(this, location, x, y); | |
3960 | |
3961 void uniform2iv(UniformLocation location, v) { | |
3962 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
3963 _blink.BlinkWebGLRenderingContext.instance | |
3964 .uniform2iv_Callback_2_(this, location, v); | |
3965 return; | |
3966 } | |
3967 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
3968 _blink.BlinkWebGLRenderingContext.instance | |
3969 .uniform2iv_Callback_2_(this, location, v); | |
3970 return; | |
3971 } | |
3972 throw new ArgumentError("Incorrect number or type of arguments"); | |
3973 } | |
3974 | |
3975 @DomName('WebGLRenderingContext.uniform3f') | |
3976 @DocsEditable() | |
3977 void uniform3f(UniformLocation location, num x, num y, num z) => | |
3978 _blink.BlinkWebGLRenderingContext.instance | |
3979 .uniform3f_Callback_4_(this, location, x, y, z); | |
3980 | |
3981 void uniform3fv(UniformLocation location, v) { | |
3982 if ((v is Float32List) && | |
3983 (location is UniformLocation || location == null)) { | |
3984 _blink.BlinkWebGLRenderingContext.instance | |
3985 .uniform3fv_Callback_2_(this, location, v); | |
3986 return; | |
3987 } | |
3988 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
3989 _blink.BlinkWebGLRenderingContext.instance | |
3990 .uniform3fv_Callback_2_(this, location, v); | |
3991 return; | |
3992 } | |
3993 throw new ArgumentError("Incorrect number or type of arguments"); | |
3994 } | |
3995 | |
3996 @DomName('WebGLRenderingContext.uniform3i') | |
3997 @DocsEditable() | |
3998 void uniform3i(UniformLocation location, int x, int y, int z) => | |
3999 _blink.BlinkWebGLRenderingContext.instance | |
4000 .uniform3i_Callback_4_(this, location, x, y, z); | |
4001 | |
4002 void uniform3iv(UniformLocation location, v) { | |
4003 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
4004 _blink.BlinkWebGLRenderingContext.instance | |
4005 .uniform3iv_Callback_2_(this, location, v); | |
4006 return; | |
4007 } | |
4008 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
4009 _blink.BlinkWebGLRenderingContext.instance | |
4010 .uniform3iv_Callback_2_(this, location, v); | |
4011 return; | |
4012 } | |
4013 throw new ArgumentError("Incorrect number or type of arguments"); | |
4014 } | |
4015 | |
4016 @DomName('WebGLRenderingContext.uniform4f') | |
4017 @DocsEditable() | |
4018 void uniform4f(UniformLocation location, num x, num y, num z, num w) => | |
4019 _blink.BlinkWebGLRenderingContext.instance | |
4020 .uniform4f_Callback_5_(this, location, x, y, z, w); | |
4021 | |
4022 void uniform4fv(UniformLocation location, v) { | |
4023 if ((v is Float32List) && | |
4024 (location is UniformLocation || location == null)) { | |
4025 _blink.BlinkWebGLRenderingContext.instance | |
4026 .uniform4fv_Callback_2_(this, location, v); | |
4027 return; | |
4028 } | |
4029 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
4030 _blink.BlinkWebGLRenderingContext.instance | |
4031 .uniform4fv_Callback_2_(this, location, v); | |
4032 return; | |
4033 } | |
4034 throw new ArgumentError("Incorrect number or type of arguments"); | |
4035 } | |
4036 | |
4037 @DomName('WebGLRenderingContext.uniform4i') | |
4038 @DocsEditable() | |
4039 void uniform4i(UniformLocation location, int x, int y, int z, int w) => | |
4040 _blink.BlinkWebGLRenderingContext.instance | |
4041 .uniform4i_Callback_5_(this, location, x, y, z, w); | |
4042 | |
4043 void uniform4iv(UniformLocation location, v) { | |
4044 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
4045 _blink.BlinkWebGLRenderingContext.instance | |
4046 .uniform4iv_Callback_2_(this, location, v); | |
4047 return; | |
4048 } | |
4049 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
4050 _blink.BlinkWebGLRenderingContext.instance | |
4051 .uniform4iv_Callback_2_(this, location, v); | |
4052 return; | |
4053 } | |
4054 throw new ArgumentError("Incorrect number or type of arguments"); | |
4055 } | |
4056 | |
4057 void uniformMatrix2fv(UniformLocation location, bool transpose, array) { | |
4058 if ((array is Float32List) && | |
4059 (transpose is bool) && | |
4060 (location is UniformLocation || location == null)) { | |
4061 _blink.BlinkWebGLRenderingContext.instance | |
4062 .uniformMatrix2fv_Callback_3_(this, location, transpose, array); | |
4063 return; | |
4064 } | |
4065 if ((array is List<num>) && | |
4066 (transpose is bool) && | |
4067 (location is UniformLocation || location == null)) { | |
4068 _blink.BlinkWebGLRenderingContext.instance | |
4069 .uniformMatrix2fv_Callback_3_(this, location, transpose, array); | |
4070 return; | |
4071 } | |
4072 throw new ArgumentError("Incorrect number or type of arguments"); | |
4073 } | |
4074 | |
4075 void uniformMatrix3fv(UniformLocation location, bool transpose, array) { | |
4076 if ((array is Float32List) && | |
4077 (transpose is bool) && | |
4078 (location is UniformLocation || location == null)) { | |
4079 _blink.BlinkWebGLRenderingContext.instance | |
4080 .uniformMatrix3fv_Callback_3_(this, location, transpose, array); | |
4081 return; | |
4082 } | |
4083 if ((array is List<num>) && | |
4084 (transpose is bool) && | |
4085 (location is UniformLocation || location == null)) { | |
4086 _blink.BlinkWebGLRenderingContext.instance | |
4087 .uniformMatrix3fv_Callback_3_(this, location, transpose, array); | |
4088 return; | |
4089 } | |
4090 throw new ArgumentError("Incorrect number or type of arguments"); | |
4091 } | |
4092 | |
4093 void uniformMatrix4fv(UniformLocation location, bool transpose, array) { | |
4094 if ((array is Float32List) && | |
4095 (transpose is bool) && | |
4096 (location is UniformLocation || location == null)) { | |
4097 _blink.BlinkWebGLRenderingContext.instance | |
4098 .uniformMatrix4fv_Callback_3_(this, location, transpose, array); | |
4099 return; | |
4100 } | |
4101 if ((array is List<num>) && | |
4102 (transpose is bool) && | |
4103 (location is UniformLocation || location == null)) { | |
4104 _blink.BlinkWebGLRenderingContext.instance | |
4105 .uniformMatrix4fv_Callback_3_(this, location, transpose, array); | |
4106 return; | |
4107 } | |
4108 throw new ArgumentError("Incorrect number or type of arguments"); | |
4109 } | |
4110 | |
4111 @DomName('WebGLRenderingContext.useProgram') | |
4112 @DocsEditable() | |
4113 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance | |
4114 .useProgram_Callback_1_(this, program); | |
4115 | |
4116 @DomName('WebGLRenderingContext.validateProgram') | |
4117 @DocsEditable() | |
4118 void validateProgram(Program program) => | |
4119 _blink.BlinkWebGLRenderingContext.instance | |
4120 .validateProgram_Callback_1_(this, program); | |
4121 | |
4122 @DomName('WebGLRenderingContext.vertexAttrib1f') | |
4123 @DocsEditable() | |
4124 void vertexAttrib1f(int indx, num x) => | |
4125 _blink.BlinkWebGLRenderingContext.instance | |
4126 .vertexAttrib1f_Callback_2_(this, indx, x); | |
4127 | |
4128 void vertexAttrib1fv(int indx, values) { | |
4129 if ((values is Float32List) && (indx is int)) { | |
4130 _blink.BlinkWebGLRenderingContext.instance | |
4131 .vertexAttrib1fv_Callback_2_(this, indx, values); | |
4132 return; | |
4133 } | |
4134 if ((values is List<num>) && (indx is int)) { | |
4135 _blink.BlinkWebGLRenderingContext.instance | |
4136 .vertexAttrib1fv_Callback_2_(this, indx, values); | |
4137 return; | |
4138 } | |
4139 throw new ArgumentError("Incorrect number or type of arguments"); | |
4140 } | |
4141 | |
4142 @DomName('WebGLRenderingContext.vertexAttrib2f') | |
4143 @DocsEditable() | |
4144 void vertexAttrib2f(int indx, num x, num y) => | |
4145 _blink.BlinkWebGLRenderingContext.instance | |
4146 .vertexAttrib2f_Callback_3_(this, indx, x, y); | |
4147 | |
4148 void vertexAttrib2fv(int indx, values) { | |
4149 if ((values is Float32List) && (indx is int)) { | |
4150 _blink.BlinkWebGLRenderingContext.instance | |
4151 .vertexAttrib2fv_Callback_2_(this, indx, values); | |
4152 return; | |
4153 } | |
4154 if ((values is List<num>) && (indx is int)) { | |
4155 _blink.BlinkWebGLRenderingContext.instance | |
4156 .vertexAttrib2fv_Callback_2_(this, indx, values); | |
4157 return; | |
4158 } | |
4159 throw new ArgumentError("Incorrect number or type of arguments"); | |
4160 } | |
4161 | |
4162 @DomName('WebGLRenderingContext.vertexAttrib3f') | |
4163 @DocsEditable() | |
4164 void vertexAttrib3f(int indx, num x, num y, num z) => | |
4165 _blink.BlinkWebGLRenderingContext.instance | |
4166 .vertexAttrib3f_Callback_4_(this, indx, x, y, z); | |
4167 | |
4168 void vertexAttrib3fv(int indx, values) { | |
4169 if ((values is Float32List) && (indx is int)) { | |
4170 _blink.BlinkWebGLRenderingContext.instance | |
4171 .vertexAttrib3fv_Callback_2_(this, indx, values); | |
4172 return; | |
4173 } | |
4174 if ((values is List<num>) && (indx is int)) { | |
4175 _blink.BlinkWebGLRenderingContext.instance | |
4176 .vertexAttrib3fv_Callback_2_(this, indx, values); | |
4177 return; | |
4178 } | |
4179 throw new ArgumentError("Incorrect number or type of arguments"); | |
4180 } | |
4181 | |
4182 @DomName('WebGLRenderingContext.vertexAttrib4f') | |
4183 @DocsEditable() | |
4184 void vertexAttrib4f(int indx, num x, num y, num z, num w) => | |
4185 _blink.BlinkWebGLRenderingContext.instance | |
4186 .vertexAttrib4f_Callback_5_(this, indx, x, y, z, w); | |
4187 | |
4188 void vertexAttrib4fv(int indx, values) { | |
4189 if ((values is Float32List) && (indx is int)) { | |
4190 _blink.BlinkWebGLRenderingContext.instance | |
4191 .vertexAttrib4fv_Callback_2_(this, indx, values); | |
4192 return; | |
4193 } | |
4194 if ((values is List<num>) && (indx is int)) { | |
4195 _blink.BlinkWebGLRenderingContext.instance | |
4196 .vertexAttrib4fv_Callback_2_(this, indx, values); | |
4197 return; | |
4198 } | |
4199 throw new ArgumentError("Incorrect number or type of arguments"); | |
4200 } | |
4201 | |
4202 @DomName('WebGLRenderingContext.vertexAttribPointer') | |
4203 @DocsEditable() | |
4204 void vertexAttribPointer(int indx, int size, int type, bool normalized, | |
4205 int stride, int offset) => | |
4206 _blink.BlinkWebGLRenderingContext.instance | |
4207 .vertexAttribPointer_Callback_6_( | |
4208 this, indx, size, type, normalized, stride, offset); | |
4209 | |
4210 @DomName('WebGLRenderingContext.viewport') | |
4211 @DocsEditable() | |
4212 void viewport(int x, int y, int width, int height) => | |
4213 _blink.BlinkWebGLRenderingContext.instance | |
4214 .viewport_Callback_4_(this, x, y, width, height); | |
4215 | |
4216 @DomName('WebGLRenderingContext.readPixels') | |
4217 @DocsEditable() | |
4218 void readPixels(int x, int y, int width, int height, int format, int type, | |
4219 TypedData pixels) { | |
4220 var data = js.toArrayBufferView(pixels); | |
4221 _readPixels(x, y, width, height, format, type, data); | |
4222 for (var i = 0; i < data.length; i++) { | |
4223 pixels[i] = data[i]; | |
4224 } | |
4225 } | |
4226 | |
4227 /** | |
4228 * Sets the currently bound texture to [data]. | |
4229 * | |
4230 * [data] can be either an [ImageElement], a | |
4231 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. | |
4232 * | |
4233 * This is deprecated in favor of [texImage2D]. | |
4234 */ | |
4235 @Deprecated("Use texImage2D") | |
4236 void texImage2DUntyped(int targetTexture, int levelOfDetail, | |
4237 int internalFormat, int format, int type, data) { | |
4238 texImage2D( | |
4239 targetTexture, levelOfDetail, internalFormat, format, type, data); | |
4240 } | |
4241 | |
4242 /** | |
4243 * Sets the currently bound texture to [data]. | |
4244 * | |
4245 * This is deprecated in favour of [texImage2D]. | |
4246 */ | |
4247 @Deprecated("Use texImage2D") | |
4248 void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, | |
4249 int width, int height, int border, int format, int type, TypedData data) { | |
4250 texImage2D(targetTexture, levelOfDetail, internalFormat, width, height, | |
4251 border, format, type, data); | |
4252 } | |
4253 | |
4254 /** | |
4255 * Updates a sub-rectangle of the currently bound texture to [data]. | |
4256 * | |
4257 * [data] can be either an [ImageElement], a | |
4258 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. | |
4259 * | |
4260 */ | |
4261 @Deprecated("Use texSubImage2D") | |
4262 void texSubImage2DUntyped(int targetTexture, int levelOfDetail, int xOffset, | |
4263 int yOffset, int format, int type, data) { | |
4264 texSubImage2D( | |
4265 targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); | |
4266 } | |
4267 | |
4268 /** | |
4269 * Updates a sub-rectangle of the currently bound texture to [data]. | |
4270 */ | |
4271 @Deprecated("Use texSubImage2D") | |
4272 void texSubImage2DTyped( | |
4273 int targetTexture, | |
4274 int levelOfDetail, | |
4275 int xOffset, | |
4276 int yOffset, | |
4277 int width, | |
4278 int height, | |
4279 int border, | |
4280 int format, | |
4281 int type, | |
4282 TypedData data) { | |
4283 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, width, height, | |
4284 format, type, data); | |
4285 } | |
4286 | |
4287 /** | |
4288 * Set the bufferData to [data]. | |
4289 */ | |
4290 @Deprecated("Use bufferData") | |
4291 void bufferDataTyped(int target, TypedData data, int usage) { | |
4292 bufferData(target, data, usage); | |
4293 } | |
4294 | |
4295 /** | |
4296 * Set the bufferSubData to [data]. | |
4297 */ | |
4298 @Deprecated("Use bufferSubData") | |
4299 void bufferSubDataTyped(int target, int offset, TypedData data) { | |
4300 bufferSubData(target, offset, data); | |
4301 } | |
4302 } | |
4303 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
4304 // for details. All rights reserved. Use of this source code is governed by a | |
4305 // BSD-style license that can be found in the LICENSE file. | |
4306 | |
4307 @DocsEditable() | |
4308 @DomName('WebGL2RenderingContext') | |
4309 @Experimental() // untriaged | |
4310 class RenderingContext2 extends DartHtmlDomObject | |
4311 implements _WebGL2RenderingContextBase, _WebGLRenderingContextBase { | |
4312 // To suppress missing implicit constructor warnings. | |
4313 factory RenderingContext2._() { | |
4314 throw new UnsupportedError("Not supported"); | |
4315 } | |
4316 | |
4317 @Deprecated("Internal Use Only") | |
4318 external static Type get instanceRuntimeType; | |
4319 | |
4320 @Deprecated("Internal Use Only") | |
4321 RenderingContext2.internal_() {} | |
4322 | |
4323 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') | |
4324 @DocsEditable() | |
4325 @Experimental() // untriaged | |
4326 static const int ACTIVE_ATTRIBUTES = 0x8B89; | |
4327 | |
4328 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') | |
4329 @DocsEditable() | |
4330 @Experimental() // untriaged | |
4331 static const int ACTIVE_TEXTURE = 0x84E0; | |
4332 | |
4333 @DomName('WebGL2RenderingContext.ACTIVE_UNIFORMS') | |
4334 @DocsEditable() | |
4335 @Experimental() // untriaged | |
4336 static const int ACTIVE_UNIFORMS = 0x8B86; | |
4337 | |
4338 @DomName('WebGL2RenderingContext.ALIASED_LINE_WIDTH_RANGE') | |
4339 @DocsEditable() | |
4340 @Experimental() // untriaged | |
4341 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; | |
4342 | |
4343 @DomName('WebGL2RenderingContext.ALIASED_POINT_SIZE_RANGE') | |
4344 @DocsEditable() | |
4345 @Experimental() // untriaged | |
4346 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; | |
4347 | |
4348 @DomName('WebGL2RenderingContext.ALPHA') | |
4349 @DocsEditable() | |
4350 @Experimental() // untriaged | |
4351 static const int ALPHA = 0x1906; | |
4352 | |
4353 @DomName('WebGL2RenderingContext.ALPHA_BITS') | |
4354 @DocsEditable() | |
4355 @Experimental() // untriaged | |
4356 static const int ALPHA_BITS = 0x0D55; | |
4357 | |
4358 @DomName('WebGL2RenderingContext.ALWAYS') | |
4359 @DocsEditable() | |
4360 @Experimental() // untriaged | |
4361 static const int ALWAYS = 0x0207; | |
4362 | |
4363 @DomName('WebGL2RenderingContext.ARRAY_BUFFER') | |
4364 @DocsEditable() | |
4365 @Experimental() // untriaged | |
4366 static const int ARRAY_BUFFER = 0x8892; | |
4367 | |
4368 @DomName('WebGL2RenderingContext.ARRAY_BUFFER_BINDING') | |
4369 @DocsEditable() | |
4370 @Experimental() // untriaged | |
4371 static const int ARRAY_BUFFER_BINDING = 0x8894; | |
4372 | |
4373 @DomName('WebGL2RenderingContext.ATTACHED_SHADERS') | |
4374 @DocsEditable() | |
4375 @Experimental() // untriaged | |
4376 static const int ATTACHED_SHADERS = 0x8B85; | |
4377 | |
4378 @DomName('WebGL2RenderingContext.BACK') | |
4379 @DocsEditable() | |
4380 @Experimental() // untriaged | |
4381 static const int BACK = 0x0405; | |
4382 | |
4383 @DomName('WebGL2RenderingContext.BLEND') | |
4384 @DocsEditable() | |
4385 @Experimental() // untriaged | |
4386 static const int BLEND = 0x0BE2; | |
4387 | |
4388 @DomName('WebGL2RenderingContext.BLEND_COLOR') | |
4389 @DocsEditable() | |
4390 @Experimental() // untriaged | |
4391 static const int BLEND_COLOR = 0x8005; | |
4392 | |
4393 @DomName('WebGL2RenderingContext.BLEND_DST_ALPHA') | |
4394 @DocsEditable() | |
4395 @Experimental() // untriaged | |
4396 static const int BLEND_DST_ALPHA = 0x80CA; | |
4397 | |
4398 @DomName('WebGL2RenderingContext.BLEND_DST_RGB') | |
4399 @DocsEditable() | |
4400 @Experimental() // untriaged | |
4401 static const int BLEND_DST_RGB = 0x80C8; | |
4402 | |
4403 @DomName('WebGL2RenderingContext.BLEND_EQUATION') | |
4404 @DocsEditable() | |
4405 @Experimental() // untriaged | |
4406 static const int BLEND_EQUATION = 0x8009; | |
4407 | |
4408 @DomName('WebGL2RenderingContext.BLEND_EQUATION_ALPHA') | |
4409 @DocsEditable() | |
4410 @Experimental() // untriaged | |
4411 static const int BLEND_EQUATION_ALPHA = 0x883D; | |
4412 | |
4413 @DomName('WebGL2RenderingContext.BLEND_EQUATION_RGB') | |
4414 @DocsEditable() | |
4415 @Experimental() // untriaged | |
4416 static const int BLEND_EQUATION_RGB = 0x8009; | |
4417 | |
4418 @DomName('WebGL2RenderingContext.BLEND_SRC_ALPHA') | |
4419 @DocsEditable() | |
4420 @Experimental() // untriaged | |
4421 static const int BLEND_SRC_ALPHA = 0x80CB; | |
4422 | |
4423 @DomName('WebGL2RenderingContext.BLEND_SRC_RGB') | |
4424 @DocsEditable() | |
4425 @Experimental() // untriaged | |
4426 static const int BLEND_SRC_RGB = 0x80C9; | |
4427 | |
4428 @DomName('WebGL2RenderingContext.BLUE_BITS') | |
4429 @DocsEditable() | |
4430 @Experimental() // untriaged | |
4431 static const int BLUE_BITS = 0x0D54; | |
4432 | |
4433 @DomName('WebGL2RenderingContext.BOOL') | |
4434 @DocsEditable() | |
4435 @Experimental() // untriaged | |
4436 static const int BOOL = 0x8B56; | |
4437 | |
4438 @DomName('WebGL2RenderingContext.BOOL_VEC2') | |
4439 @DocsEditable() | |
4440 @Experimental() // untriaged | |
4441 static const int BOOL_VEC2 = 0x8B57; | |
4442 | |
4443 @DomName('WebGL2RenderingContext.BOOL_VEC3') | |
4444 @DocsEditable() | |
4445 @Experimental() // untriaged | |
4446 static const int BOOL_VEC3 = 0x8B58; | |
4447 | |
4448 @DomName('WebGL2RenderingContext.BOOL_VEC4') | |
4449 @DocsEditable() | |
4450 @Experimental() // untriaged | |
4451 static const int BOOL_VEC4 = 0x8B59; | |
4452 | |
4453 @DomName('WebGL2RenderingContext.BROWSER_DEFAULT_WEBGL') | |
4454 @DocsEditable() | |
4455 @Experimental() // untriaged | |
4456 static const int BROWSER_DEFAULT_WEBGL = 0x9244; | |
4457 | |
4458 @DomName('WebGL2RenderingContext.BUFFER_SIZE') | |
4459 @DocsEditable() | |
4460 @Experimental() // untriaged | |
4461 static const int BUFFER_SIZE = 0x8764; | |
4462 | |
4463 @DomName('WebGL2RenderingContext.BUFFER_USAGE') | |
4464 @DocsEditable() | |
4465 @Experimental() // untriaged | |
4466 static const int BUFFER_USAGE = 0x8765; | |
4467 | |
4468 @DomName('WebGL2RenderingContext.BYTE') | |
4469 @DocsEditable() | |
4470 @Experimental() // untriaged | |
4471 static const int BYTE = 0x1400; | |
4472 | |
4473 @DomName('WebGL2RenderingContext.CCW') | |
4474 @DocsEditable() | |
4475 @Experimental() // untriaged | |
4476 static const int CCW = 0x0901; | |
4477 | |
4478 @DomName('WebGL2RenderingContext.CLAMP_TO_EDGE') | |
4479 @DocsEditable() | |
4480 @Experimental() // untriaged | |
4481 static const int CLAMP_TO_EDGE = 0x812F; | |
4482 | |
4483 @DomName('WebGL2RenderingContext.COLOR_ATTACHMENT0') | |
4484 @DocsEditable() | |
4485 @Experimental() // untriaged | |
4486 static const int COLOR_ATTACHMENT0 = 0x8CE0; | |
4487 | |
4488 @DomName('WebGL2RenderingContext.COLOR_BUFFER_BIT') | |
4489 @DocsEditable() | |
4490 @Experimental() // untriaged | |
4491 static const int COLOR_BUFFER_BIT = 0x00004000; | |
4492 | |
4493 @DomName('WebGL2RenderingContext.COLOR_CLEAR_VALUE') | |
4494 @DocsEditable() | |
4495 @Experimental() // untriaged | |
4496 static const int COLOR_CLEAR_VALUE = 0x0C22; | |
4497 | |
4498 @DomName('WebGL2RenderingContext.COLOR_WRITEMASK') | |
4499 @DocsEditable() | |
4500 @Experimental() // untriaged | |
4501 static const int COLOR_WRITEMASK = 0x0C23; | |
4502 | |
4503 @DomName('WebGL2RenderingContext.COMPILE_STATUS') | |
4504 @DocsEditable() | |
4505 @Experimental() // untriaged | |
4506 static const int COMPILE_STATUS = 0x8B81; | |
4507 | |
4508 @DomName('WebGL2RenderingContext.COMPRESSED_TEXTURE_FORMATS') | |
4509 @DocsEditable() | |
4510 @Experimental() // untriaged | |
4511 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; | |
4512 | |
4513 @DomName('WebGL2RenderingContext.CONSTANT_ALPHA') | |
4514 @DocsEditable() | |
4515 @Experimental() // untriaged | |
4516 static const int CONSTANT_ALPHA = 0x8003; | |
4517 | |
4518 @DomName('WebGL2RenderingContext.CONSTANT_COLOR') | |
4519 @DocsEditable() | |
4520 @Experimental() // untriaged | |
4521 static const int CONSTANT_COLOR = 0x8001; | |
4522 | |
4523 @DomName('WebGL2RenderingContext.CONTEXT_LOST_WEBGL') | |
4524 @DocsEditable() | |
4525 @Experimental() // untriaged | |
4526 static const int CONTEXT_LOST_WEBGL = 0x9242; | |
4527 | |
4528 @DomName('WebGL2RenderingContext.CULL_FACE') | |
4529 @DocsEditable() | |
4530 @Experimental() // untriaged | |
4531 static const int CULL_FACE = 0x0B44; | |
4532 | |
4533 @DomName('WebGL2RenderingContext.CULL_FACE_MODE') | |
4534 @DocsEditable() | |
4535 @Experimental() // untriaged | |
4536 static const int CULL_FACE_MODE = 0x0B45; | |
4537 | |
4538 @DomName('WebGL2RenderingContext.CURRENT_PROGRAM') | |
4539 @DocsEditable() | |
4540 @Experimental() // untriaged | |
4541 static const int CURRENT_PROGRAM = 0x8B8D; | |
4542 | |
4543 @DomName('WebGL2RenderingContext.CURRENT_VERTEX_ATTRIB') | |
4544 @DocsEditable() | |
4545 @Experimental() // untriaged | |
4546 static const int CURRENT_VERTEX_ATTRIB = 0x8626; | |
4547 | |
4548 @DomName('WebGL2RenderingContext.CW') | |
4549 @DocsEditable() | |
4550 @Experimental() // untriaged | |
4551 static const int CW = 0x0900; | |
4552 | |
4553 @DomName('WebGL2RenderingContext.DECR') | |
4554 @DocsEditable() | |
4555 @Experimental() // untriaged | |
4556 static const int DECR = 0x1E03; | |
4557 | |
4558 @DomName('WebGL2RenderingContext.DECR_WRAP') | |
4559 @DocsEditable() | |
4560 @Experimental() // untriaged | |
4561 static const int DECR_WRAP = 0x8508; | |
4562 | |
4563 @DomName('WebGL2RenderingContext.DELETE_STATUS') | |
4564 @DocsEditable() | |
4565 @Experimental() // untriaged | |
4566 static const int DELETE_STATUS = 0x8B80; | |
4567 | |
4568 @DomName('WebGL2RenderingContext.DEPTH_ATTACHMENT') | |
4569 @DocsEditable() | |
4570 @Experimental() // untriaged | |
4571 static const int DEPTH_ATTACHMENT = 0x8D00; | |
4572 | |
4573 @DomName('WebGL2RenderingContext.DEPTH_BITS') | |
4574 @DocsEditable() | |
4575 @Experimental() // untriaged | |
4576 static const int DEPTH_BITS = 0x0D56; | |
4577 | |
4578 @DomName('WebGL2RenderingContext.DEPTH_BUFFER_BIT') | |
4579 @DocsEditable() | |
4580 @Experimental() // untriaged | |
4581 static const int DEPTH_BUFFER_BIT = 0x00000100; | |
4582 | |
4583 @DomName('WebGL2RenderingContext.DEPTH_CLEAR_VALUE') | |
4584 @DocsEditable() | |
4585 @Experimental() // untriaged | |
4586 static const int DEPTH_CLEAR_VALUE = 0x0B73; | |
4587 | |
4588 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT') | |
4589 @DocsEditable() | |
4590 @Experimental() // untriaged | |
4591 static const int DEPTH_COMPONENT = 0x1902; | |
4592 | |
4593 @DomName('WebGL2RenderingContext.DEPTH_COMPONENT16') | |
4594 @DocsEditable() | |
4595 @Experimental() // untriaged | |
4596 static const int DEPTH_COMPONENT16 = 0x81A5; | |
4597 | |
4598 @DomName('WebGL2RenderingContext.DEPTH_FUNC') | |
4599 @DocsEditable() | |
4600 @Experimental() // untriaged | |
4601 static const int DEPTH_FUNC = 0x0B74; | |
4602 | |
4603 @DomName('WebGL2RenderingContext.DEPTH_RANGE') | |
4604 @DocsEditable() | |
4605 @Experimental() // untriaged | |
4606 static const int DEPTH_RANGE = 0x0B70; | |
4607 | |
4608 @DomName('WebGL2RenderingContext.DEPTH_STENCIL') | |
4609 @DocsEditable() | |
4610 @Experimental() // untriaged | |
4611 static const int DEPTH_STENCIL = 0x84F9; | |
4612 | |
4613 @DomName('WebGL2RenderingContext.DEPTH_STENCIL_ATTACHMENT') | |
4614 @DocsEditable() | |
4615 @Experimental() // untriaged | |
4616 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; | |
4617 | |
4618 @DomName('WebGL2RenderingContext.DEPTH_TEST') | |
4619 @DocsEditable() | |
4620 @Experimental() // untriaged | |
4621 static const int DEPTH_TEST = 0x0B71; | |
4622 | |
4623 @DomName('WebGL2RenderingContext.DEPTH_WRITEMASK') | |
4624 @DocsEditable() | |
4625 @Experimental() // untriaged | |
4626 static const int DEPTH_WRITEMASK = 0x0B72; | |
4627 | |
4628 @DomName('WebGL2RenderingContext.DITHER') | |
4629 @DocsEditable() | |
4630 @Experimental() // untriaged | |
4631 static const int DITHER = 0x0BD0; | |
4632 | |
4633 @DomName('WebGL2RenderingContext.DONT_CARE') | |
4634 @DocsEditable() | |
4635 @Experimental() // untriaged | |
4636 static const int DONT_CARE = 0x1100; | |
4637 | |
4638 @DomName('WebGL2RenderingContext.DST_ALPHA') | |
4639 @DocsEditable() | |
4640 @Experimental() // untriaged | |
4641 static const int DST_ALPHA = 0x0304; | |
4642 | |
4643 @DomName('WebGL2RenderingContext.DST_COLOR') | |
4644 @DocsEditable() | |
4645 @Experimental() // untriaged | |
4646 static const int DST_COLOR = 0x0306; | |
4647 | |
4648 @DomName('WebGL2RenderingContext.DYNAMIC_DRAW') | |
4649 @DocsEditable() | |
4650 @Experimental() // untriaged | |
4651 static const int DYNAMIC_DRAW = 0x88E8; | |
4652 | |
4653 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER') | |
4654 @DocsEditable() | |
4655 @Experimental() // untriaged | |
4656 static const int ELEMENT_ARRAY_BUFFER = 0x8893; | |
4657 | |
4658 @DomName('WebGL2RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') | |
4659 @DocsEditable() | |
4660 @Experimental() // untriaged | |
4661 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; | |
4662 | |
4663 @DomName('WebGL2RenderingContext.EQUAL') | |
4664 @DocsEditable() | |
4665 @Experimental() // untriaged | |
4666 static const int EQUAL = 0x0202; | |
4667 | |
4668 @DomName('WebGL2RenderingContext.FASTEST') | |
4669 @DocsEditable() | |
4670 @Experimental() // untriaged | |
4671 static const int FASTEST = 0x1101; | |
4672 | |
4673 @DomName('WebGL2RenderingContext.FLOAT') | |
4674 @DocsEditable() | |
4675 @Experimental() // untriaged | |
4676 static const int FLOAT = 0x1406; | |
4677 | |
4678 @DomName('WebGL2RenderingContext.FLOAT_MAT2') | |
4679 @DocsEditable() | |
4680 @Experimental() // untriaged | |
4681 static const int FLOAT_MAT2 = 0x8B5A; | |
4682 | |
4683 @DomName('WebGL2RenderingContext.FLOAT_MAT3') | |
4684 @DocsEditable() | |
4685 @Experimental() // untriaged | |
4686 static const int FLOAT_MAT3 = 0x8B5B; | |
4687 | |
4688 @DomName('WebGL2RenderingContext.FLOAT_MAT4') | |
4689 @DocsEditable() | |
4690 @Experimental() // untriaged | |
4691 static const int FLOAT_MAT4 = 0x8B5C; | |
4692 | |
4693 @DomName('WebGL2RenderingContext.FLOAT_VEC2') | |
4694 @DocsEditable() | |
4695 @Experimental() // untriaged | |
4696 static const int FLOAT_VEC2 = 0x8B50; | |
4697 | |
4698 @DomName('WebGL2RenderingContext.FLOAT_VEC3') | |
4699 @DocsEditable() | |
4700 @Experimental() // untriaged | |
4701 static const int FLOAT_VEC3 = 0x8B51; | |
4702 | |
4703 @DomName('WebGL2RenderingContext.FLOAT_VEC4') | |
4704 @DocsEditable() | |
4705 @Experimental() // untriaged | |
4706 static const int FLOAT_VEC4 = 0x8B52; | |
4707 | |
4708 @DomName('WebGL2RenderingContext.FRAGMENT_SHADER') | |
4709 @DocsEditable() | |
4710 @Experimental() // untriaged | |
4711 static const int FRAGMENT_SHADER = 0x8B30; | |
4712 | |
4713 @DomName('WebGL2RenderingContext.FRAMEBUFFER') | |
4714 @DocsEditable() | |
4715 @Experimental() // untriaged | |
4716 static const int FRAMEBUFFER = 0x8D40; | |
4717 | |
4718 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') | |
4719 @DocsEditable() | |
4720 @Experimental() // untriaged | |
4721 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | |
4722 | |
4723 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') | |
4724 @DocsEditable() | |
4725 @Experimental() // untriaged | |
4726 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | |
4727 | |
4728 @DomName( | |
4729 'WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') | |
4730 @DocsEditable() | |
4731 @Experimental() // untriaged | |
4732 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | |
4733 | |
4734 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') | |
4735 @DocsEditable() | |
4736 @Experimental() // untriaged | |
4737 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | |
4738 | |
4739 @DomName('WebGL2RenderingContext.FRAMEBUFFER_BINDING') | |
4740 @DocsEditable() | |
4741 @Experimental() // untriaged | |
4742 static const int FRAMEBUFFER_BINDING = 0x8CA6; | |
4743 | |
4744 @DomName('WebGL2RenderingContext.FRAMEBUFFER_COMPLETE') | |
4745 @DocsEditable() | |
4746 @Experimental() // untriaged | |
4747 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; | |
4748 | |
4749 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') | |
4750 @DocsEditable() | |
4751 @Experimental() // untriaged | |
4752 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; | |
4753 | |
4754 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') | |
4755 @DocsEditable() | |
4756 @Experimental() // untriaged | |
4757 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; | |
4758 | |
4759 @DomName('WebGL2RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') | |
4760 @DocsEditable() | |
4761 @Experimental() // untriaged | |
4762 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; | |
4763 | |
4764 @DomName('WebGL2RenderingContext.FRAMEBUFFER_UNSUPPORTED') | |
4765 @DocsEditable() | |
4766 @Experimental() // untriaged | |
4767 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; | |
4768 | |
4769 @DomName('WebGL2RenderingContext.FRONT') | |
4770 @DocsEditable() | |
4771 @Experimental() // untriaged | |
4772 static const int FRONT = 0x0404; | |
4773 | |
4774 @DomName('WebGL2RenderingContext.FRONT_AND_BACK') | |
4775 @DocsEditable() | |
4776 @Experimental() // untriaged | |
4777 static const int FRONT_AND_BACK = 0x0408; | |
4778 | |
4779 @DomName('WebGL2RenderingContext.FRONT_FACE') | |
4780 @DocsEditable() | |
4781 @Experimental() // untriaged | |
4782 static const int FRONT_FACE = 0x0B46; | |
4783 | |
4784 @DomName('WebGL2RenderingContext.FUNC_ADD') | |
4785 @DocsEditable() | |
4786 @Experimental() // untriaged | |
4787 static const int FUNC_ADD = 0x8006; | |
4788 | |
4789 @DomName('WebGL2RenderingContext.FUNC_REVERSE_SUBTRACT') | |
4790 @DocsEditable() | |
4791 @Experimental() // untriaged | |
4792 static const int FUNC_REVERSE_SUBTRACT = 0x800B; | |
4793 | |
4794 @DomName('WebGL2RenderingContext.FUNC_SUBTRACT') | |
4795 @DocsEditable() | |
4796 @Experimental() // untriaged | |
4797 static const int FUNC_SUBTRACT = 0x800A; | |
4798 | |
4799 @DomName('WebGL2RenderingContext.GENERATE_MIPMAP_HINT') | |
4800 @DocsEditable() | |
4801 @Experimental() // untriaged | |
4802 static const int GENERATE_MIPMAP_HINT = 0x8192; | |
4803 | |
4804 @DomName('WebGL2RenderingContext.GEQUAL') | |
4805 @DocsEditable() | |
4806 @Experimental() // untriaged | |
4807 static const int GEQUAL = 0x0206; | |
4808 | |
4809 @DomName('WebGL2RenderingContext.GREATER') | |
4810 @DocsEditable() | |
4811 @Experimental() // untriaged | |
4812 static const int GREATER = 0x0204; | |
4813 | |
4814 @DomName('WebGL2RenderingContext.GREEN_BITS') | |
4815 @DocsEditable() | |
4816 @Experimental() // untriaged | |
4817 static const int GREEN_BITS = 0x0D53; | |
4818 | |
4819 @DomName('WebGL2RenderingContext.HIGH_FLOAT') | |
4820 @DocsEditable() | |
4821 @Experimental() // untriaged | |
4822 static const int HIGH_FLOAT = 0x8DF2; | |
4823 | |
4824 @DomName('WebGL2RenderingContext.HIGH_INT') | |
4825 @DocsEditable() | |
4826 @Experimental() // untriaged | |
4827 static const int HIGH_INT = 0x8DF5; | |
4828 | |
4829 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT') | |
4830 @DocsEditable() | |
4831 @Experimental() // untriaged | |
4832 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; | |
4833 | |
4834 @DomName('WebGL2RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE') | |
4835 @DocsEditable() | |
4836 @Experimental() // untriaged | |
4837 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; | |
4838 | |
4839 @DomName('WebGL2RenderingContext.INCR') | |
4840 @DocsEditable() | |
4841 @Experimental() // untriaged | |
4842 static const int INCR = 0x1E02; | |
4843 | |
4844 @DomName('WebGL2RenderingContext.INCR_WRAP') | |
4845 @DocsEditable() | |
4846 @Experimental() // untriaged | |
4847 static const int INCR_WRAP = 0x8507; | |
4848 | |
4849 @DomName('WebGL2RenderingContext.INT') | |
4850 @DocsEditable() | |
4851 @Experimental() // untriaged | |
4852 static const int INT = 0x1404; | |
4853 | |
4854 @DomName('WebGL2RenderingContext.INT_VEC2') | |
4855 @DocsEditable() | |
4856 @Experimental() // untriaged | |
4857 static const int INT_VEC2 = 0x8B53; | |
4858 | |
4859 @DomName('WebGL2RenderingContext.INT_VEC3') | |
4860 @DocsEditable() | |
4861 @Experimental() // untriaged | |
4862 static const int INT_VEC3 = 0x8B54; | |
4863 | |
4864 @DomName('WebGL2RenderingContext.INT_VEC4') | |
4865 @DocsEditable() | |
4866 @Experimental() // untriaged | |
4867 static const int INT_VEC4 = 0x8B55; | |
4868 | |
4869 @DomName('WebGL2RenderingContext.INVALID_ENUM') | |
4870 @DocsEditable() | |
4871 @Experimental() // untriaged | |
4872 static const int INVALID_ENUM = 0x0500; | |
4873 | |
4874 @DomName('WebGL2RenderingContext.INVALID_FRAMEBUFFER_OPERATION') | |
4875 @DocsEditable() | |
4876 @Experimental() // untriaged | |
4877 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; | |
4878 | |
4879 @DomName('WebGL2RenderingContext.INVALID_OPERATION') | |
4880 @DocsEditable() | |
4881 @Experimental() // untriaged | |
4882 static const int INVALID_OPERATION = 0x0502; | |
4883 | |
4884 @DomName('WebGL2RenderingContext.INVALID_VALUE') | |
4885 @DocsEditable() | |
4886 @Experimental() // untriaged | |
4887 static const int INVALID_VALUE = 0x0501; | |
4888 | |
4889 @DomName('WebGL2RenderingContext.INVERT') | |
4890 @DocsEditable() | |
4891 @Experimental() // untriaged | |
4892 static const int INVERT = 0x150A; | |
4893 | |
4894 @DomName('WebGL2RenderingContext.KEEP') | |
4895 @DocsEditable() | |
4896 @Experimental() // untriaged | |
4897 static const int KEEP = 0x1E00; | |
4898 | |
4899 @DomName('WebGL2RenderingContext.LEQUAL') | |
4900 @DocsEditable() | |
4901 @Experimental() // untriaged | |
4902 static const int LEQUAL = 0x0203; | |
4903 | |
4904 @DomName('WebGL2RenderingContext.LESS') | |
4905 @DocsEditable() | |
4906 @Experimental() // untriaged | |
4907 static const int LESS = 0x0201; | |
4908 | |
4909 @DomName('WebGL2RenderingContext.LINEAR') | |
4910 @DocsEditable() | |
4911 @Experimental() // untriaged | |
4912 static const int LINEAR = 0x2601; | |
4913 | |
4914 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_LINEAR') | |
4915 @DocsEditable() | |
4916 @Experimental() // untriaged | |
4917 static const int LINEAR_MIPMAP_LINEAR = 0x2703; | |
4918 | |
4919 @DomName('WebGL2RenderingContext.LINEAR_MIPMAP_NEAREST') | |
4920 @DocsEditable() | |
4921 @Experimental() // untriaged | |
4922 static const int LINEAR_MIPMAP_NEAREST = 0x2701; | |
4923 | |
4924 @DomName('WebGL2RenderingContext.LINES') | |
4925 @DocsEditable() | |
4926 @Experimental() // untriaged | |
4927 static const int LINES = 0x0001; | |
4928 | |
4929 @DomName('WebGL2RenderingContext.LINE_LOOP') | |
4930 @DocsEditable() | |
4931 @Experimental() // untriaged | |
4932 static const int LINE_LOOP = 0x0002; | |
4933 | |
4934 @DomName('WebGL2RenderingContext.LINE_STRIP') | |
4935 @DocsEditable() | |
4936 @Experimental() // untriaged | |
4937 static const int LINE_STRIP = 0x0003; | |
4938 | |
4939 @DomName('WebGL2RenderingContext.LINE_WIDTH') | |
4940 @DocsEditable() | |
4941 @Experimental() // untriaged | |
4942 static const int LINE_WIDTH = 0x0B21; | |
4943 | |
4944 @DomName('WebGL2RenderingContext.LINK_STATUS') | |
4945 @DocsEditable() | |
4946 @Experimental() // untriaged | |
4947 static const int LINK_STATUS = 0x8B82; | |
4948 | |
4949 @DomName('WebGL2RenderingContext.LOW_FLOAT') | |
4950 @DocsEditable() | |
4951 @Experimental() // untriaged | |
4952 static const int LOW_FLOAT = 0x8DF0; | |
4953 | |
4954 @DomName('WebGL2RenderingContext.LOW_INT') | |
4955 @DocsEditable() | |
4956 @Experimental() // untriaged | |
4957 static const int LOW_INT = 0x8DF3; | |
4958 | |
4959 @DomName('WebGL2RenderingContext.LUMINANCE') | |
4960 @DocsEditable() | |
4961 @Experimental() // untriaged | |
4962 static const int LUMINANCE = 0x1909; | |
4963 | |
4964 @DomName('WebGL2RenderingContext.LUMINANCE_ALPHA') | |
4965 @DocsEditable() | |
4966 @Experimental() // untriaged | |
4967 static const int LUMINANCE_ALPHA = 0x190A; | |
4968 | |
4969 @DomName('WebGL2RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') | |
4970 @DocsEditable() | |
4971 @Experimental() // untriaged | |
4972 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; | |
4973 | |
4974 @DomName('WebGL2RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') | |
4975 @DocsEditable() | |
4976 @Experimental() // untriaged | |
4977 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; | |
4978 | |
4979 @DomName('WebGL2RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') | |
4980 @DocsEditable() | |
4981 @Experimental() // untriaged | |
4982 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; | |
4983 | |
4984 @DomName('WebGL2RenderingContext.MAX_RENDERBUFFER_SIZE') | |
4985 @DocsEditable() | |
4986 @Experimental() // untriaged | |
4987 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; | |
4988 | |
4989 @DomName('WebGL2RenderingContext.MAX_TEXTURE_IMAGE_UNITS') | |
4990 @DocsEditable() | |
4991 @Experimental() // untriaged | |
4992 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; | |
4993 | |
4994 @DomName('WebGL2RenderingContext.MAX_TEXTURE_SIZE') | |
4995 @DocsEditable() | |
4996 @Experimental() // untriaged | |
4997 static const int MAX_TEXTURE_SIZE = 0x0D33; | |
4998 | |
4999 @DomName('WebGL2RenderingContext.MAX_VARYING_VECTORS') | |
5000 @DocsEditable() | |
5001 @Experimental() // untriaged | |
5002 static const int MAX_VARYING_VECTORS = 0x8DFC; | |
5003 | |
5004 @DomName('WebGL2RenderingContext.MAX_VERTEX_ATTRIBS') | |
5005 @DocsEditable() | |
5006 @Experimental() // untriaged | |
5007 static const int MAX_VERTEX_ATTRIBS = 0x8869; | |
5008 | |
5009 @DomName('WebGL2RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') | |
5010 @DocsEditable() | |
5011 @Experimental() // untriaged | |
5012 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; | |
5013 | |
5014 @DomName('WebGL2RenderingContext.MAX_VERTEX_UNIFORM_VECTORS') | |
5015 @DocsEditable() | |
5016 @Experimental() // untriaged | |
5017 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; | |
5018 | |
5019 @DomName('WebGL2RenderingContext.MAX_VIEWPORT_DIMS') | |
5020 @DocsEditable() | |
5021 @Experimental() // untriaged | |
5022 static const int MAX_VIEWPORT_DIMS = 0x0D3A; | |
5023 | |
5024 @DomName('WebGL2RenderingContext.MEDIUM_FLOAT') | |
5025 @DocsEditable() | |
5026 @Experimental() // untriaged | |
5027 static const int MEDIUM_FLOAT = 0x8DF1; | |
5028 | |
5029 @DomName('WebGL2RenderingContext.MEDIUM_INT') | |
5030 @DocsEditable() | |
5031 @Experimental() // untriaged | |
5032 static const int MEDIUM_INT = 0x8DF4; | |
5033 | |
5034 @DomName('WebGL2RenderingContext.MIRRORED_REPEAT') | |
5035 @DocsEditable() | |
5036 @Experimental() // untriaged | |
5037 static const int MIRRORED_REPEAT = 0x8370; | |
5038 | |
5039 @DomName('WebGL2RenderingContext.NEAREST') | |
5040 @DocsEditable() | |
5041 @Experimental() // untriaged | |
5042 static const int NEAREST = 0x2600; | |
5043 | |
5044 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_LINEAR') | |
5045 @DocsEditable() | |
5046 @Experimental() // untriaged | |
5047 static const int NEAREST_MIPMAP_LINEAR = 0x2702; | |
5048 | |
5049 @DomName('WebGL2RenderingContext.NEAREST_MIPMAP_NEAREST') | |
5050 @DocsEditable() | |
5051 @Experimental() // untriaged | |
5052 static const int NEAREST_MIPMAP_NEAREST = 0x2700; | |
5053 | |
5054 @DomName('WebGL2RenderingContext.NEVER') | |
5055 @DocsEditable() | |
5056 @Experimental() // untriaged | |
5057 static const int NEVER = 0x0200; | |
5058 | |
5059 @DomName('WebGL2RenderingContext.NICEST') | |
5060 @DocsEditable() | |
5061 @Experimental() // untriaged | |
5062 static const int NICEST = 0x1102; | |
5063 | |
5064 @DomName('WebGL2RenderingContext.NONE') | |
5065 @DocsEditable() | |
5066 @Experimental() // untriaged | |
5067 static const int NONE = 0; | |
5068 | |
5069 @DomName('WebGL2RenderingContext.NOTEQUAL') | |
5070 @DocsEditable() | |
5071 @Experimental() // untriaged | |
5072 static const int NOTEQUAL = 0x0205; | |
5073 | |
5074 @DomName('WebGL2RenderingContext.NO_ERROR') | |
5075 @DocsEditable() | |
5076 @Experimental() // untriaged | |
5077 static const int NO_ERROR = 0; | |
5078 | |
5079 @DomName('WebGL2RenderingContext.ONE') | |
5080 @DocsEditable() | |
5081 @Experimental() // untriaged | |
5082 static const int ONE = 1; | |
5083 | |
5084 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_ALPHA') | |
5085 @DocsEditable() | |
5086 @Experimental() // untriaged | |
5087 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; | |
5088 | |
5089 @DomName('WebGL2RenderingContext.ONE_MINUS_CONSTANT_COLOR') | |
5090 @DocsEditable() | |
5091 @Experimental() // untriaged | |
5092 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; | |
5093 | |
5094 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_ALPHA') | |
5095 @DocsEditable() | |
5096 @Experimental() // untriaged | |
5097 static const int ONE_MINUS_DST_ALPHA = 0x0305; | |
5098 | |
5099 @DomName('WebGL2RenderingContext.ONE_MINUS_DST_COLOR') | |
5100 @DocsEditable() | |
5101 @Experimental() // untriaged | |
5102 static const int ONE_MINUS_DST_COLOR = 0x0307; | |
5103 | |
5104 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_ALPHA') | |
5105 @DocsEditable() | |
5106 @Experimental() // untriaged | |
5107 static const int ONE_MINUS_SRC_ALPHA = 0x0303; | |
5108 | |
5109 @DomName('WebGL2RenderingContext.ONE_MINUS_SRC_COLOR') | |
5110 @DocsEditable() | |
5111 @Experimental() // untriaged | |
5112 static const int ONE_MINUS_SRC_COLOR = 0x0301; | |
5113 | |
5114 @DomName('WebGL2RenderingContext.OUT_OF_MEMORY') | |
5115 @DocsEditable() | |
5116 @Experimental() // untriaged | |
5117 static const int OUT_OF_MEMORY = 0x0505; | |
5118 | |
5119 @DomName('WebGL2RenderingContext.PACK_ALIGNMENT') | |
5120 @DocsEditable() | |
5121 @Experimental() // untriaged | |
5122 static const int PACK_ALIGNMENT = 0x0D05; | |
5123 | |
5124 @DomName('WebGL2RenderingContext.POINTS') | |
5125 @DocsEditable() | |
5126 @Experimental() // untriaged | |
5127 static const int POINTS = 0x0000; | |
5128 | |
5129 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FACTOR') | |
5130 @DocsEditable() | |
5131 @Experimental() // untriaged | |
5132 static const int POLYGON_OFFSET_FACTOR = 0x8038; | |
5133 | |
5134 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_FILL') | |
5135 @DocsEditable() | |
5136 @Experimental() // untriaged | |
5137 static const int POLYGON_OFFSET_FILL = 0x8037; | |
5138 | |
5139 @DomName('WebGL2RenderingContext.POLYGON_OFFSET_UNITS') | |
5140 @DocsEditable() | |
5141 @Experimental() // untriaged | |
5142 static const int POLYGON_OFFSET_UNITS = 0x2A00; | |
5143 | |
5144 @DomName('WebGL2RenderingContext.RED_BITS') | |
5145 @DocsEditable() | |
5146 @Experimental() // untriaged | |
5147 static const int RED_BITS = 0x0D52; | |
5148 | |
5149 @DomName('WebGL2RenderingContext.RENDERBUFFER') | |
5150 @DocsEditable() | |
5151 @Experimental() // untriaged | |
5152 static const int RENDERBUFFER = 0x8D41; | |
5153 | |
5154 @DomName('WebGL2RenderingContext.RENDERBUFFER_ALPHA_SIZE') | |
5155 @DocsEditable() | |
5156 @Experimental() // untriaged | |
5157 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; | |
5158 | |
5159 @DomName('WebGL2RenderingContext.RENDERBUFFER_BINDING') | |
5160 @DocsEditable() | |
5161 @Experimental() // untriaged | |
5162 static const int RENDERBUFFER_BINDING = 0x8CA7; | |
5163 | |
5164 @DomName('WebGL2RenderingContext.RENDERBUFFER_BLUE_SIZE') | |
5165 @DocsEditable() | |
5166 @Experimental() // untriaged | |
5167 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; | |
5168 | |
5169 @DomName('WebGL2RenderingContext.RENDERBUFFER_DEPTH_SIZE') | |
5170 @DocsEditable() | |
5171 @Experimental() // untriaged | |
5172 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; | |
5173 | |
5174 @DomName('WebGL2RenderingContext.RENDERBUFFER_GREEN_SIZE') | |
5175 @DocsEditable() | |
5176 @Experimental() // untriaged | |
5177 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; | |
5178 | |
5179 @DomName('WebGL2RenderingContext.RENDERBUFFER_HEIGHT') | |
5180 @DocsEditable() | |
5181 @Experimental() // untriaged | |
5182 static const int RENDERBUFFER_HEIGHT = 0x8D43; | |
5183 | |
5184 @DomName('WebGL2RenderingContext.RENDERBUFFER_INTERNAL_FORMAT') | |
5185 @DocsEditable() | |
5186 @Experimental() // untriaged | |
5187 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; | |
5188 | |
5189 @DomName('WebGL2RenderingContext.RENDERBUFFER_RED_SIZE') | |
5190 @DocsEditable() | |
5191 @Experimental() // untriaged | |
5192 static const int RENDERBUFFER_RED_SIZE = 0x8D50; | |
5193 | |
5194 @DomName('WebGL2RenderingContext.RENDERBUFFER_STENCIL_SIZE') | |
5195 @DocsEditable() | |
5196 @Experimental() // untriaged | |
5197 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; | |
5198 | |
5199 @DomName('WebGL2RenderingContext.RENDERBUFFER_WIDTH') | |
5200 @DocsEditable() | |
5201 @Experimental() // untriaged | |
5202 static const int RENDERBUFFER_WIDTH = 0x8D42; | |
5203 | |
5204 @DomName('WebGL2RenderingContext.RENDERER') | |
5205 @DocsEditable() | |
5206 @Experimental() // untriaged | |
5207 static const int RENDERER = 0x1F01; | |
5208 | |
5209 @DomName('WebGL2RenderingContext.REPEAT') | |
5210 @DocsEditable() | |
5211 @Experimental() // untriaged | |
5212 static const int REPEAT = 0x2901; | |
5213 | |
5214 @DomName('WebGL2RenderingContext.REPLACE') | |
5215 @DocsEditable() | |
5216 @Experimental() // untriaged | |
5217 static const int REPLACE = 0x1E01; | |
5218 | |
5219 @DomName('WebGL2RenderingContext.RGB') | |
5220 @DocsEditable() | |
5221 @Experimental() // untriaged | |
5222 static const int RGB = 0x1907; | |
5223 | |
5224 @DomName('WebGL2RenderingContext.RGB565') | |
5225 @DocsEditable() | |
5226 @Experimental() // untriaged | |
5227 static const int RGB565 = 0x8D62; | |
5228 | |
5229 @DomName('WebGL2RenderingContext.RGB5_A1') | |
5230 @DocsEditable() | |
5231 @Experimental() // untriaged | |
5232 static const int RGB5_A1 = 0x8057; | |
5233 | |
5234 @DomName('WebGL2RenderingContext.RGBA') | |
5235 @DocsEditable() | |
5236 @Experimental() // untriaged | |
5237 static const int RGBA = 0x1908; | |
5238 | |
5239 @DomName('WebGL2RenderingContext.RGBA4') | |
5240 @DocsEditable() | |
5241 @Experimental() // untriaged | |
5242 static const int RGBA4 = 0x8056; | |
5243 | |
5244 @DomName('WebGL2RenderingContext.SAMPLER_2D') | |
5245 @DocsEditable() | |
5246 @Experimental() // untriaged | |
5247 static const int SAMPLER_2D = 0x8B5E; | |
5248 | |
5249 @DomName('WebGL2RenderingContext.SAMPLER_CUBE') | |
5250 @DocsEditable() | |
5251 @Experimental() // untriaged | |
5252 static const int SAMPLER_CUBE = 0x8B60; | |
5253 | |
5254 @DomName('WebGL2RenderingContext.SAMPLES') | |
5255 @DocsEditable() | |
5256 @Experimental() // untriaged | |
5257 static const int SAMPLES = 0x80A9; | |
5258 | |
5259 @DomName('WebGL2RenderingContext.SAMPLE_ALPHA_TO_COVERAGE') | |
5260 @DocsEditable() | |
5261 @Experimental() // untriaged | |
5262 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; | |
5263 | |
5264 @DomName('WebGL2RenderingContext.SAMPLE_BUFFERS') | |
5265 @DocsEditable() | |
5266 @Experimental() // untriaged | |
5267 static const int SAMPLE_BUFFERS = 0x80A8; | |
5268 | |
5269 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE') | |
5270 @DocsEditable() | |
5271 @Experimental() // untriaged | |
5272 static const int SAMPLE_COVERAGE = 0x80A0; | |
5273 | |
5274 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_INVERT') | |
5275 @DocsEditable() | |
5276 @Experimental() // untriaged | |
5277 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; | |
5278 | |
5279 @DomName('WebGL2RenderingContext.SAMPLE_COVERAGE_VALUE') | |
5280 @DocsEditable() | |
5281 @Experimental() // untriaged | |
5282 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; | |
5283 | |
5284 @DomName('WebGL2RenderingContext.SCISSOR_BOX') | |
5285 @DocsEditable() | |
5286 @Experimental() // untriaged | |
5287 static const int SCISSOR_BOX = 0x0C10; | |
5288 | |
5289 @DomName('WebGL2RenderingContext.SCISSOR_TEST') | |
5290 @DocsEditable() | |
5291 @Experimental() // untriaged | |
5292 static const int SCISSOR_TEST = 0x0C11; | |
5293 | |
5294 @DomName('WebGL2RenderingContext.SHADER_TYPE') | |
5295 @DocsEditable() | |
5296 @Experimental() // untriaged | |
5297 static const int SHADER_TYPE = 0x8B4F; | |
5298 | |
5299 @DomName('WebGL2RenderingContext.SHADING_LANGUAGE_VERSION') | |
5300 @DocsEditable() | |
5301 @Experimental() // untriaged | |
5302 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; | |
5303 | |
5304 @DomName('WebGL2RenderingContext.SHORT') | |
5305 @DocsEditable() | |
5306 @Experimental() // untriaged | |
5307 static const int SHORT = 0x1402; | |
5308 | |
5309 @DomName('WebGL2RenderingContext.SRC_ALPHA') | |
5310 @DocsEditable() | |
5311 @Experimental() // untriaged | |
5312 static const int SRC_ALPHA = 0x0302; | |
5313 | |
5314 @DomName('WebGL2RenderingContext.SRC_ALPHA_SATURATE') | |
5315 @DocsEditable() | |
5316 @Experimental() // untriaged | |
5317 static const int SRC_ALPHA_SATURATE = 0x0308; | |
5318 | |
5319 @DomName('WebGL2RenderingContext.SRC_COLOR') | |
5320 @DocsEditable() | |
5321 @Experimental() // untriaged | |
5322 static const int SRC_COLOR = 0x0300; | |
5323 | |
5324 @DomName('WebGL2RenderingContext.STATIC_DRAW') | |
5325 @DocsEditable() | |
5326 @Experimental() // untriaged | |
5327 static const int STATIC_DRAW = 0x88E4; | |
5328 | |
5329 @DomName('WebGL2RenderingContext.STENCIL_ATTACHMENT') | |
5330 @DocsEditable() | |
5331 @Experimental() // untriaged | |
5332 static const int STENCIL_ATTACHMENT = 0x8D20; | |
5333 | |
5334 @DomName('WebGL2RenderingContext.STENCIL_BACK_FAIL') | |
5335 @DocsEditable() | |
5336 @Experimental() // untriaged | |
5337 static const int STENCIL_BACK_FAIL = 0x8801; | |
5338 | |
5339 @DomName('WebGL2RenderingContext.STENCIL_BACK_FUNC') | |
5340 @DocsEditable() | |
5341 @Experimental() // untriaged | |
5342 static const int STENCIL_BACK_FUNC = 0x8800; | |
5343 | |
5344 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') | |
5345 @DocsEditable() | |
5346 @Experimental() // untriaged | |
5347 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; | |
5348 | |
5349 @DomName('WebGL2RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') | |
5350 @DocsEditable() | |
5351 @Experimental() // untriaged | |
5352 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; | |
5353 | |
5354 @DomName('WebGL2RenderingContext.STENCIL_BACK_REF') | |
5355 @DocsEditable() | |
5356 @Experimental() // untriaged | |
5357 static const int STENCIL_BACK_REF = 0x8CA3; | |
5358 | |
5359 @DomName('WebGL2RenderingContext.STENCIL_BACK_VALUE_MASK') | |
5360 @DocsEditable() | |
5361 @Experimental() // untriaged | |
5362 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; | |
5363 | |
5364 @DomName('WebGL2RenderingContext.STENCIL_BACK_WRITEMASK') | |
5365 @DocsEditable() | |
5366 @Experimental() // untriaged | |
5367 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; | |
5368 | |
5369 @DomName('WebGL2RenderingContext.STENCIL_BITS') | |
5370 @DocsEditable() | |
5371 @Experimental() // untriaged | |
5372 static const int STENCIL_BITS = 0x0D57; | |
5373 | |
5374 @DomName('WebGL2RenderingContext.STENCIL_BUFFER_BIT') | |
5375 @DocsEditable() | |
5376 @Experimental() // untriaged | |
5377 static const int STENCIL_BUFFER_BIT = 0x00000400; | |
5378 | |
5379 @DomName('WebGL2RenderingContext.STENCIL_CLEAR_VALUE') | |
5380 @DocsEditable() | |
5381 @Experimental() // untriaged | |
5382 static const int STENCIL_CLEAR_VALUE = 0x0B91; | |
5383 | |
5384 @DomName('WebGL2RenderingContext.STENCIL_FAIL') | |
5385 @DocsEditable() | |
5386 @Experimental() // untriaged | |
5387 static const int STENCIL_FAIL = 0x0B94; | |
5388 | |
5389 @DomName('WebGL2RenderingContext.STENCIL_FUNC') | |
5390 @DocsEditable() | |
5391 @Experimental() // untriaged | |
5392 static const int STENCIL_FUNC = 0x0B92; | |
5393 | |
5394 @DomName('WebGL2RenderingContext.STENCIL_INDEX') | |
5395 @DocsEditable() | |
5396 @Experimental() // untriaged | |
5397 static const int STENCIL_INDEX = 0x1901; | |
5398 | |
5399 @DomName('WebGL2RenderingContext.STENCIL_INDEX8') | |
5400 @DocsEditable() | |
5401 @Experimental() // untriaged | |
5402 static const int STENCIL_INDEX8 = 0x8D48; | |
5403 | |
5404 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_FAIL') | |
5405 @DocsEditable() | |
5406 @Experimental() // untriaged | |
5407 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; | |
5408 | |
5409 @DomName('WebGL2RenderingContext.STENCIL_PASS_DEPTH_PASS') | |
5410 @DocsEditable() | |
5411 @Experimental() // untriaged | |
5412 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; | |
5413 | |
5414 @DomName('WebGL2RenderingContext.STENCIL_REF') | |
5415 @DocsEditable() | |
5416 @Experimental() // untriaged | |
5417 static const int STENCIL_REF = 0x0B97; | |
5418 | |
5419 @DomName('WebGL2RenderingContext.STENCIL_TEST') | |
5420 @DocsEditable() | |
5421 @Experimental() // untriaged | |
5422 static const int STENCIL_TEST = 0x0B90; | |
5423 | |
5424 @DomName('WebGL2RenderingContext.STENCIL_VALUE_MASK') | |
5425 @DocsEditable() | |
5426 @Experimental() // untriaged | |
5427 static const int STENCIL_VALUE_MASK = 0x0B93; | |
5428 | |
5429 @DomName('WebGL2RenderingContext.STENCIL_WRITEMASK') | |
5430 @DocsEditable() | |
5431 @Experimental() // untriaged | |
5432 static const int STENCIL_WRITEMASK = 0x0B98; | |
5433 | |
5434 @DomName('WebGL2RenderingContext.STREAM_DRAW') | |
5435 @DocsEditable() | |
5436 @Experimental() // untriaged | |
5437 static const int STREAM_DRAW = 0x88E0; | |
5438 | |
5439 @DomName('WebGL2RenderingContext.SUBPIXEL_BITS') | |
5440 @DocsEditable() | |
5441 @Experimental() // untriaged | |
5442 static const int SUBPIXEL_BITS = 0x0D50; | |
5443 | |
5444 @DomName('WebGL2RenderingContext.TEXTURE') | |
5445 @DocsEditable() | |
5446 @Experimental() // untriaged | |
5447 static const int TEXTURE = 0x1702; | |
5448 | |
5449 @DomName('WebGL2RenderingContext.TEXTURE0') | |
5450 @DocsEditable() | |
5451 @Experimental() // untriaged | |
5452 static const int TEXTURE0 = 0x84C0; | |
5453 | |
5454 @DomName('WebGL2RenderingContext.TEXTURE1') | |
5455 @DocsEditable() | |
5456 @Experimental() // untriaged | |
5457 static const int TEXTURE1 = 0x84C1; | |
5458 | |
5459 @DomName('WebGL2RenderingContext.TEXTURE10') | |
5460 @DocsEditable() | |
5461 @Experimental() // untriaged | |
5462 static const int TEXTURE10 = 0x84CA; | |
5463 | |
5464 @DomName('WebGL2RenderingContext.TEXTURE11') | |
5465 @DocsEditable() | |
5466 @Experimental() // untriaged | |
5467 static const int TEXTURE11 = 0x84CB; | |
5468 | |
5469 @DomName('WebGL2RenderingContext.TEXTURE12') | |
5470 @DocsEditable() | |
5471 @Experimental() // untriaged | |
5472 static const int TEXTURE12 = 0x84CC; | |
5473 | |
5474 @DomName('WebGL2RenderingContext.TEXTURE13') | |
5475 @DocsEditable() | |
5476 @Experimental() // untriaged | |
5477 static const int TEXTURE13 = 0x84CD; | |
5478 | |
5479 @DomName('WebGL2RenderingContext.TEXTURE14') | |
5480 @DocsEditable() | |
5481 @Experimental() // untriaged | |
5482 static const int TEXTURE14 = 0x84CE; | |
5483 | |
5484 @DomName('WebGL2RenderingContext.TEXTURE15') | |
5485 @DocsEditable() | |
5486 @Experimental() // untriaged | |
5487 static const int TEXTURE15 = 0x84CF; | |
5488 | |
5489 @DomName('WebGL2RenderingContext.TEXTURE16') | |
5490 @DocsEditable() | |
5491 @Experimental() // untriaged | |
5492 static const int TEXTURE16 = 0x84D0; | |
5493 | |
5494 @DomName('WebGL2RenderingContext.TEXTURE17') | |
5495 @DocsEditable() | |
5496 @Experimental() // untriaged | |
5497 static const int TEXTURE17 = 0x84D1; | |
5498 | |
5499 @DomName('WebGL2RenderingContext.TEXTURE18') | |
5500 @DocsEditable() | |
5501 @Experimental() // untriaged | |
5502 static const int TEXTURE18 = 0x84D2; | |
5503 | |
5504 @DomName('WebGL2RenderingContext.TEXTURE19') | |
5505 @DocsEditable() | |
5506 @Experimental() // untriaged | |
5507 static const int TEXTURE19 = 0x84D3; | |
5508 | |
5509 @DomName('WebGL2RenderingContext.TEXTURE2') | |
5510 @DocsEditable() | |
5511 @Experimental() // untriaged | |
5512 static const int TEXTURE2 = 0x84C2; | |
5513 | |
5514 @DomName('WebGL2RenderingContext.TEXTURE20') | |
5515 @DocsEditable() | |
5516 @Experimental() // untriaged | |
5517 static const int TEXTURE20 = 0x84D4; | |
5518 | |
5519 @DomName('WebGL2RenderingContext.TEXTURE21') | |
5520 @DocsEditable() | |
5521 @Experimental() // untriaged | |
5522 static const int TEXTURE21 = 0x84D5; | |
5523 | |
5524 @DomName('WebGL2RenderingContext.TEXTURE22') | |
5525 @DocsEditable() | |
5526 @Experimental() // untriaged | |
5527 static const int TEXTURE22 = 0x84D6; | |
5528 | |
5529 @DomName('WebGL2RenderingContext.TEXTURE23') | |
5530 @DocsEditable() | |
5531 @Experimental() // untriaged | |
5532 static const int TEXTURE23 = 0x84D7; | |
5533 | |
5534 @DomName('WebGL2RenderingContext.TEXTURE24') | |
5535 @DocsEditable() | |
5536 @Experimental() // untriaged | |
5537 static const int TEXTURE24 = 0x84D8; | |
5538 | |
5539 @DomName('WebGL2RenderingContext.TEXTURE25') | |
5540 @DocsEditable() | |
5541 @Experimental() // untriaged | |
5542 static const int TEXTURE25 = 0x84D9; | |
5543 | |
5544 @DomName('WebGL2RenderingContext.TEXTURE26') | |
5545 @DocsEditable() | |
5546 @Experimental() // untriaged | |
5547 static const int TEXTURE26 = 0x84DA; | |
5548 | |
5549 @DomName('WebGL2RenderingContext.TEXTURE27') | |
5550 @DocsEditable() | |
5551 @Experimental() // untriaged | |
5552 static const int TEXTURE27 = 0x84DB; | |
5553 | |
5554 @DomName('WebGL2RenderingContext.TEXTURE28') | |
5555 @DocsEditable() | |
5556 @Experimental() // untriaged | |
5557 static const int TEXTURE28 = 0x84DC; | |
5558 | |
5559 @DomName('WebGL2RenderingContext.TEXTURE29') | |
5560 @DocsEditable() | |
5561 @Experimental() // untriaged | |
5562 static const int TEXTURE29 = 0x84DD; | |
5563 | |
5564 @DomName('WebGL2RenderingContext.TEXTURE3') | |
5565 @DocsEditable() | |
5566 @Experimental() // untriaged | |
5567 static const int TEXTURE3 = 0x84C3; | |
5568 | |
5569 @DomName('WebGL2RenderingContext.TEXTURE30') | |
5570 @DocsEditable() | |
5571 @Experimental() // untriaged | |
5572 static const int TEXTURE30 = 0x84DE; | |
5573 | |
5574 @DomName('WebGL2RenderingContext.TEXTURE31') | |
5575 @DocsEditable() | |
5576 @Experimental() // untriaged | |
5577 static const int TEXTURE31 = 0x84DF; | |
5578 | |
5579 @DomName('WebGL2RenderingContext.TEXTURE4') | |
5580 @DocsEditable() | |
5581 @Experimental() // untriaged | |
5582 static const int TEXTURE4 = 0x84C4; | |
5583 | |
5584 @DomName('WebGL2RenderingContext.TEXTURE5') | |
5585 @DocsEditable() | |
5586 @Experimental() // untriaged | |
5587 static const int TEXTURE5 = 0x84C5; | |
5588 | |
5589 @DomName('WebGL2RenderingContext.TEXTURE6') | |
5590 @DocsEditable() | |
5591 @Experimental() // untriaged | |
5592 static const int TEXTURE6 = 0x84C6; | |
5593 | |
5594 @DomName('WebGL2RenderingContext.TEXTURE7') | |
5595 @DocsEditable() | |
5596 @Experimental() // untriaged | |
5597 static const int TEXTURE7 = 0x84C7; | |
5598 | |
5599 @DomName('WebGL2RenderingContext.TEXTURE8') | |
5600 @DocsEditable() | |
5601 @Experimental() // untriaged | |
5602 static const int TEXTURE8 = 0x84C8; | |
5603 | |
5604 @DomName('WebGL2RenderingContext.TEXTURE9') | |
5605 @DocsEditable() | |
5606 @Experimental() // untriaged | |
5607 static const int TEXTURE9 = 0x84C9; | |
5608 | |
5609 @DomName('WebGL2RenderingContext.TEXTURE_2D') | |
5610 @DocsEditable() | |
5611 @Experimental() // untriaged | |
5612 static const int TEXTURE_2D = 0x0DE1; | |
5613 | |
5614 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_2D') | |
5615 @DocsEditable() | |
5616 @Experimental() // untriaged | |
5617 static const int TEXTURE_BINDING_2D = 0x8069; | |
5618 | |
5619 @DomName('WebGL2RenderingContext.TEXTURE_BINDING_CUBE_MAP') | |
5620 @DocsEditable() | |
5621 @Experimental() // untriaged | |
5622 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; | |
5623 | |
5624 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP') | |
5625 @DocsEditable() | |
5626 @Experimental() // untriaged | |
5627 static const int TEXTURE_CUBE_MAP = 0x8513; | |
5628 | |
5629 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') | |
5630 @DocsEditable() | |
5631 @Experimental() // untriaged | |
5632 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; | |
5633 | |
5634 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') | |
5635 @DocsEditable() | |
5636 @Experimental() // untriaged | |
5637 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; | |
5638 | |
5639 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') | |
5640 @DocsEditable() | |
5641 @Experimental() // untriaged | |
5642 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; | |
5643 | |
5644 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') | |
5645 @DocsEditable() | |
5646 @Experimental() // untriaged | |
5647 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; | |
5648 | |
5649 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') | |
5650 @DocsEditable() | |
5651 @Experimental() // untriaged | |
5652 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; | |
5653 | |
5654 @DomName('WebGL2RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') | |
5655 @DocsEditable() | |
5656 @Experimental() // untriaged | |
5657 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; | |
5658 | |
5659 @DomName('WebGL2RenderingContext.TEXTURE_MAG_FILTER') | |
5660 @DocsEditable() | |
5661 @Experimental() // untriaged | |
5662 static const int TEXTURE_MAG_FILTER = 0x2800; | |
5663 | |
5664 @DomName('WebGL2RenderingContext.TEXTURE_MIN_FILTER') | |
5665 @DocsEditable() | |
5666 @Experimental() // untriaged | |
5667 static const int TEXTURE_MIN_FILTER = 0x2801; | |
5668 | |
5669 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_S') | |
5670 @DocsEditable() | |
5671 @Experimental() // untriaged | |
5672 static const int TEXTURE_WRAP_S = 0x2802; | |
5673 | |
5674 @DomName('WebGL2RenderingContext.TEXTURE_WRAP_T') | |
5675 @DocsEditable() | |
5676 @Experimental() // untriaged | |
5677 static const int TEXTURE_WRAP_T = 0x2803; | |
5678 | |
5679 @DomName('WebGL2RenderingContext.TRIANGLES') | |
5680 @DocsEditable() | |
5681 @Experimental() // untriaged | |
5682 static const int TRIANGLES = 0x0004; | |
5683 | |
5684 @DomName('WebGL2RenderingContext.TRIANGLE_FAN') | |
5685 @DocsEditable() | |
5686 @Experimental() // untriaged | |
5687 static const int TRIANGLE_FAN = 0x0006; | |
5688 | |
5689 @DomName('WebGL2RenderingContext.TRIANGLE_STRIP') | |
5690 @DocsEditable() | |
5691 @Experimental() // untriaged | |
5692 static const int TRIANGLE_STRIP = 0x0005; | |
5693 | |
5694 @DomName('WebGL2RenderingContext.UNPACK_ALIGNMENT') | |
5695 @DocsEditable() | |
5696 @Experimental() // untriaged | |
5697 static const int UNPACK_ALIGNMENT = 0x0CF5; | |
5698 | |
5699 @DomName('WebGL2RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') | |
5700 @DocsEditable() | |
5701 @Experimental() // untriaged | |
5702 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | |
5703 | |
5704 @DomName('WebGL2RenderingContext.UNPACK_FLIP_Y_WEBGL') | |
5705 @DocsEditable() | |
5706 @Experimental() // untriaged | |
5707 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; | |
5708 | |
5709 @DomName('WebGL2RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') | |
5710 @DocsEditable() | |
5711 @Experimental() // untriaged | |
5712 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | |
5713 | |
5714 @DomName('WebGL2RenderingContext.UNSIGNED_BYTE') | |
5715 @DocsEditable() | |
5716 @Experimental() // untriaged | |
5717 static const int UNSIGNED_BYTE = 0x1401; | |
5718 | |
5719 @DomName('WebGL2RenderingContext.UNSIGNED_INT') | |
5720 @DocsEditable() | |
5721 @Experimental() // untriaged | |
5722 static const int UNSIGNED_INT = 0x1405; | |
5723 | |
5724 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT') | |
5725 @DocsEditable() | |
5726 @Experimental() // untriaged | |
5727 static const int UNSIGNED_SHORT = 0x1403; | |
5728 | |
5729 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_4_4_4_4') | |
5730 @DocsEditable() | |
5731 @Experimental() // untriaged | |
5732 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; | |
5733 | |
5734 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_5_5_1') | |
5735 @DocsEditable() | |
5736 @Experimental() // untriaged | |
5737 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; | |
5738 | |
5739 @DomName('WebGL2RenderingContext.UNSIGNED_SHORT_5_6_5') | |
5740 @DocsEditable() | |
5741 @Experimental() // untriaged | |
5742 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; | |
5743 | |
5744 @DomName('WebGL2RenderingContext.VALIDATE_STATUS') | |
5745 @DocsEditable() | |
5746 @Experimental() // untriaged | |
5747 static const int VALIDATE_STATUS = 0x8B83; | |
5748 | |
5749 @DomName('WebGL2RenderingContext.VENDOR') | |
5750 @DocsEditable() | |
5751 @Experimental() // untriaged | |
5752 static const int VENDOR = 0x1F00; | |
5753 | |
5754 @DomName('WebGL2RenderingContext.VERSION') | |
5755 @DocsEditable() | |
5756 @Experimental() // untriaged | |
5757 static const int VERSION = 0x1F02; | |
5758 | |
5759 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') | |
5760 @DocsEditable() | |
5761 @Experimental() // untriaged | |
5762 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; | |
5763 | |
5764 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') | |
5765 @DocsEditable() | |
5766 @Experimental() // untriaged | |
5767 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; | |
5768 | |
5769 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') | |
5770 @DocsEditable() | |
5771 @Experimental() // untriaged | |
5772 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; | |
5773 | |
5774 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') | |
5775 @DocsEditable() | |
5776 @Experimental() // untriaged | |
5777 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; | |
5778 | |
5779 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') | |
5780 @DocsEditable() | |
5781 @Experimental() // untriaged | |
5782 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; | |
5783 | |
5784 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') | |
5785 @DocsEditable() | |
5786 @Experimental() // untriaged | |
5787 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | |
5788 | |
5789 @DomName('WebGL2RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') | |
5790 @DocsEditable() | |
5791 @Experimental() // untriaged | |
5792 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | |
5793 | |
5794 @DomName('WebGL2RenderingContext.VERTEX_SHADER') | |
5795 @DocsEditable() | |
5796 @Experimental() // untriaged | |
5797 static const int VERTEX_SHADER = 0x8B31; | |
5798 | |
5799 @DomName('WebGL2RenderingContext.VIEWPORT') | |
5800 @DocsEditable() | |
5801 @Experimental() // untriaged | |
5802 static const int VIEWPORT = 0x0BA2; | |
5803 | |
5804 @DomName('WebGL2RenderingContext.ZERO') | |
5805 @DocsEditable() | |
5806 @Experimental() // untriaged | |
5807 static const int ZERO = 0; | |
5808 | |
5809 @DomName('WebGL2RenderingContext.beginQuery') | |
5810 @DocsEditable() | |
5811 @Experimental() // untriaged | |
5812 void beginQuery(int target, Query query) => | |
5813 _blink.BlinkWebGL2RenderingContext.instance | |
5814 .beginQuery_Callback_2_(this, target, query); | |
5815 | |
5816 @DomName('WebGL2RenderingContext.beginTransformFeedback') | |
5817 @DocsEditable() | |
5818 @Experimental() // untriaged | |
5819 void beginTransformFeedback(int primitiveMode) => | |
5820 _blink.BlinkWebGL2RenderingContext.instance | |
5821 .beginTransformFeedback_Callback_1_(this, primitiveMode); | |
5822 | |
5823 @DomName('WebGL2RenderingContext.bindBufferBase') | |
5824 @DocsEditable() | |
5825 @Experimental() // untriaged | |
5826 void bindBufferBase(int target, int index, Buffer buffer) => | |
5827 _blink.BlinkWebGL2RenderingContext.instance | |
5828 .bindBufferBase_Callback_3_(this, target, index, buffer); | |
5829 | |
5830 @DomName('WebGL2RenderingContext.bindBufferRange') | |
5831 @DocsEditable() | |
5832 @Experimental() // untriaged | |
5833 void bindBufferRange( | |
5834 int target, int index, Buffer buffer, int offset, int size) => | |
5835 _blink.BlinkWebGL2RenderingContext.instance.bindBufferRange_Callback_5_( | |
5836 this, target, index, buffer, offset, size); | |
5837 | |
5838 @DomName('WebGL2RenderingContext.bindSampler') | |
5839 @DocsEditable() | |
5840 @Experimental() // untriaged | |
5841 void bindSampler(int unit, Sampler sampler) => | |
5842 _blink.BlinkWebGL2RenderingContext.instance | |
5843 .bindSampler_Callback_2_(this, unit, sampler); | |
5844 | |
5845 @DomName('WebGL2RenderingContext.bindTransformFeedback') | |
5846 @DocsEditable() | |
5847 @Experimental() // untriaged | |
5848 void bindTransformFeedback(int target, TransformFeedback feedback) => | |
5849 _blink.BlinkWebGL2RenderingContext.instance | |
5850 .bindTransformFeedback_Callback_2_(this, target, feedback); | |
5851 | |
5852 @DomName('WebGL2RenderingContext.bindVertexArray') | |
5853 @DocsEditable() | |
5854 @Experimental() // untriaged | |
5855 void bindVertexArray(VertexArrayObject vertexArray) => | |
5856 _blink.BlinkWebGL2RenderingContext.instance | |
5857 .bindVertexArray_Callback_1_(this, vertexArray); | |
5858 | |
5859 @DomName('WebGL2RenderingContext.blitFramebuffer') | |
5860 @DocsEditable() | |
5861 @Experimental() // untriaged | |
5862 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, | |
5863 int dstY0, int dstX1, int dstY1, int mask, int filter) => | |
5864 _blink.BlinkWebGL2RenderingContext.instance.blitFramebuffer_Callback_10_( | |
5865 this, | |
5866 srcX0, | |
5867 srcY0, | |
5868 srcX1, | |
5869 srcY1, | |
5870 dstX0, | |
5871 dstY0, | |
5872 dstX1, | |
5873 dstY1, | |
5874 mask, | |
5875 filter); | |
5876 | |
5877 @DomName('WebGL2RenderingContext.clearBufferfi') | |
5878 @DocsEditable() | |
5879 @Experimental() // untriaged | |
5880 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) => | |
5881 _blink.BlinkWebGL2RenderingContext.instance | |
5882 .clearBufferfi_Callback_4_(this, buffer, drawbuffer, depth, stencil); | |
5883 | |
5884 void clearBufferfv(int buffer, int drawbuffer, value) { | |
5885 if ((value is Float32List) && (drawbuffer is int) && (buffer is int)) { | |
5886 _blink.BlinkWebGL2RenderingContext.instance | |
5887 .clearBufferfv_Callback_3_(this, buffer, drawbuffer, value); | |
5888 return; | |
5889 } | |
5890 if ((value is List<num>) && (drawbuffer is int) && (buffer is int)) { | |
5891 _blink.BlinkWebGL2RenderingContext.instance | |
5892 .clearBufferfv_Callback_3_(this, buffer, drawbuffer, value); | |
5893 return; | |
5894 } | |
5895 throw new ArgumentError("Incorrect number or type of arguments"); | |
5896 } | |
5897 | |
5898 void clearBufferiv(int buffer, int drawbuffer, value) { | |
5899 if ((value is Int32List) && (drawbuffer is int) && (buffer is int)) { | |
5900 _blink.BlinkWebGL2RenderingContext.instance | |
5901 .clearBufferiv_Callback_3_(this, buffer, drawbuffer, value); | |
5902 return; | |
5903 } | |
5904 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) { | |
5905 _blink.BlinkWebGL2RenderingContext.instance | |
5906 .clearBufferiv_Callback_3_(this, buffer, drawbuffer, value); | |
5907 return; | |
5908 } | |
5909 throw new ArgumentError("Incorrect number or type of arguments"); | |
5910 } | |
5911 | |
5912 void clearBufferuiv(int buffer, int drawbuffer, value) { | |
5913 if ((value is Uint32List) && (drawbuffer is int) && (buffer is int)) { | |
5914 _blink.BlinkWebGL2RenderingContext.instance | |
5915 .clearBufferuiv_Callback_3_(this, buffer, drawbuffer, value); | |
5916 return; | |
5917 } | |
5918 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) { | |
5919 _blink.BlinkWebGL2RenderingContext.instance | |
5920 .clearBufferuiv_Callback_3_(this, buffer, drawbuffer, value); | |
5921 return; | |
5922 } | |
5923 throw new ArgumentError("Incorrect number or type of arguments"); | |
5924 } | |
5925 | |
5926 @DomName('WebGL2RenderingContext.clientWaitSync') | |
5927 @DocsEditable() | |
5928 @Experimental() // untriaged | |
5929 int clientWaitSync(Sync sync, int flags, int timeout) => | |
5930 _blink.BlinkWebGL2RenderingContext.instance | |
5931 .clientWaitSync_Callback_3_(this, sync, flags, timeout); | |
5932 | |
5933 @DomName('WebGL2RenderingContext.compressedTexImage3D') | |
5934 @DocsEditable() | |
5935 @Experimental() // untriaged | |
5936 void compressedTexImage3D(int target, int level, int internalformat, | |
5937 int width, int height, int depth, int border, TypedData data) => | |
5938 _blink.BlinkWebGL2RenderingContext.instance | |
5939 .compressedTexImage3D_Callback_8_(this, target, level, internalformat, | |
5940 width, height, depth, border, data); | |
5941 | |
5942 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') | |
5943 @DocsEditable() | |
5944 @Experimental() // untriaged | |
5945 void compressedTexSubImage3D( | |
5946 int target, | |
5947 int level, | |
5948 int xoffset, | |
5949 int yoffset, | |
5950 int zoffset, | |
5951 int width, | |
5952 int height, | |
5953 int depth, | |
5954 int format, | |
5955 TypedData data) => | |
5956 _blink.BlinkWebGL2RenderingContext.instance | |
5957 .compressedTexSubImage3D_Callback_10_(this, target, level, xoffset, | |
5958 yoffset, zoffset, width, height, depth, format, data); | |
5959 | |
5960 @DomName('WebGL2RenderingContext.copyBufferSubData') | |
5961 @DocsEditable() | |
5962 @Experimental() // untriaged | |
5963 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, | |
5964 int writeOffset, int size) => | |
5965 _blink.BlinkWebGL2RenderingContext.instance.copyBufferSubData_Callback_5_( | |
5966 this, readTarget, writeTarget, readOffset, writeOffset, size); | |
5967 | |
5968 @DomName('WebGL2RenderingContext.copyTexSubImage3D') | |
5969 @DocsEditable() | |
5970 @Experimental() // untriaged | |
5971 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, | |
5972 int zoffset, int x, int y, int width, int height) => | |
5973 _blink.BlinkWebGL2RenderingContext.instance.copyTexSubImage3D_Callback_9_( | |
5974 this, target, level, xoffset, yoffset, zoffset, x, y, width, height); | |
5975 | |
5976 @DomName('WebGL2RenderingContext.createQuery') | |
5977 @DocsEditable() | |
5978 @Experimental() // untriaged | |
5979 Query createQuery() => | |
5980 _blink.BlinkWebGL2RenderingContext.instance.createQuery_Callback_0_(this); | |
5981 | |
5982 @DomName('WebGL2RenderingContext.createSampler') | |
5983 @DocsEditable() | |
5984 @Experimental() // untriaged | |
5985 Sampler createSampler() => _blink.BlinkWebGL2RenderingContext.instance | |
5986 .createSampler_Callback_0_(this); | |
5987 | |
5988 @DomName('WebGL2RenderingContext.createTransformFeedback') | |
5989 @DocsEditable() | |
5990 @Experimental() // untriaged | |
5991 TransformFeedback createTransformFeedback() => | |
5992 _blink.BlinkWebGL2RenderingContext.instance | |
5993 .createTransformFeedback_Callback_0_(this); | |
5994 | |
5995 @DomName('WebGL2RenderingContext.createVertexArray') | |
5996 @DocsEditable() | |
5997 @Experimental() // untriaged | |
5998 VertexArrayObject createVertexArray() => | |
5999 _blink.BlinkWebGL2RenderingContext.instance | |
6000 .createVertexArray_Callback_0_(this); | |
6001 | |
6002 @DomName('WebGL2RenderingContext.deleteQuery') | |
6003 @DocsEditable() | |
6004 @Experimental() // untriaged | |
6005 void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance | |
6006 .deleteQuery_Callback_1_(this, query); | |
6007 | |
6008 @DomName('WebGL2RenderingContext.deleteSampler') | |
6009 @DocsEditable() | |
6010 @Experimental() // untriaged | |
6011 void deleteSampler(Sampler sampler) => | |
6012 _blink.BlinkWebGL2RenderingContext.instance | |
6013 .deleteSampler_Callback_1_(this, sampler); | |
6014 | |
6015 @DomName('WebGL2RenderingContext.deleteSync') | |
6016 @DocsEditable() | |
6017 @Experimental() // untriaged | |
6018 void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance | |
6019 .deleteSync_Callback_1_(this, sync); | |
6020 | |
6021 @DomName('WebGL2RenderingContext.deleteTransformFeedback') | |
6022 @DocsEditable() | |
6023 @Experimental() // untriaged | |
6024 void deleteTransformFeedback(TransformFeedback feedback) => | |
6025 _blink.BlinkWebGL2RenderingContext.instance | |
6026 .deleteTransformFeedback_Callback_1_(this, feedback); | |
6027 | |
6028 @DomName('WebGL2RenderingContext.deleteVertexArray') | |
6029 @DocsEditable() | |
6030 @Experimental() // untriaged | |
6031 void deleteVertexArray(VertexArrayObject vertexArray) => | |
6032 _blink.BlinkWebGL2RenderingContext.instance | |
6033 .deleteVertexArray_Callback_1_(this, vertexArray); | |
6034 | |
6035 @DomName('WebGL2RenderingContext.drawArraysInstanced') | |
6036 @DocsEditable() | |
6037 @Experimental() // untriaged | |
6038 void drawArraysInstanced(int mode, int first, int count, int instanceCount) => | |
6039 _blink.BlinkWebGL2RenderingContext.instance | |
6040 .drawArraysInstanced_Callback_4_( | |
6041 this, mode, first, count, instanceCount); | |
6042 | |
6043 @DomName('WebGL2RenderingContext.drawBuffers') | |
6044 @DocsEditable() | |
6045 @Experimental() // untriaged | |
6046 void drawBuffers(List<int> buffers) => | |
6047 _blink.BlinkWebGL2RenderingContext.instance | |
6048 .drawBuffers_Callback_1_(this, buffers); | |
6049 | |
6050 @DomName('WebGL2RenderingContext.drawElementsInstanced') | |
6051 @DocsEditable() | |
6052 @Experimental() // untriaged | |
6053 void drawElementsInstanced( | |
6054 int mode, int count, int type, int offset, int instanceCount) => | |
6055 _blink.BlinkWebGL2RenderingContext.instance | |
6056 .drawElementsInstanced_Callback_5_( | |
6057 this, mode, count, type, offset, instanceCount); | |
6058 | |
6059 @DomName('WebGL2RenderingContext.drawRangeElements') | |
6060 @DocsEditable() | |
6061 @Experimental() // untriaged | |
6062 void drawRangeElements( | |
6063 int mode, int start, int end, int count, int type, int offset) => | |
6064 _blink.BlinkWebGL2RenderingContext.instance.drawRangeElements_Callback_6_( | |
6065 this, mode, start, end, count, type, offset); | |
6066 | |
6067 @DomName('WebGL2RenderingContext.endQuery') | |
6068 @DocsEditable() | |
6069 @Experimental() // untriaged | |
6070 void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance | |
6071 .endQuery_Callback_1_(this, target); | |
6072 | |
6073 @DomName('WebGL2RenderingContext.endTransformFeedback') | |
6074 @DocsEditable() | |
6075 @Experimental() // untriaged | |
6076 void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance | |
6077 .endTransformFeedback_Callback_0_(this); | |
6078 | |
6079 @DomName('WebGL2RenderingContext.fenceSync') | |
6080 @DocsEditable() | |
6081 @Experimental() // untriaged | |
6082 Sync fenceSync(int condition, int flags) => | |
6083 _blink.BlinkWebGL2RenderingContext.instance | |
6084 .fenceSync_Callback_2_(this, condition, flags); | |
6085 | |
6086 @DomName('WebGL2RenderingContext.framebufferTextureLayer') | |
6087 @DocsEditable() | |
6088 @Experimental() // untriaged | |
6089 void framebufferTextureLayer( | |
6090 int target, int attachment, Texture texture, int level, int layer) => | |
6091 _blink.BlinkWebGL2RenderingContext.instance | |
6092 .framebufferTextureLayer_Callback_5_( | |
6093 this, target, attachment, texture, level, layer); | |
6094 | |
6095 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') | |
6096 @DocsEditable() | |
6097 @Experimental() // untriaged | |
6098 String getActiveUniformBlockName(Program program, int uniformBlockIndex) => | |
6099 _blink.BlinkWebGL2RenderingContext.instance | |
6100 .getActiveUniformBlockName_Callback_2_( | |
6101 this, program, uniformBlockIndex); | |
6102 | |
6103 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') | |
6104 @DocsEditable() | |
6105 @Experimental() // untriaged | |
6106 Object getActiveUniformBlockParameter( | |
6107 Program program, int uniformBlockIndex, int pname) => | |
6108 (_blink.BlinkWebGL2RenderingContext.instance | |
6109 .getActiveUniformBlockParameter_Callback_3_( | |
6110 this, program, uniformBlockIndex, pname)); | |
6111 | |
6112 @DomName('WebGL2RenderingContext.getActiveUniforms') | |
6113 @DocsEditable() | |
6114 @Experimental() // untriaged | |
6115 Object getActiveUniforms( | |
6116 Program program, List<int> uniformIndices, int pname) => | |
6117 (_blink.BlinkWebGL2RenderingContext.instance | |
6118 .getActiveUniforms_Callback_3_(this, program, uniformIndices, pname)); | |
6119 | |
6120 @DomName('WebGL2RenderingContext.getBufferSubData') | |
6121 @DocsEditable() | |
6122 @Experimental() // untriaged | |
6123 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => | |
6124 _blink.BlinkWebGL2RenderingContext.instance | |
6125 .getBufferSubData_Callback_3_(this, target, offset, returnedData); | |
6126 | |
6127 @DomName('WebGL2RenderingContext.getFragDataLocation') | |
6128 @DocsEditable() | |
6129 @Experimental() // untriaged | |
6130 int getFragDataLocation(Program program, String name) => | |
6131 _blink.BlinkWebGL2RenderingContext.instance | |
6132 .getFragDataLocation_Callback_2_(this, program, name); | |
6133 | |
6134 @DomName('WebGL2RenderingContext.getIndexedParameter') | |
6135 @DocsEditable() | |
6136 @Experimental() // untriaged | |
6137 Object getIndexedParameter(int target, int index) => | |
6138 (_blink.BlinkWebGL2RenderingContext.instance | |
6139 .getIndexedParameter_Callback_2_(this, target, index)); | |
6140 | |
6141 @DomName('WebGL2RenderingContext.getInternalformatParameter') | |
6142 @DocsEditable() | |
6143 @Experimental() // untriaged | |
6144 Object getInternalformatParameter( | |
6145 int target, int internalformat, int pname) => | |
6146 (_blink.BlinkWebGL2RenderingContext.instance | |
6147 .getInternalformatParameter_Callback_3_( | |
6148 this, target, internalformat, pname)); | |
6149 | |
6150 @DomName('WebGL2RenderingContext.getQuery') | |
6151 @DocsEditable() | |
6152 @Experimental() // untriaged | |
6153 Query getQuery(int target, int pname) => | |
6154 _blink.BlinkWebGL2RenderingContext.instance | |
6155 .getQuery_Callback_2_(this, target, pname); | |
6156 | |
6157 @DomName('WebGL2RenderingContext.getQueryParameter') | |
6158 @DocsEditable() | |
6159 @Experimental() // untriaged | |
6160 Object getQueryParameter(Query query, int pname) => | |
6161 (_blink.BlinkWebGL2RenderingContext.instance | |
6162 .getQueryParameter_Callback_2_(this, query, pname)); | |
6163 | |
6164 @DomName('WebGL2RenderingContext.getSamplerParameter') | |
6165 @DocsEditable() | |
6166 @Experimental() // untriaged | |
6167 Object getSamplerParameter(Sampler sampler, int pname) => | |
6168 (_blink.BlinkWebGL2RenderingContext.instance | |
6169 .getSamplerParameter_Callback_2_(this, sampler, pname)); | |
6170 | |
6171 @DomName('WebGL2RenderingContext.getSyncParameter') | |
6172 @DocsEditable() | |
6173 @Experimental() // untriaged | |
6174 Object getSyncParameter(Sync sync, int pname) => | |
6175 (_blink.BlinkWebGL2RenderingContext.instance | |
6176 .getSyncParameter_Callback_2_(this, sync, pname)); | |
6177 | |
6178 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') | |
6179 @DocsEditable() | |
6180 @Experimental() // untriaged | |
6181 ActiveInfo getTransformFeedbackVarying(Program program, int index) => | |
6182 _blink.BlinkWebGL2RenderingContext.instance | |
6183 .getTransformFeedbackVarying_Callback_2_(this, program, index); | |
6184 | |
6185 @DomName('WebGL2RenderingContext.getUniformBlockIndex') | |
6186 @DocsEditable() | |
6187 @Experimental() // untriaged | |
6188 int getUniformBlockIndex(Program program, String uniformBlockName) => | |
6189 _blink.BlinkWebGL2RenderingContext.instance | |
6190 .getUniformBlockIndex_Callback_2_(this, program, uniformBlockName); | |
6191 | |
6192 @DomName('WebGL2RenderingContext.getUniformIndices') | |
6193 @DocsEditable() | |
6194 @Experimental() // untriaged | |
6195 List<int> getUniformIndices(Program program, List<String> uniformNames) => | |
6196 _blink.BlinkWebGL2RenderingContext.instance | |
6197 .getUniformIndices_Callback_2_(this, program, uniformNames); | |
6198 | |
6199 @DomName('WebGL2RenderingContext.invalidateFramebuffer') | |
6200 @DocsEditable() | |
6201 @Experimental() // untriaged | |
6202 void invalidateFramebuffer(int target, List<int> attachments) => | |
6203 _blink.BlinkWebGL2RenderingContext.instance | |
6204 .invalidateFramebuffer_Callback_2_(this, target, attachments); | |
6205 | |
6206 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') | |
6207 @DocsEditable() | |
6208 @Experimental() // untriaged | |
6209 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, | |
6210 int width, int height) => | |
6211 _blink.BlinkWebGL2RenderingContext.instance | |
6212 .invalidateSubFramebuffer_Callback_6_( | |
6213 this, target, attachments, x, y, width, height); | |
6214 | |
6215 @DomName('WebGL2RenderingContext.isQuery') | |
6216 @DocsEditable() | |
6217 @Experimental() // untriaged | |
6218 bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance | |
6219 .isQuery_Callback_1_(this, query); | |
6220 | |
6221 @DomName('WebGL2RenderingContext.isSampler') | |
6222 @DocsEditable() | |
6223 @Experimental() // untriaged | |
6224 bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance | |
6225 .isSampler_Callback_1_(this, sampler); | |
6226 | |
6227 @DomName('WebGL2RenderingContext.isSync') | |
6228 @DocsEditable() | |
6229 @Experimental() // untriaged | |
6230 bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance | |
6231 .isSync_Callback_1_(this, sync); | |
6232 | |
6233 @DomName('WebGL2RenderingContext.isTransformFeedback') | |
6234 @DocsEditable() | |
6235 @Experimental() // untriaged | |
6236 bool isTransformFeedback(TransformFeedback feedback) => | |
6237 _blink.BlinkWebGL2RenderingContext.instance | |
6238 .isTransformFeedback_Callback_1_(this, feedback); | |
6239 | |
6240 @DomName('WebGL2RenderingContext.isVertexArray') | |
6241 @DocsEditable() | |
6242 @Experimental() // untriaged | |
6243 bool isVertexArray(VertexArrayObject vertexArray) => | |
6244 _blink.BlinkWebGL2RenderingContext.instance | |
6245 .isVertexArray_Callback_1_(this, vertexArray); | |
6246 | |
6247 @DomName('WebGL2RenderingContext.pauseTransformFeedback') | |
6248 @DocsEditable() | |
6249 @Experimental() // untriaged | |
6250 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance | |
6251 .pauseTransformFeedback_Callback_0_(this); | |
6252 | |
6253 @DomName('WebGL2RenderingContext.readBuffer') | |
6254 @DocsEditable() | |
6255 @Experimental() // untriaged | |
6256 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance | |
6257 .readBuffer_Callback_1_(this, mode); | |
6258 | |
6259 @DomName('WebGL2RenderingContext.readPixels2') | |
6260 @DocsEditable() | |
6261 @Experimental() // untriaged | |
6262 void readPixels2(int x, int y, int width, int height, int format, int type, | |
6263 int offset) => | |
6264 _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callback_7_( | |
6265 this, x, y, width, height, format, type, offset); | |
6266 | |
6267 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') | |
6268 @DocsEditable() | |
6269 @Experimental() // untriaged | |
6270 void renderbufferStorageMultisample( | |
6271 int target, int samples, int internalformat, int width, int height) => | |
6272 _blink.BlinkWebGL2RenderingContext.instance | |
6273 .renderbufferStorageMultisample_Callback_5_( | |
6274 this, target, samples, internalformat, width, height); | |
6275 | |
6276 @DomName('WebGL2RenderingContext.resumeTransformFeedback') | |
6277 @DocsEditable() | |
6278 @Experimental() // untriaged | |
6279 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance | |
6280 .resumeTransformFeedback_Callback_0_(this); | |
6281 | |
6282 @DomName('WebGL2RenderingContext.samplerParameterf') | |
6283 @DocsEditable() | |
6284 @Experimental() // untriaged | |
6285 void samplerParameterf(Sampler sampler, int pname, num param) => | |
6286 _blink.BlinkWebGL2RenderingContext.instance | |
6287 .samplerParameterf_Callback_3_(this, sampler, pname, param); | |
6288 | |
6289 @DomName('WebGL2RenderingContext.samplerParameteri') | |
6290 @DocsEditable() | |
6291 @Experimental() // untriaged | |
6292 void samplerParameteri(Sampler sampler, int pname, int param) => | |
6293 _blink.BlinkWebGL2RenderingContext.instance | |
6294 .samplerParameteri_Callback_3_(this, sampler, pname, param); | |
6295 | |
6296 @DomName('WebGL2RenderingContext.texImage2D2') | |
6297 @DocsEditable() | |
6298 @Experimental() // untriaged | |
6299 void texImage2D2(int target, int level, int internalformat, int width, | |
6300 int height, int border, int format, int type, int offset) => | |
6301 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_( | |
6302 this, | |
6303 target, | |
6304 level, | |
6305 internalformat, | |
6306 width, | |
6307 height, | |
6308 border, | |
6309 format, | |
6310 type, | |
6311 offset); | |
6312 | |
6313 void texImage3D( | |
6314 int target, | |
6315 int level, | |
6316 int internalformat, | |
6317 int width, | |
6318 int height, | |
6319 int depth, | |
6320 int border, | |
6321 int format, | |
6322 int type, | |
6323 offset_OR_pixels) { | |
6324 if ((offset_OR_pixels is TypedData || offset_OR_pixels == null) && | |
6325 (type is int) && | |
6326 (format is int) && | |
6327 (border is int) && | |
6328 (depth is int) && | |
6329 (height is int) && | |
6330 (width is int) && | |
6331 (internalformat is int) && | |
6332 (level is int) && | |
6333 (target is int)) { | |
6334 _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_( | |
6335 this, | |
6336 target, | |
6337 level, | |
6338 internalformat, | |
6339 width, | |
6340 height, | |
6341 depth, | |
6342 border, | |
6343 format, | |
6344 type, | |
6345 offset_OR_pixels); | |
6346 return; | |
6347 } | |
6348 if ((offset_OR_pixels is int) && | |
6349 (type is int) && | |
6350 (format is int) && | |
6351 (border is int) && | |
6352 (depth is int) && | |
6353 (height is int) && | |
6354 (width is int) && | |
6355 (internalformat is int) && | |
6356 (level is int) && | |
6357 (target is int)) { | |
6358 _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_( | |
6359 this, | |
6360 target, | |
6361 level, | |
6362 internalformat, | |
6363 width, | |
6364 height, | |
6365 depth, | |
6366 border, | |
6367 format, | |
6368 type, | |
6369 offset_OR_pixels); | |
6370 return; | |
6371 } | |
6372 throw new ArgumentError("Incorrect number or type of arguments"); | |
6373 } | |
6374 | |
6375 @DomName('WebGL2RenderingContext.texStorage2D') | |
6376 @DocsEditable() | |
6377 @Experimental() // untriaged | |
6378 void texStorage2D( | |
6379 int target, int levels, int internalformat, int width, int height) => | |
6380 _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_( | |
6381 this, target, levels, internalformat, width, height); | |
6382 | |
6383 @DomName('WebGL2RenderingContext.texStorage3D') | |
6384 @DocsEditable() | |
6385 @Experimental() // untriaged | |
6386 void texStorage3D(int target, int levels, int internalformat, int width, | |
6387 int height, int depth) => | |
6388 _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Callback_6_( | |
6389 this, target, levels, internalformat, width, height, depth); | |
6390 | |
6391 void texSubImage3D( | |
6392 int target, | |
6393 int level, | |
6394 int xoffset, | |
6395 int yoffset, | |
6396 int zoffset, | |
6397 int format_OR_width, | |
6398 int height_OR_type, | |
6399 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video, | |
6400 [int format, | |
6401 int type, | |
6402 TypedData pixels]) { | |
6403 if ((pixels is TypedData || pixels == null) && | |
6404 (type is int) && | |
6405 (format is int) && | |
6406 (bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is int) && | |
6407 (height_OR_type is int) && | |
6408 (format_OR_width is int) && | |
6409 (zoffset is int) && | |
6410 (yoffset is int) && | |
6411 (xoffset is int) && | |
6412 (level is int) && | |
6413 (target is int)) { | |
6414 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_( | |
6415 this, | |
6416 target, | |
6417 level, | |
6418 xoffset, | |
6419 yoffset, | |
6420 zoffset, | |
6421 format_OR_width, | |
6422 height_OR_type, | |
6423 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video, | |
6424 format, | |
6425 type, | |
6426 pixels); | |
6427 return; | |
6428 } | |
6429 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || | |
6430 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && | |
6431 (height_OR_type is int) && | |
6432 (format_OR_width is int) && | |
6433 (zoffset is int) && | |
6434 (yoffset is int) && | |
6435 (xoffset is int) && | |
6436 (level is int) && | |
6437 (target is int) && | |
6438 format == null && | |
6439 type == null && | |
6440 pixels == null) { | |
6441 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | |
6442 this, | |
6443 target, | |
6444 level, | |
6445 xoffset, | |
6446 yoffset, | |
6447 zoffset, | |
6448 format_OR_width, | |
6449 height_OR_type, | |
6450 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); | |
6451 return; | |
6452 } | |
6453 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || | |
6454 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && | |
6455 (height_OR_type is int) && | |
6456 (format_OR_width is int) && | |
6457 (zoffset is int) && | |
6458 (yoffset is int) && | |
6459 (xoffset is int) && | |
6460 (level is int) && | |
6461 (target is int) && | |
6462 format == null && | |
6463 type == null && | |
6464 pixels == null) { | |
6465 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | |
6466 this, | |
6467 target, | |
6468 level, | |
6469 xoffset, | |
6470 yoffset, | |
6471 zoffset, | |
6472 format_OR_width, | |
6473 height_OR_type, | |
6474 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); | |
6475 return; | |
6476 } | |
6477 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || | |
6478 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && | |
6479 (height_OR_type is int) && | |
6480 (format_OR_width is int) && | |
6481 (zoffset is int) && | |
6482 (yoffset is int) && | |
6483 (xoffset is int) && | |
6484 (level is int) && | |
6485 (target is int) && | |
6486 format == null && | |
6487 type == null && | |
6488 pixels == null) { | |
6489 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | |
6490 this, | |
6491 target, | |
6492 level, | |
6493 xoffset, | |
6494 yoffset, | |
6495 zoffset, | |
6496 format_OR_width, | |
6497 height_OR_type, | |
6498 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); | |
6499 return; | |
6500 } | |
6501 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || | |
6502 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && | |
6503 (height_OR_type is int) && | |
6504 (format_OR_width is int) && | |
6505 (zoffset is int) && | |
6506 (yoffset is int) && | |
6507 (xoffset is int) && | |
6508 (level is int) && | |
6509 (target is int) && | |
6510 format == null && | |
6511 type == null && | |
6512 pixels == null) { | |
6513 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | |
6514 this, | |
6515 target, | |
6516 level, | |
6517 xoffset, | |
6518 yoffset, | |
6519 zoffset, | |
6520 format_OR_width, | |
6521 height_OR_type, | |
6522 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); | |
6523 return; | |
6524 } | |
6525 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageBitmap || | |
6526 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && | |
6527 (height_OR_type is int) && | |
6528 (format_OR_width is int) && | |
6529 (zoffset is int) && | |
6530 (yoffset is int) && | |
6531 (xoffset is int) && | |
6532 (level is int) && | |
6533 (target is int) && | |
6534 format == null && | |
6535 type == null && | |
6536 pixels == null) { | |
6537 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | |
6538 this, | |
6539 target, | |
6540 level, | |
6541 xoffset, | |
6542 yoffset, | |
6543 zoffset, | |
6544 format_OR_width, | |
6545 height_OR_type, | |
6546 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); | |
6547 return; | |
6548 } | |
6549 throw new ArgumentError("Incorrect number or type of arguments"); | |
6550 } | |
6551 | |
6552 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | |
6553 @DocsEditable() | |
6554 @Experimental() // untriaged | |
6555 void transformFeedbackVaryings( | |
6556 Program program, List<String> varyings, int bufferMode) => | |
6557 _blink.BlinkWebGL2RenderingContext.instance | |
6558 .transformFeedbackVaryings_Callback_3_( | |
6559 this, program, varyings, bufferMode); | |
6560 | |
6561 @DomName('WebGL2RenderingContext.uniform1ui') | |
6562 @DocsEditable() | |
6563 @Experimental() // untriaged | |
6564 void uniform1ui(UniformLocation location, int v0) => | |
6565 _blink.BlinkWebGL2RenderingContext.instance | |
6566 .uniform1ui_Callback_2_(this, location, v0); | |
6567 | |
6568 void uniform1uiv(UniformLocation location, v) { | |
6569 if ((v is Uint32List) && | |
6570 (location is UniformLocation || location == null)) { | |
6571 _blink.BlinkWebGL2RenderingContext.instance | |
6572 .uniform1uiv_Callback_2_(this, location, v); | |
6573 return; | |
6574 } | |
6575 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
6576 _blink.BlinkWebGL2RenderingContext.instance | |
6577 .uniform1uiv_Callback_2_(this, location, v); | |
6578 return; | |
6579 } | |
6580 throw new ArgumentError("Incorrect number or type of arguments"); | |
6581 } | |
6582 | |
6583 @DomName('WebGL2RenderingContext.uniform2ui') | |
6584 @DocsEditable() | |
6585 @Experimental() // untriaged | |
6586 void uniform2ui(UniformLocation location, int v0, int v1) => | |
6587 _blink.BlinkWebGL2RenderingContext.instance | |
6588 .uniform2ui_Callback_3_(this, location, v0, v1); | |
6589 | |
6590 void uniform2uiv(UniformLocation location, v) { | |
6591 if ((v is Uint32List) && | |
6592 (location is UniformLocation || location == null)) { | |
6593 _blink.BlinkWebGL2RenderingContext.instance | |
6594 .uniform2uiv_Callback_2_(this, location, v); | |
6595 return; | |
6596 } | |
6597 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
6598 _blink.BlinkWebGL2RenderingContext.instance | |
6599 .uniform2uiv_Callback_2_(this, location, v); | |
6600 return; | |
6601 } | |
6602 throw new ArgumentError("Incorrect number or type of arguments"); | |
6603 } | |
6604 | |
6605 @DomName('WebGL2RenderingContext.uniform3ui') | |
6606 @DocsEditable() | |
6607 @Experimental() // untriaged | |
6608 void uniform3ui(UniformLocation location, int v0, int v1, int v2) => | |
6609 _blink.BlinkWebGL2RenderingContext.instance | |
6610 .uniform3ui_Callback_4_(this, location, v0, v1, v2); | |
6611 | |
6612 void uniform3uiv(UniformLocation location, v) { | |
6613 if ((v is Uint32List) && | |
6614 (location is UniformLocation || location == null)) { | |
6615 _blink.BlinkWebGL2RenderingContext.instance | |
6616 .uniform3uiv_Callback_2_(this, location, v); | |
6617 return; | |
6618 } | |
6619 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
6620 _blink.BlinkWebGL2RenderingContext.instance | |
6621 .uniform3uiv_Callback_2_(this, location, v); | |
6622 return; | |
6623 } | |
6624 throw new ArgumentError("Incorrect number or type of arguments"); | |
6625 } | |
6626 | |
6627 @DomName('WebGL2RenderingContext.uniform4ui') | |
6628 @DocsEditable() | |
6629 @Experimental() // untriaged | |
6630 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => | |
6631 _blink.BlinkWebGL2RenderingContext.instance | |
6632 .uniform4ui_Callback_5_(this, location, v0, v1, v2, v3); | |
6633 | |
6634 void uniform4uiv(UniformLocation location, v) { | |
6635 if ((v is Uint32List) && | |
6636 (location is UniformLocation || location == null)) { | |
6637 _blink.BlinkWebGL2RenderingContext.instance | |
6638 .uniform4uiv_Callback_2_(this, location, v); | |
6639 return; | |
6640 } | |
6641 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
6642 _blink.BlinkWebGL2RenderingContext.instance | |
6643 .uniform4uiv_Callback_2_(this, location, v); | |
6644 return; | |
6645 } | |
6646 throw new ArgumentError("Incorrect number or type of arguments"); | |
6647 } | |
6648 | |
6649 @DomName('WebGL2RenderingContext.uniformBlockBinding') | |
6650 @DocsEditable() | |
6651 @Experimental() // untriaged | |
6652 void uniformBlockBinding( | |
6653 Program program, int uniformBlockIndex, int uniformBlockBinding) => | |
6654 _blink.BlinkWebGL2RenderingContext.instance | |
6655 .uniformBlockBinding_Callback_3_( | |
6656 this, program, uniformBlockIndex, uniformBlockBinding); | |
6657 | |
6658 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) { | |
6659 if ((value is Float32List) && | |
6660 (transpose is bool) && | |
6661 (location is UniformLocation || location == null)) { | |
6662 _blink.BlinkWebGL2RenderingContext.instance | |
6663 .uniformMatrix2x3fv_Callback_3_(this, location, transpose, value); | |
6664 return; | |
6665 } | |
6666 if ((value is List<num>) && | |
6667 (transpose is bool) && | |
6668 (location is UniformLocation || location == null)) { | |
6669 _blink.BlinkWebGL2RenderingContext.instance | |
6670 .uniformMatrix2x3fv_Callback_3_(this, location, transpose, value); | |
6671 return; | |
6672 } | |
6673 throw new ArgumentError("Incorrect number or type of arguments"); | |
6674 } | |
6675 | |
6676 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) { | |
6677 if ((value is Float32List) && | |
6678 (transpose is bool) && | |
6679 (location is UniformLocation || location == null)) { | |
6680 _blink.BlinkWebGL2RenderingContext.instance | |
6681 .uniformMatrix2x4fv_Callback_3_(this, location, transpose, value); | |
6682 return; | |
6683 } | |
6684 if ((value is List<num>) && | |
6685 (transpose is bool) && | |
6686 (location is UniformLocation || location == null)) { | |
6687 _blink.BlinkWebGL2RenderingContext.instance | |
6688 .uniformMatrix2x4fv_Callback_3_(this, location, transpose, value); | |
6689 return; | |
6690 } | |
6691 throw new ArgumentError("Incorrect number or type of arguments"); | |
6692 } | |
6693 | |
6694 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) { | |
6695 if ((value is Float32List) && | |
6696 (transpose is bool) && | |
6697 (location is UniformLocation || location == null)) { | |
6698 _blink.BlinkWebGL2RenderingContext.instance | |
6699 .uniformMatrix3x2fv_Callback_3_(this, location, transpose, value); | |
6700 return; | |
6701 } | |
6702 if ((value is List<num>) && | |
6703 (transpose is bool) && | |
6704 (location is UniformLocation || location == null)) { | |
6705 _blink.BlinkWebGL2RenderingContext.instance | |
6706 .uniformMatrix3x2fv_Callback_3_(this, location, transpose, value); | |
6707 return; | |
6708 } | |
6709 throw new ArgumentError("Incorrect number or type of arguments"); | |
6710 } | |
6711 | |
6712 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) { | |
6713 if ((value is Float32List) && | |
6714 (transpose is bool) && | |
6715 (location is UniformLocation || location == null)) { | |
6716 _blink.BlinkWebGL2RenderingContext.instance | |
6717 .uniformMatrix3x4fv_Callback_3_(this, location, transpose, value); | |
6718 return; | |
6719 } | |
6720 if ((value is List<num>) && | |
6721 (transpose is bool) && | |
6722 (location is UniformLocation || location == null)) { | |
6723 _blink.BlinkWebGL2RenderingContext.instance | |
6724 .uniformMatrix3x4fv_Callback_3_(this, location, transpose, value); | |
6725 return; | |
6726 } | |
6727 throw new ArgumentError("Incorrect number or type of arguments"); | |
6728 } | |
6729 | |
6730 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) { | |
6731 if ((value is Float32List) && | |
6732 (transpose is bool) && | |
6733 (location is UniformLocation || location == null)) { | |
6734 _blink.BlinkWebGL2RenderingContext.instance | |
6735 .uniformMatrix4x2fv_Callback_3_(this, location, transpose, value); | |
6736 return; | |
6737 } | |
6738 if ((value is List<num>) && | |
6739 (transpose is bool) && | |
6740 (location is UniformLocation || location == null)) { | |
6741 _blink.BlinkWebGL2RenderingContext.instance | |
6742 .uniformMatrix4x2fv_Callback_3_(this, location, transpose, value); | |
6743 return; | |
6744 } | |
6745 throw new ArgumentError("Incorrect number or type of arguments"); | |
6746 } | |
6747 | |
6748 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) { | |
6749 if ((value is Float32List) && | |
6750 (transpose is bool) && | |
6751 (location is UniformLocation || location == null)) { | |
6752 _blink.BlinkWebGL2RenderingContext.instance | |
6753 .uniformMatrix4x3fv_Callback_3_(this, location, transpose, value); | |
6754 return; | |
6755 } | |
6756 if ((value is List<num>) && | |
6757 (transpose is bool) && | |
6758 (location is UniformLocation || location == null)) { | |
6759 _blink.BlinkWebGL2RenderingContext.instance | |
6760 .uniformMatrix4x3fv_Callback_3_(this, location, transpose, value); | |
6761 return; | |
6762 } | |
6763 throw new ArgumentError("Incorrect number or type of arguments"); | |
6764 } | |
6765 | |
6766 @DomName('WebGL2RenderingContext.vertexAttribDivisor') | |
6767 @DocsEditable() | |
6768 @Experimental() // untriaged | |
6769 void vertexAttribDivisor(int index, int divisor) => | |
6770 _blink.BlinkWebGL2RenderingContext.instance | |
6771 .vertexAttribDivisor_Callback_2_(this, index, divisor); | |
6772 | |
6773 @DomName('WebGL2RenderingContext.vertexAttribI4i') | |
6774 @DocsEditable() | |
6775 @Experimental() // untriaged | |
6776 void vertexAttribI4i(int index, int x, int y, int z, int w) => | |
6777 _blink.BlinkWebGL2RenderingContext.instance | |
6778 .vertexAttribI4i_Callback_5_(this, index, x, y, z, w); | |
6779 | |
6780 void vertexAttribI4iv(int index, v) { | |
6781 if ((v is Int32List) && (index is int)) { | |
6782 _blink.BlinkWebGL2RenderingContext.instance | |
6783 .vertexAttribI4iv_Callback_2_(this, index, v); | |
6784 return; | |
6785 } | |
6786 if ((v is List<int>) && (index is int)) { | |
6787 _blink.BlinkWebGL2RenderingContext.instance | |
6788 .vertexAttribI4iv_Callback_2_(this, index, v); | |
6789 return; | |
6790 } | |
6791 throw new ArgumentError("Incorrect number or type of arguments"); | |
6792 } | |
6793 | |
6794 @DomName('WebGL2RenderingContext.vertexAttribI4ui') | |
6795 @DocsEditable() | |
6796 @Experimental() // untriaged | |
6797 void vertexAttribI4ui(int index, int x, int y, int z, int w) => | |
6798 _blink.BlinkWebGL2RenderingContext.instance | |
6799 .vertexAttribI4ui_Callback_5_(this, index, x, y, z, w); | |
6800 | |
6801 void vertexAttribI4uiv(int index, v) { | |
6802 if ((v is Uint32List) && (index is int)) { | |
6803 _blink.BlinkWebGL2RenderingContext.instance | |
6804 .vertexAttribI4uiv_Callback_2_(this, index, v); | |
6805 return; | |
6806 } | |
6807 if ((v is List<int>) && (index is int)) { | |
6808 _blink.BlinkWebGL2RenderingContext.instance | |
6809 .vertexAttribI4uiv_Callback_2_(this, index, v); | |
6810 return; | |
6811 } | |
6812 throw new ArgumentError("Incorrect number or type of arguments"); | |
6813 } | |
6814 | |
6815 @DomName('WebGL2RenderingContext.vertexAttribIPointer') | |
6816 @DocsEditable() | |
6817 @Experimental() // untriaged | |
6818 void vertexAttribIPointer( | |
6819 int index, int size, int type, int stride, int offset) => | |
6820 _blink.BlinkWebGL2RenderingContext.instance | |
6821 .vertexAttribIPointer_Callback_5_( | |
6822 this, index, size, type, stride, offset); | |
6823 | |
6824 @DomName('WebGL2RenderingContext.waitSync') | |
6825 @DocsEditable() | |
6826 @Experimental() // untriaged | |
6827 void waitSync(Sync sync, int flags, int timeout) => | |
6828 _blink.BlinkWebGL2RenderingContext.instance | |
6829 .waitSync_Callback_3_(this, sync, flags, timeout); | |
6830 | |
6831 @DomName('WebGL2RenderingContext.canvas') | |
6832 @DocsEditable() | |
6833 @Experimental() // untriaged | |
6834 CanvasElement get canvas => | |
6835 _blink.BlinkWebGL2RenderingContext.instance.canvas_Getter_(this); | |
6836 | |
6837 @DomName('WebGL2RenderingContext.drawingBufferHeight') | |
6838 @DocsEditable() | |
6839 @Experimental() // untriaged | |
6840 int get drawingBufferHeight => _blink.BlinkWebGL2RenderingContext.instance | |
6841 .drawingBufferHeight_Getter_(this); | |
6842 | |
6843 @DomName('WebGL2RenderingContext.drawingBufferWidth') | |
6844 @DocsEditable() | |
6845 @Experimental() // untriaged | |
6846 int get drawingBufferWidth => _blink.BlinkWebGL2RenderingContext.instance | |
6847 .drawingBufferWidth_Getter_(this); | |
6848 | |
6849 @DomName('WebGL2RenderingContext.activeTexture') | |
6850 @DocsEditable() | |
6851 @Experimental() // untriaged | |
6852 void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance | |
6853 .activeTexture_Callback_1_(this, texture); | |
6854 | |
6855 @DomName('WebGL2RenderingContext.attachShader') | |
6856 @DocsEditable() | |
6857 @Experimental() // untriaged | |
6858 void attachShader(Program program, Shader shader) => | |
6859 _blink.BlinkWebGL2RenderingContext.instance | |
6860 .attachShader_Callback_2_(this, program, shader); | |
6861 | |
6862 @DomName('WebGL2RenderingContext.bindAttribLocation') | |
6863 @DocsEditable() | |
6864 @Experimental() // untriaged | |
6865 void bindAttribLocation(Program program, int index, String name) => | |
6866 _blink.BlinkWebGL2RenderingContext.instance | |
6867 .bindAttribLocation_Callback_3_(this, program, index, name); | |
6868 | |
6869 @DomName('WebGL2RenderingContext.bindBuffer') | |
6870 @DocsEditable() | |
6871 @Experimental() // untriaged | |
6872 void bindBuffer(int target, Buffer buffer) => | |
6873 _blink.BlinkWebGL2RenderingContext.instance | |
6874 .bindBuffer_Callback_2_(this, target, buffer); | |
6875 | |
6876 @DomName('WebGL2RenderingContext.bindFramebuffer') | |
6877 @DocsEditable() | |
6878 @Experimental() // untriaged | |
6879 void bindFramebuffer(int target, Framebuffer framebuffer) => | |
6880 _blink.BlinkWebGL2RenderingContext.instance | |
6881 .bindFramebuffer_Callback_2_(this, target, framebuffer); | |
6882 | |
6883 @DomName('WebGL2RenderingContext.bindRenderbuffer') | |
6884 @DocsEditable() | |
6885 @Experimental() // untriaged | |
6886 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => | |
6887 _blink.BlinkWebGL2RenderingContext.instance | |
6888 .bindRenderbuffer_Callback_2_(this, target, renderbuffer); | |
6889 | |
6890 @DomName('WebGL2RenderingContext.bindTexture') | |
6891 @DocsEditable() | |
6892 @Experimental() // untriaged | |
6893 void bindTexture(int target, Texture texture) => | |
6894 _blink.BlinkWebGL2RenderingContext.instance | |
6895 .bindTexture_Callback_2_(this, target, texture); | |
6896 | |
6897 @DomName('WebGL2RenderingContext.blendColor') | |
6898 @DocsEditable() | |
6899 @Experimental() // untriaged | |
6900 void blendColor(num red, num green, num blue, num alpha) => | |
6901 _blink.BlinkWebGL2RenderingContext.instance | |
6902 .blendColor_Callback_4_(this, red, green, blue, alpha); | |
6903 | |
6904 @DomName('WebGL2RenderingContext.blendEquation') | |
6905 @DocsEditable() | |
6906 @Experimental() // untriaged | |
6907 void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance | |
6908 .blendEquation_Callback_1_(this, mode); | |
6909 | |
6910 @DomName('WebGL2RenderingContext.blendEquationSeparate') | |
6911 @DocsEditable() | |
6912 @Experimental() // untriaged | |
6913 void blendEquationSeparate(int modeRGB, int modeAlpha) => | |
6914 _blink.BlinkWebGL2RenderingContext.instance | |
6915 .blendEquationSeparate_Callback_2_(this, modeRGB, modeAlpha); | |
6916 | |
6917 @DomName('WebGL2RenderingContext.blendFunc') | |
6918 @DocsEditable() | |
6919 @Experimental() // untriaged | |
6920 void blendFunc(int sfactor, int dfactor) => | |
6921 _blink.BlinkWebGL2RenderingContext.instance | |
6922 .blendFunc_Callback_2_(this, sfactor, dfactor); | |
6923 | |
6924 @DomName('WebGL2RenderingContext.blendFuncSeparate') | |
6925 @DocsEditable() | |
6926 @Experimental() // untriaged | |
6927 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => | |
6928 _blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_( | |
6929 this, srcRGB, dstRGB, srcAlpha, dstAlpha); | |
6930 | |
6931 void bufferData(int target, data_OR_size, int usage) { | |
6932 if ((usage is int) && (data_OR_size is int) && (target is int)) { | |
6933 _blink.BlinkWebGL2RenderingContext.instance | |
6934 .bufferData_Callback_3_(this, target, data_OR_size, usage); | |
6935 return; | |
6936 } | |
6937 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { | |
6938 _blink.BlinkWebGL2RenderingContext.instance | |
6939 .bufferData_Callback_3_(this, target, data_OR_size, usage); | |
6940 return; | |
6941 } | |
6942 if ((usage is int) && | |
6943 (data_OR_size is ByteBuffer || data_OR_size == null) && | |
6944 (target is int)) { | |
6945 _blink.BlinkWebGL2RenderingContext.instance | |
6946 .bufferData_Callback_3_(this, target, data_OR_size, usage); | |
6947 return; | |
6948 } | |
6949 throw new ArgumentError("Incorrect number or type of arguments"); | |
6950 } | |
6951 | |
6952 void bufferSubData(int target, int offset, data) { | |
6953 if ((data is TypedData) && (offset is int) && (target is int)) { | |
6954 _blink.BlinkWebGL2RenderingContext.instance | |
6955 .bufferSubData_Callback_3_(this, target, offset, data); | |
6956 return; | |
6957 } | |
6958 if ((data is ByteBuffer || data == null) && | |
6959 (offset is int) && | |
6960 (target is int)) { | |
6961 _blink.BlinkWebGL2RenderingContext.instance | |
6962 .bufferSubData_Callback_3_(this, target, offset, data); | |
6963 return; | |
6964 } | |
6965 throw new ArgumentError("Incorrect number or type of arguments"); | |
6966 } | |
6967 | |
6968 @DomName('WebGL2RenderingContext.checkFramebufferStatus') | |
6969 @DocsEditable() | |
6970 @Experimental() // untriaged | |
6971 int checkFramebufferStatus(int target) => | |
6972 _blink.BlinkWebGL2RenderingContext.instance | |
6973 .checkFramebufferStatus_Callback_1_(this, target); | |
6974 | |
6975 @DomName('WebGL2RenderingContext.clear') | |
6976 @DocsEditable() | |
6977 @Experimental() // untriaged | |
6978 void clear(int mask) => | |
6979 _blink.BlinkWebGL2RenderingContext.instance.clear_Callback_1_(this, mask); | |
6980 | |
6981 @DomName('WebGL2RenderingContext.clearColor') | |
6982 @DocsEditable() | |
6983 @Experimental() // untriaged | |
6984 void clearColor(num red, num green, num blue, num alpha) => | |
6985 _blink.BlinkWebGL2RenderingContext.instance | |
6986 .clearColor_Callback_4_(this, red, green, blue, alpha); | |
6987 | |
6988 @DomName('WebGL2RenderingContext.clearDepth') | |
6989 @DocsEditable() | |
6990 @Experimental() // untriaged | |
6991 void clearDepth(num depth) => _blink.BlinkWebGL2RenderingContext.instance | |
6992 .clearDepth_Callback_1_(this, depth); | |
6993 | |
6994 @DomName('WebGL2RenderingContext.clearStencil') | |
6995 @DocsEditable() | |
6996 @Experimental() // untriaged | |
6997 void clearStencil(int s) => _blink.BlinkWebGL2RenderingContext.instance | |
6998 .clearStencil_Callback_1_(this, s); | |
6999 | |
7000 @DomName('WebGL2RenderingContext.colorMask') | |
7001 @DocsEditable() | |
7002 @Experimental() // untriaged | |
7003 void colorMask(bool red, bool green, bool blue, bool alpha) => | |
7004 _blink.BlinkWebGL2RenderingContext.instance | |
7005 .colorMask_Callback_4_(this, red, green, blue, alpha); | |
7006 | |
7007 @DomName('WebGL2RenderingContext.compileShader') | |
7008 @DocsEditable() | |
7009 @Experimental() // untriaged | |
7010 void compileShader(Shader shader) => | |
7011 _blink.BlinkWebGL2RenderingContext.instance | |
7012 .compileShader_Callback_1_(this, shader); | |
7013 | |
7014 @DomName('WebGL2RenderingContext.compressedTexImage2D') | |
7015 @DocsEditable() | |
7016 @Experimental() // untriaged | |
7017 void compressedTexImage2D(int target, int level, int internalformat, | |
7018 int width, int height, int border, TypedData data) => | |
7019 _blink.BlinkWebGL2RenderingContext.instance | |
7020 .compressedTexImage2D_Callback_7_( | |
7021 this, target, level, internalformat, width, height, border, data); | |
7022 | |
7023 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') | |
7024 @DocsEditable() | |
7025 @Experimental() // untriaged | |
7026 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, | |
7027 int width, int height, int format, TypedData data) => | |
7028 _blink.BlinkWebGL2RenderingContext.instance | |
7029 .compressedTexSubImage2D_Callback_8_(this, target, level, xoffset, | |
7030 yoffset, width, height, format, data); | |
7031 | |
7032 @DomName('WebGL2RenderingContext.copyTexImage2D') | |
7033 @DocsEditable() | |
7034 @Experimental() // untriaged | |
7035 void copyTexImage2D(int target, int level, int internalformat, int x, int y, | |
7036 int width, int height, int border) => | |
7037 _blink.BlinkWebGL2RenderingContext.instance.copyTexImage2D_Callback_8_( | |
7038 this, target, level, internalformat, x, y, width, height, border); | |
7039 | |
7040 @DomName('WebGL2RenderingContext.copyTexSubImage2D') | |
7041 @DocsEditable() | |
7042 @Experimental() // untriaged | |
7043 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, | |
7044 int y, int width, int height) => | |
7045 _blink.BlinkWebGL2RenderingContext.instance.copyTexSubImage2D_Callback_8_( | |
7046 this, target, level, xoffset, yoffset, x, y, width, height); | |
7047 | |
7048 @DomName('WebGL2RenderingContext.createBuffer') | |
7049 @DocsEditable() | |
7050 @Experimental() // untriaged | |
7051 Buffer createBuffer() => _blink.BlinkWebGL2RenderingContext.instance | |
7052 .createBuffer_Callback_0_(this); | |
7053 | |
7054 @DomName('WebGL2RenderingContext.createFramebuffer') | |
7055 @DocsEditable() | |
7056 @Experimental() // untriaged | |
7057 Framebuffer createFramebuffer() => _blink.BlinkWebGL2RenderingContext.instance | |
7058 .createFramebuffer_Callback_0_(this); | |
7059 | |
7060 @DomName('WebGL2RenderingContext.createProgram') | |
7061 @DocsEditable() | |
7062 @Experimental() // untriaged | |
7063 Program createProgram() => _blink.BlinkWebGL2RenderingContext.instance | |
7064 .createProgram_Callback_0_(this); | |
7065 | |
7066 @DomName('WebGL2RenderingContext.createRenderbuffer') | |
7067 @DocsEditable() | |
7068 @Experimental() // untriaged | |
7069 Renderbuffer createRenderbuffer() => | |
7070 _blink.BlinkWebGL2RenderingContext.instance | |
7071 .createRenderbuffer_Callback_0_(this); | |
7072 | |
7073 @DomName('WebGL2RenderingContext.createShader') | |
7074 @DocsEditable() | |
7075 @Experimental() // untriaged | |
7076 Shader createShader(int type) => _blink.BlinkWebGL2RenderingContext.instance | |
7077 .createShader_Callback_1_(this, type); | |
7078 | |
7079 @DomName('WebGL2RenderingContext.createTexture') | |
7080 @DocsEditable() | |
7081 @Experimental() // untriaged | |
7082 Texture createTexture() => _blink.BlinkWebGL2RenderingContext.instance | |
7083 .createTexture_Callback_0_(this); | |
7084 | |
7085 @DomName('WebGL2RenderingContext.cullFace') | |
7086 @DocsEditable() | |
7087 @Experimental() // untriaged | |
7088 void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance | |
7089 .cullFace_Callback_1_(this, mode); | |
7090 | |
7091 @DomName('WebGL2RenderingContext.deleteBuffer') | |
7092 @DocsEditable() | |
7093 @Experimental() // untriaged | |
7094 void deleteBuffer(Buffer buffer) => | |
7095 _blink.BlinkWebGL2RenderingContext.instance | |
7096 .deleteBuffer_Callback_1_(this, buffer); | |
7097 | |
7098 @DomName('WebGL2RenderingContext.deleteFramebuffer') | |
7099 @DocsEditable() | |
7100 @Experimental() // untriaged | |
7101 void deleteFramebuffer(Framebuffer framebuffer) => | |
7102 _blink.BlinkWebGL2RenderingContext.instance | |
7103 .deleteFramebuffer_Callback_1_(this, framebuffer); | |
7104 | |
7105 @DomName('WebGL2RenderingContext.deleteProgram') | |
7106 @DocsEditable() | |
7107 @Experimental() // untriaged | |
7108 void deleteProgram(Program program) => | |
7109 _blink.BlinkWebGL2RenderingContext.instance | |
7110 .deleteProgram_Callback_1_(this, program); | |
7111 | |
7112 @DomName('WebGL2RenderingContext.deleteRenderbuffer') | |
7113 @DocsEditable() | |
7114 @Experimental() // untriaged | |
7115 void deleteRenderbuffer(Renderbuffer renderbuffer) => | |
7116 _blink.BlinkWebGL2RenderingContext.instance | |
7117 .deleteRenderbuffer_Callback_1_(this, renderbuffer); | |
7118 | |
7119 @DomName('WebGL2RenderingContext.deleteShader') | |
7120 @DocsEditable() | |
7121 @Experimental() // untriaged | |
7122 void deleteShader(Shader shader) => | |
7123 _blink.BlinkWebGL2RenderingContext.instance | |
7124 .deleteShader_Callback_1_(this, shader); | |
7125 | |
7126 @DomName('WebGL2RenderingContext.deleteTexture') | |
7127 @DocsEditable() | |
7128 @Experimental() // untriaged | |
7129 void deleteTexture(Texture texture) => | |
7130 _blink.BlinkWebGL2RenderingContext.instance | |
7131 .deleteTexture_Callback_1_(this, texture); | |
7132 | |
7133 @DomName('WebGL2RenderingContext.depthFunc') | |
7134 @DocsEditable() | |
7135 @Experimental() // untriaged | |
7136 void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance | |
7137 .depthFunc_Callback_1_(this, func); | |
7138 | |
7139 @DomName('WebGL2RenderingContext.depthMask') | |
7140 @DocsEditable() | |
7141 @Experimental() // untriaged | |
7142 void depthMask(bool flag) => _blink.BlinkWebGL2RenderingContext.instance | |
7143 .depthMask_Callback_1_(this, flag); | |
7144 | |
7145 @DomName('WebGL2RenderingContext.depthRange') | |
7146 @DocsEditable() | |
7147 @Experimental() // untriaged | |
7148 void depthRange(num zNear, num zFar) => | |
7149 _blink.BlinkWebGL2RenderingContext.instance | |
7150 .depthRange_Callback_2_(this, zNear, zFar); | |
7151 | |
7152 @DomName('WebGL2RenderingContext.detachShader') | |
7153 @DocsEditable() | |
7154 @Experimental() // untriaged | |
7155 void detachShader(Program program, Shader shader) => | |
7156 _blink.BlinkWebGL2RenderingContext.instance | |
7157 .detachShader_Callback_2_(this, program, shader); | |
7158 | |
7159 @DomName('WebGL2RenderingContext.disable') | |
7160 @DocsEditable() | |
7161 @Experimental() // untriaged | |
7162 void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance | |
7163 .disable_Callback_1_(this, cap); | |
7164 | |
7165 @DomName('WebGL2RenderingContext.disableVertexAttribArray') | |
7166 @DocsEditable() | |
7167 @Experimental() // untriaged | |
7168 void disableVertexAttribArray(int index) => | |
7169 _blink.BlinkWebGL2RenderingContext.instance | |
7170 .disableVertexAttribArray_Callback_1_(this, index); | |
7171 | |
7172 @DomName('WebGL2RenderingContext.drawArrays') | |
7173 @DocsEditable() | |
7174 @Experimental() // untriaged | |
7175 void drawArrays(int mode, int first, int count) => | |
7176 _blink.BlinkWebGL2RenderingContext.instance | |
7177 .drawArrays_Callback_3_(this, mode, first, count); | |
7178 | |
7179 @DomName('WebGL2RenderingContext.drawElements') | |
7180 @DocsEditable() | |
7181 @Experimental() // untriaged | |
7182 void drawElements(int mode, int count, int type, int offset) => | |
7183 _blink.BlinkWebGL2RenderingContext.instance | |
7184 .drawElements_Callback_4_(this, mode, count, type, offset); | |
7185 | |
7186 @DomName('WebGL2RenderingContext.enable') | |
7187 @DocsEditable() | |
7188 @Experimental() // untriaged | |
7189 void enable(int cap) => | |
7190 _blink.BlinkWebGL2RenderingContext.instance.enable_Callback_1_(this, cap); | |
7191 | |
7192 @DomName('WebGL2RenderingContext.enableVertexAttribArray') | |
7193 @DocsEditable() | |
7194 @Experimental() // untriaged | |
7195 void enableVertexAttribArray(int index) => | |
7196 _blink.BlinkWebGL2RenderingContext.instance | |
7197 .enableVertexAttribArray_Callback_1_(this, index); | |
7198 | |
7199 @DomName('WebGL2RenderingContext.finish') | |
7200 @DocsEditable() | |
7201 @Experimental() // untriaged | |
7202 void finish() => | |
7203 _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0_(this); | |
7204 | |
7205 @DomName('WebGL2RenderingContext.flush') | |
7206 @DocsEditable() | |
7207 @Experimental() // untriaged | |
7208 void flush() => | |
7209 _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_(this); | |
7210 | |
7211 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') | |
7212 @DocsEditable() | |
7213 @Experimental() // untriaged | |
7214 void framebufferRenderbuffer(int target, int attachment, | |
7215 int renderbuffertarget, Renderbuffer renderbuffer) => | |
7216 _blink.BlinkWebGL2RenderingContext.instance | |
7217 .framebufferRenderbuffer_Callback_4_( | |
7218 this, target, attachment, renderbuffertarget, renderbuffer); | |
7219 | |
7220 @DomName('WebGL2RenderingContext.framebufferTexture2D') | |
7221 @DocsEditable() | |
7222 @Experimental() // untriaged | |
7223 void framebufferTexture2D(int target, int attachment, int textarget, | |
7224 Texture texture, int level) => | |
7225 _blink.BlinkWebGL2RenderingContext.instance | |
7226 .framebufferTexture2D_Callback_5_( | |
7227 this, target, attachment, textarget, texture, level); | |
7228 | |
7229 @DomName('WebGL2RenderingContext.frontFace') | |
7230 @DocsEditable() | |
7231 @Experimental() // untriaged | |
7232 void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance | |
7233 .frontFace_Callback_1_(this, mode); | |
7234 | |
7235 @DomName('WebGL2RenderingContext.generateMipmap') | |
7236 @DocsEditable() | |
7237 @Experimental() // untriaged | |
7238 void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance | |
7239 .generateMipmap_Callback_1_(this, target); | |
7240 | |
7241 @DomName('WebGL2RenderingContext.getActiveAttrib') | |
7242 @DocsEditable() | |
7243 @Experimental() // untriaged | |
7244 ActiveInfo getActiveAttrib(Program program, int index) => | |
7245 _blink.BlinkWebGL2RenderingContext.instance | |
7246 .getActiveAttrib_Callback_2_(this, program, index); | |
7247 | |
7248 @DomName('WebGL2RenderingContext.getActiveUniform') | |
7249 @DocsEditable() | |
7250 @Experimental() // untriaged | |
7251 ActiveInfo getActiveUniform(Program program, int index) => | |
7252 _blink.BlinkWebGL2RenderingContext.instance | |
7253 .getActiveUniform_Callback_2_(this, program, index); | |
7254 | |
7255 @DomName('WebGL2RenderingContext.getAttachedShaders') | |
7256 @DocsEditable() | |
7257 @Experimental() // untriaged | |
7258 List<Shader> getAttachedShaders(Program program) => | |
7259 _blink.BlinkWebGL2RenderingContext.instance | |
7260 .getAttachedShaders_Callback_1_(this, program); | |
7261 | |
7262 @DomName('WebGL2RenderingContext.getAttribLocation') | |
7263 @DocsEditable() | |
7264 @Experimental() // untriaged | |
7265 int getAttribLocation(Program program, String name) => | |
7266 _blink.BlinkWebGL2RenderingContext.instance | |
7267 .getAttribLocation_Callback_2_(this, program, name); | |
7268 | |
7269 @DomName('WebGL2RenderingContext.getBufferParameter') | |
7270 @DocsEditable() | |
7271 @Experimental() // untriaged | |
7272 Object getBufferParameter(int target, int pname) => | |
7273 (_blink.BlinkWebGL2RenderingContext.instance | |
7274 .getBufferParameter_Callback_2_(this, target, pname)); | |
7275 | |
7276 @DomName('WebGL2RenderingContext.getContextAttributes') | |
7277 @DocsEditable() | |
7278 @Experimental() // untriaged | |
7279 getContextAttributes() => convertNativeDictionaryToDartDictionary((_blink | |
7280 .BlinkWebGL2RenderingContext.instance | |
7281 .getContextAttributes_Callback_0_(this))); | |
7282 | |
7283 @DomName('WebGL2RenderingContext.getError') | |
7284 @DocsEditable() | |
7285 @Experimental() // untriaged | |
7286 int getError() => | |
7287 _blink.BlinkWebGL2RenderingContext.instance.getError_Callback_0_(this); | |
7288 | |
7289 @DomName('WebGL2RenderingContext.getExtension') | |
7290 @DocsEditable() | |
7291 @Experimental() // untriaged | |
7292 Object getExtension(String name) => | |
7293 (_blink.BlinkWebGL2RenderingContext.instance | |
7294 .getExtension_Callback_1_(this, name)); | |
7295 | |
7296 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') | |
7297 @DocsEditable() | |
7298 @Experimental() // untriaged | |
7299 Object getFramebufferAttachmentParameter( | |
7300 int target, int attachment, int pname) => | |
7301 (_blink.BlinkWebGL2RenderingContext.instance | |
7302 .getFramebufferAttachmentParameter_Callback_3_( | |
7303 this, target, attachment, pname)); | |
7304 | |
7305 @DomName('WebGL2RenderingContext.getParameter') | |
7306 @DocsEditable() | |
7307 @Experimental() // untriaged | |
7308 Object getParameter(int pname) => (_blink.BlinkWebGL2RenderingContext.instance | |
7309 .getParameter_Callback_1_(this, pname)); | |
7310 | |
7311 @DomName('WebGL2RenderingContext.getProgramInfoLog') | |
7312 @DocsEditable() | |
7313 @Experimental() // untriaged | |
7314 String getProgramInfoLog(Program program) => | |
7315 _blink.BlinkWebGL2RenderingContext.instance | |
7316 .getProgramInfoLog_Callback_1_(this, program); | |
7317 | |
7318 @DomName('WebGL2RenderingContext.getProgramParameter') | |
7319 @DocsEditable() | |
7320 @Experimental() // untriaged | |
7321 Object getProgramParameter(Program program, int pname) => | |
7322 (_blink.BlinkWebGL2RenderingContext.instance | |
7323 .getProgramParameter_Callback_2_(this, program, pname)); | |
7324 | |
7325 @DomName('WebGL2RenderingContext.getRenderbufferParameter') | |
7326 @DocsEditable() | |
7327 @Experimental() // untriaged | |
7328 Object getRenderbufferParameter(int target, int pname) => | |
7329 (_blink.BlinkWebGL2RenderingContext.instance | |
7330 .getRenderbufferParameter_Callback_2_(this, target, pname)); | |
7331 | |
7332 @DomName('WebGL2RenderingContext.getShaderInfoLog') | |
7333 @DocsEditable() | |
7334 @Experimental() // untriaged | |
7335 String getShaderInfoLog(Shader shader) => | |
7336 _blink.BlinkWebGL2RenderingContext.instance | |
7337 .getShaderInfoLog_Callback_1_(this, shader); | |
7338 | |
7339 @DomName('WebGL2RenderingContext.getShaderParameter') | |
7340 @DocsEditable() | |
7341 @Experimental() // untriaged | |
7342 Object getShaderParameter(Shader shader, int pname) => | |
7343 (_blink.BlinkWebGL2RenderingContext.instance | |
7344 .getShaderParameter_Callback_2_(this, shader, pname)); | |
7345 | |
7346 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') | |
7347 @DocsEditable() | |
7348 @Experimental() // untriaged | |
7349 ShaderPrecisionFormat getShaderPrecisionFormat( | |
7350 int shadertype, int precisiontype) => | |
7351 _blink.BlinkWebGL2RenderingContext.instance | |
7352 .getShaderPrecisionFormat_Callback_2_( | |
7353 this, shadertype, precisiontype); | |
7354 | |
7355 @DomName('WebGL2RenderingContext.getShaderSource') | |
7356 @DocsEditable() | |
7357 @Experimental() // untriaged | |
7358 String getShaderSource(Shader shader) => | |
7359 _blink.BlinkWebGL2RenderingContext.instance | |
7360 .getShaderSource_Callback_1_(this, shader); | |
7361 | |
7362 @DomName('WebGL2RenderingContext.getSupportedExtensions') | |
7363 @DocsEditable() | |
7364 @Experimental() // untriaged | |
7365 List<String> getSupportedExtensions() => | |
7366 _blink.BlinkWebGL2RenderingContext.instance | |
7367 .getSupportedExtensions_Callback_0_(this); | |
7368 | |
7369 @DomName('WebGL2RenderingContext.getTexParameter') | |
7370 @DocsEditable() | |
7371 @Experimental() // untriaged | |
7372 Object getTexParameter(int target, int pname) => | |
7373 (_blink.BlinkWebGL2RenderingContext.instance | |
7374 .getTexParameter_Callback_2_(this, target, pname)); | |
7375 | |
7376 @DomName('WebGL2RenderingContext.getUniform') | |
7377 @DocsEditable() | |
7378 @Experimental() // untriaged | |
7379 Object getUniform(Program program, UniformLocation location) => | |
7380 (_blink.BlinkWebGL2RenderingContext.instance | |
7381 .getUniform_Callback_2_(this, program, location)); | |
7382 | |
7383 @DomName('WebGL2RenderingContext.getUniformLocation') | |
7384 @DocsEditable() | |
7385 @Experimental() // untriaged | |
7386 UniformLocation getUniformLocation(Program program, String name) => | |
7387 _blink.BlinkWebGL2RenderingContext.instance | |
7388 .getUniformLocation_Callback_2_(this, program, name); | |
7389 | |
7390 @DomName('WebGL2RenderingContext.getVertexAttrib') | |
7391 @DocsEditable() | |
7392 @Experimental() // untriaged | |
7393 Object getVertexAttrib(int index, int pname) => | |
7394 (_blink.BlinkWebGL2RenderingContext.instance | |
7395 .getVertexAttrib_Callback_2_(this, index, pname)); | |
7396 | |
7397 @DomName('WebGL2RenderingContext.getVertexAttribOffset') | |
7398 @DocsEditable() | |
7399 @Experimental() // untriaged | |
7400 int getVertexAttribOffset(int index, int pname) => | |
7401 _blink.BlinkWebGL2RenderingContext.instance | |
7402 .getVertexAttribOffset_Callback_2_(this, index, pname); | |
7403 | |
7404 @DomName('WebGL2RenderingContext.hint') | |
7405 @DocsEditable() | |
7406 @Experimental() // untriaged | |
7407 void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance | |
7408 .hint_Callback_2_(this, target, mode); | |
7409 | |
7410 @DomName('WebGL2RenderingContext.isBuffer') | |
7411 @DocsEditable() | |
7412 @Experimental() // untriaged | |
7413 bool isBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance | |
7414 .isBuffer_Callback_1_(this, buffer); | |
7415 | |
7416 @DomName('WebGL2RenderingContext.isContextLost') | |
7417 @DocsEditable() | |
7418 @Experimental() // untriaged | |
7419 bool isContextLost() => _blink.BlinkWebGL2RenderingContext.instance | |
7420 .isContextLost_Callback_0_(this); | |
7421 | |
7422 @DomName('WebGL2RenderingContext.isEnabled') | |
7423 @DocsEditable() | |
7424 @Experimental() // untriaged | |
7425 bool isEnabled(int cap) => _blink.BlinkWebGL2RenderingContext.instance | |
7426 .isEnabled_Callback_1_(this, cap); | |
7427 | |
7428 @DomName('WebGL2RenderingContext.isFramebuffer') | |
7429 @DocsEditable() | |
7430 @Experimental() // untriaged | |
7431 bool isFramebuffer(Framebuffer framebuffer) => | |
7432 _blink.BlinkWebGL2RenderingContext.instance | |
7433 .isFramebuffer_Callback_1_(this, framebuffer); | |
7434 | |
7435 @DomName('WebGL2RenderingContext.isProgram') | |
7436 @DocsEditable() | |
7437 @Experimental() // untriaged | |
7438 bool isProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance | |
7439 .isProgram_Callback_1_(this, program); | |
7440 | |
7441 @DomName('WebGL2RenderingContext.isRenderbuffer') | |
7442 @DocsEditable() | |
7443 @Experimental() // untriaged | |
7444 bool isRenderbuffer(Renderbuffer renderbuffer) => | |
7445 _blink.BlinkWebGL2RenderingContext.instance | |
7446 .isRenderbuffer_Callback_1_(this, renderbuffer); | |
7447 | |
7448 @DomName('WebGL2RenderingContext.isShader') | |
7449 @DocsEditable() | |
7450 @Experimental() // untriaged | |
7451 bool isShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance | |
7452 .isShader_Callback_1_(this, shader); | |
7453 | |
7454 @DomName('WebGL2RenderingContext.isTexture') | |
7455 @DocsEditable() | |
7456 @Experimental() // untriaged | |
7457 bool isTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance | |
7458 .isTexture_Callback_1_(this, texture); | |
7459 | |
7460 @DomName('WebGL2RenderingContext.lineWidth') | |
7461 @DocsEditable() | |
7462 @Experimental() // untriaged | |
7463 void lineWidth(num width) => _blink.BlinkWebGL2RenderingContext.instance | |
7464 .lineWidth_Callback_1_(this, width); | |
7465 | |
7466 @DomName('WebGL2RenderingContext.linkProgram') | |
7467 @DocsEditable() | |
7468 @Experimental() // untriaged | |
7469 void linkProgram(Program program) => | |
7470 _blink.BlinkWebGL2RenderingContext.instance | |
7471 .linkProgram_Callback_1_(this, program); | |
7472 | |
7473 @DomName('WebGL2RenderingContext.pixelStorei') | |
7474 @DocsEditable() | |
7475 @Experimental() // untriaged | |
7476 void pixelStorei(int pname, int param) => | |
7477 _blink.BlinkWebGL2RenderingContext.instance | |
7478 .pixelStorei_Callback_2_(this, pname, param); | |
7479 | |
7480 @DomName('WebGL2RenderingContext.polygonOffset') | |
7481 @DocsEditable() | |
7482 @Experimental() // untriaged | |
7483 void polygonOffset(num factor, num units) => | |
7484 _blink.BlinkWebGL2RenderingContext.instance | |
7485 .polygonOffset_Callback_2_(this, factor, units); | |
7486 | |
7487 @DomName('WebGL2RenderingContext.readPixels') | |
7488 @DocsEditable() | |
7489 @Experimental() // untriaged | |
7490 void _readPixels(int x, int y, int width, int height, int format, int type, | |
7491 TypedData pixels) => | |
7492 _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callback_7_( | |
7493 this, x, y, width, height, format, type, pixels); | |
7494 | |
7495 @DomName('WebGL2RenderingContext.renderbufferStorage') | |
7496 @DocsEditable() | |
7497 @Experimental() // untriaged | |
7498 void renderbufferStorage( | |
7499 int target, int internalformat, int width, int height) => | |
7500 _blink.BlinkWebGL2RenderingContext.instance | |
7501 .renderbufferStorage_Callback_4_( | |
7502 this, target, internalformat, width, height); | |
7503 | |
7504 @DomName('WebGL2RenderingContext.sampleCoverage') | |
7505 @DocsEditable() | |
7506 @Experimental() // untriaged | |
7507 void sampleCoverage(num value, bool invert) => | |
7508 _blink.BlinkWebGL2RenderingContext.instance | |
7509 .sampleCoverage_Callback_2_(this, value, invert); | |
7510 | |
7511 @DomName('WebGL2RenderingContext.scissor') | |
7512 @DocsEditable() | |
7513 @Experimental() // untriaged | |
7514 void scissor(int x, int y, int width, int height) => | |
7515 _blink.BlinkWebGL2RenderingContext.instance | |
7516 .scissor_Callback_4_(this, x, y, width, height); | |
7517 | |
7518 @DomName('WebGL2RenderingContext.shaderSource') | |
7519 @DocsEditable() | |
7520 @Experimental() // untriaged | |
7521 void shaderSource(Shader shader, String string) => | |
7522 _blink.BlinkWebGL2RenderingContext.instance | |
7523 .shaderSource_Callback_2_(this, shader, string); | |
7524 | |
7525 @DomName('WebGL2RenderingContext.stencilFunc') | |
7526 @DocsEditable() | |
7527 @Experimental() // untriaged | |
7528 void stencilFunc(int func, int ref, int mask) => | |
7529 _blink.BlinkWebGL2RenderingContext.instance | |
7530 .stencilFunc_Callback_3_(this, func, ref, mask); | |
7531 | |
7532 @DomName('WebGL2RenderingContext.stencilFuncSeparate') | |
7533 @DocsEditable() | |
7534 @Experimental() // untriaged | |
7535 void stencilFuncSeparate(int face, int func, int ref, int mask) => | |
7536 _blink.BlinkWebGL2RenderingContext.instance | |
7537 .stencilFuncSeparate_Callback_4_(this, face, func, ref, mask); | |
7538 | |
7539 @DomName('WebGL2RenderingContext.stencilMask') | |
7540 @DocsEditable() | |
7541 @Experimental() // untriaged | |
7542 void stencilMask(int mask) => _blink.BlinkWebGL2RenderingContext.instance | |
7543 .stencilMask_Callback_1_(this, mask); | |
7544 | |
7545 @DomName('WebGL2RenderingContext.stencilMaskSeparate') | |
7546 @DocsEditable() | |
7547 @Experimental() // untriaged | |
7548 void stencilMaskSeparate(int face, int mask) => | |
7549 _blink.BlinkWebGL2RenderingContext.instance | |
7550 .stencilMaskSeparate_Callback_2_(this, face, mask); | |
7551 | |
7552 @DomName('WebGL2RenderingContext.stencilOp') | |
7553 @DocsEditable() | |
7554 @Experimental() // untriaged | |
7555 void stencilOp(int fail, int zfail, int zpass) => | |
7556 _blink.BlinkWebGL2RenderingContext.instance | |
7557 .stencilOp_Callback_3_(this, fail, zfail, zpass); | |
7558 | |
7559 @DomName('WebGL2RenderingContext.stencilOpSeparate') | |
7560 @DocsEditable() | |
7561 @Experimental() // untriaged | |
7562 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => | |
7563 _blink.BlinkWebGL2RenderingContext.instance | |
7564 .stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); | |
7565 | |
7566 void texImage2D( | |
7567 int target, | |
7568 int level, | |
7569 int internalformat, | |
7570 int format_OR_width, | |
7571 int height_OR_type, | |
7572 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, | |
7573 [int format, | |
7574 int type, | |
7575 TypedData pixels]) { | |
7576 if ((pixels is TypedData || pixels == null) && | |
7577 (type is int) && | |
7578 (format is int) && | |
7579 (bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is int) && | |
7580 (height_OR_type is int) && | |
7581 (format_OR_width is int) && | |
7582 (internalformat is int) && | |
7583 (level is int) && | |
7584 (target is int)) { | |
7585 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_( | |
7586 this, | |
7587 target, | |
7588 level, | |
7589 internalformat, | |
7590 format_OR_width, | |
7591 height_OR_type, | |
7592 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, | |
7593 format, | |
7594 type, | |
7595 pixels); | |
7596 return; | |
7597 } | |
7598 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || | |
7599 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video == null) && | |
7600 (height_OR_type is int) && | |
7601 (format_OR_width is int) && | |
7602 (internalformat is int) && | |
7603 (level is int) && | |
7604 (target is int) && | |
7605 format == null && | |
7606 type == null && | |
7607 pixels == null) { | |
7608 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | |
7609 this, | |
7610 target, | |
7611 level, | |
7612 internalformat, | |
7613 format_OR_width, | |
7614 height_OR_type, | |
7615 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
7616 return; | |
7617 } | |
7618 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
7619 is ImageElement) && | |
7620 (height_OR_type is int) && | |
7621 (format_OR_width is int) && | |
7622 (internalformat is int) && | |
7623 (level is int) && | |
7624 (target is int) && | |
7625 format == null && | |
7626 type == null && | |
7627 pixels == null) { | |
7628 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | |
7629 this, | |
7630 target, | |
7631 level, | |
7632 internalformat, | |
7633 format_OR_width, | |
7634 height_OR_type, | |
7635 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
7636 return; | |
7637 } | |
7638 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
7639 is CanvasElement) && | |
7640 (height_OR_type is int) && | |
7641 (format_OR_width is int) && | |
7642 (internalformat is int) && | |
7643 (level is int) && | |
7644 (target is int) && | |
7645 format == null && | |
7646 type == null && | |
7647 pixels == null) { | |
7648 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | |
7649 this, | |
7650 target, | |
7651 level, | |
7652 internalformat, | |
7653 format_OR_width, | |
7654 height_OR_type, | |
7655 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
7656 return; | |
7657 } | |
7658 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
7659 is VideoElement) && | |
7660 (height_OR_type is int) && | |
7661 (format_OR_width is int) && | |
7662 (internalformat is int) && | |
7663 (level is int) && | |
7664 (target is int) && | |
7665 format == null && | |
7666 type == null && | |
7667 pixels == null) { | |
7668 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | |
7669 this, | |
7670 target, | |
7671 level, | |
7672 internalformat, | |
7673 format_OR_width, | |
7674 height_OR_type, | |
7675 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
7676 return; | |
7677 } | |
7678 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video | |
7679 is ImageBitmap) && | |
7680 (height_OR_type is int) && | |
7681 (format_OR_width is int) && | |
7682 (internalformat is int) && | |
7683 (level is int) && | |
7684 (target is int) && | |
7685 format == null && | |
7686 type == null && | |
7687 pixels == null) { | |
7688 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | |
7689 this, | |
7690 target, | |
7691 level, | |
7692 internalformat, | |
7693 format_OR_width, | |
7694 height_OR_type, | |
7695 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); | |
7696 return; | |
7697 } | |
7698 throw new ArgumentError("Incorrect number or type of arguments"); | |
7699 } | |
7700 | |
7701 @DomName('WebGL2RenderingContext.texParameterf') | |
7702 @DocsEditable() | |
7703 @Experimental() // untriaged | |
7704 void texParameterf(int target, int pname, num param) => | |
7705 _blink.BlinkWebGL2RenderingContext.instance | |
7706 .texParameterf_Callback_3_(this, target, pname, param); | |
7707 | |
7708 @DomName('WebGL2RenderingContext.texParameteri') | |
7709 @DocsEditable() | |
7710 @Experimental() // untriaged | |
7711 void texParameteri(int target, int pname, int param) => | |
7712 _blink.BlinkWebGL2RenderingContext.instance | |
7713 .texParameteri_Callback_3_(this, target, pname, param); | |
7714 | |
7715 void texSubImage2D( | |
7716 int target, | |
7717 int level, | |
7718 int xoffset, | |
7719 int yoffset, | |
7720 int format_OR_width, | |
7721 int height_OR_type, | |
7722 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, | |
7723 [int type, | |
7724 TypedData pixels]) { | |
7725 if ((pixels is TypedData || pixels == null) && | |
7726 (type is int) && | |
7727 (bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is int) && | |
7728 (height_OR_type is int) && | |
7729 (format_OR_width is int) && | |
7730 (yoffset is int) && | |
7731 (xoffset is int) && | |
7732 (level is int) && | |
7733 (target is int)) { | |
7734 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_( | |
7735 this, | |
7736 target, | |
7737 level, | |
7738 xoffset, | |
7739 yoffset, | |
7740 format_OR_width, | |
7741 height_OR_type, | |
7742 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, | |
7743 type, | |
7744 pixels); | |
7745 return; | |
7746 } | |
7747 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || | |
7748 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video == null) && | |
7749 (height_OR_type is int) && | |
7750 (format_OR_width is int) && | |
7751 (yoffset is int) && | |
7752 (xoffset is int) && | |
7753 (level is int) && | |
7754 (target is int) && | |
7755 type == null && | |
7756 pixels == null) { | |
7757 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | |
7758 this, | |
7759 target, | |
7760 level, | |
7761 xoffset, | |
7762 yoffset, | |
7763 format_OR_width, | |
7764 height_OR_type, | |
7765 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
7766 return; | |
7767 } | |
7768 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
7769 is ImageElement) && | |
7770 (height_OR_type is int) && | |
7771 (format_OR_width is int) && | |
7772 (yoffset is int) && | |
7773 (xoffset is int) && | |
7774 (level is int) && | |
7775 (target is int) && | |
7776 type == null && | |
7777 pixels == null) { | |
7778 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | |
7779 this, | |
7780 target, | |
7781 level, | |
7782 xoffset, | |
7783 yoffset, | |
7784 format_OR_width, | |
7785 height_OR_type, | |
7786 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
7787 return; | |
7788 } | |
7789 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
7790 is CanvasElement) && | |
7791 (height_OR_type is int) && | |
7792 (format_OR_width is int) && | |
7793 (yoffset is int) && | |
7794 (xoffset is int) && | |
7795 (level is int) && | |
7796 (target is int) && | |
7797 type == null && | |
7798 pixels == null) { | |
7799 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | |
7800 this, | |
7801 target, | |
7802 level, | |
7803 xoffset, | |
7804 yoffset, | |
7805 format_OR_width, | |
7806 height_OR_type, | |
7807 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
7808 return; | |
7809 } | |
7810 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
7811 is VideoElement) && | |
7812 (height_OR_type is int) && | |
7813 (format_OR_width is int) && | |
7814 (yoffset is int) && | |
7815 (xoffset is int) && | |
7816 (level is int) && | |
7817 (target is int) && | |
7818 type == null && | |
7819 pixels == null) { | |
7820 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | |
7821 this, | |
7822 target, | |
7823 level, | |
7824 xoffset, | |
7825 yoffset, | |
7826 format_OR_width, | |
7827 height_OR_type, | |
7828 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
7829 return; | |
7830 } | |
7831 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video | |
7832 is ImageBitmap) && | |
7833 (height_OR_type is int) && | |
7834 (format_OR_width is int) && | |
7835 (yoffset is int) && | |
7836 (xoffset is int) && | |
7837 (level is int) && | |
7838 (target is int) && | |
7839 type == null && | |
7840 pixels == null) { | |
7841 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | |
7842 this, | |
7843 target, | |
7844 level, | |
7845 xoffset, | |
7846 yoffset, | |
7847 format_OR_width, | |
7848 height_OR_type, | |
7849 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); | |
7850 return; | |
7851 } | |
7852 throw new ArgumentError("Incorrect number or type of arguments"); | |
7853 } | |
7854 | |
7855 @DomName('WebGL2RenderingContext.uniform1f') | |
7856 @DocsEditable() | |
7857 @Experimental() // untriaged | |
7858 void uniform1f(UniformLocation location, num x) => | |
7859 _blink.BlinkWebGL2RenderingContext.instance | |
7860 .uniform1f_Callback_2_(this, location, x); | |
7861 | |
7862 void uniform1fv(UniformLocation location, v) { | |
7863 if ((v is Float32List) && | |
7864 (location is UniformLocation || location == null)) { | |
7865 _blink.BlinkWebGL2RenderingContext.instance | |
7866 .uniform1fv_Callback_2_(this, location, v); | |
7867 return; | |
7868 } | |
7869 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
7870 _blink.BlinkWebGL2RenderingContext.instance | |
7871 .uniform1fv_Callback_2_(this, location, v); | |
7872 return; | |
7873 } | |
7874 throw new ArgumentError("Incorrect number or type of arguments"); | |
7875 } | |
7876 | |
7877 @DomName('WebGL2RenderingContext.uniform1i') | |
7878 @DocsEditable() | |
7879 @Experimental() // untriaged | |
7880 void uniform1i(UniformLocation location, int x) => | |
7881 _blink.BlinkWebGL2RenderingContext.instance | |
7882 .uniform1i_Callback_2_(this, location, x); | |
7883 | |
7884 void uniform1iv(UniformLocation location, v) { | |
7885 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
7886 _blink.BlinkWebGL2RenderingContext.instance | |
7887 .uniform1iv_Callback_2_(this, location, v); | |
7888 return; | |
7889 } | |
7890 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
7891 _blink.BlinkWebGL2RenderingContext.instance | |
7892 .uniform1iv_Callback_2_(this, location, v); | |
7893 return; | |
7894 } | |
7895 throw new ArgumentError("Incorrect number or type of arguments"); | |
7896 } | |
7897 | |
7898 @DomName('WebGL2RenderingContext.uniform2f') | |
7899 @DocsEditable() | |
7900 @Experimental() // untriaged | |
7901 void uniform2f(UniformLocation location, num x, num y) => | |
7902 _blink.BlinkWebGL2RenderingContext.instance | |
7903 .uniform2f_Callback_3_(this, location, x, y); | |
7904 | |
7905 void uniform2fv(UniformLocation location, v) { | |
7906 if ((v is Float32List) && | |
7907 (location is UniformLocation || location == null)) { | |
7908 _blink.BlinkWebGL2RenderingContext.instance | |
7909 .uniform2fv_Callback_2_(this, location, v); | |
7910 return; | |
7911 } | |
7912 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
7913 _blink.BlinkWebGL2RenderingContext.instance | |
7914 .uniform2fv_Callback_2_(this, location, v); | |
7915 return; | |
7916 } | |
7917 throw new ArgumentError("Incorrect number or type of arguments"); | |
7918 } | |
7919 | |
7920 @DomName('WebGL2RenderingContext.uniform2i') | |
7921 @DocsEditable() | |
7922 @Experimental() // untriaged | |
7923 void uniform2i(UniformLocation location, int x, int y) => | |
7924 _blink.BlinkWebGL2RenderingContext.instance | |
7925 .uniform2i_Callback_3_(this, location, x, y); | |
7926 | |
7927 void uniform2iv(UniformLocation location, v) { | |
7928 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
7929 _blink.BlinkWebGL2RenderingContext.instance | |
7930 .uniform2iv_Callback_2_(this, location, v); | |
7931 return; | |
7932 } | |
7933 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
7934 _blink.BlinkWebGL2RenderingContext.instance | |
7935 .uniform2iv_Callback_2_(this, location, v); | |
7936 return; | |
7937 } | |
7938 throw new ArgumentError("Incorrect number or type of arguments"); | |
7939 } | |
7940 | |
7941 @DomName('WebGL2RenderingContext.uniform3f') | |
7942 @DocsEditable() | |
7943 @Experimental() // untriaged | |
7944 void uniform3f(UniformLocation location, num x, num y, num z) => | |
7945 _blink.BlinkWebGL2RenderingContext.instance | |
7946 .uniform3f_Callback_4_(this, location, x, y, z); | |
7947 | |
7948 void uniform3fv(UniformLocation location, v) { | |
7949 if ((v is Float32List) && | |
7950 (location is UniformLocation || location == null)) { | |
7951 _blink.BlinkWebGL2RenderingContext.instance | |
7952 .uniform3fv_Callback_2_(this, location, v); | |
7953 return; | |
7954 } | |
7955 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
7956 _blink.BlinkWebGL2RenderingContext.instance | |
7957 .uniform3fv_Callback_2_(this, location, v); | |
7958 return; | |
7959 } | |
7960 throw new ArgumentError("Incorrect number or type of arguments"); | |
7961 } | |
7962 | |
7963 @DomName('WebGL2RenderingContext.uniform3i') | |
7964 @DocsEditable() | |
7965 @Experimental() // untriaged | |
7966 void uniform3i(UniformLocation location, int x, int y, int z) => | |
7967 _blink.BlinkWebGL2RenderingContext.instance | |
7968 .uniform3i_Callback_4_(this, location, x, y, z); | |
7969 | |
7970 void uniform3iv(UniformLocation location, v) { | |
7971 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
7972 _blink.BlinkWebGL2RenderingContext.instance | |
7973 .uniform3iv_Callback_2_(this, location, v); | |
7974 return; | |
7975 } | |
7976 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
7977 _blink.BlinkWebGL2RenderingContext.instance | |
7978 .uniform3iv_Callback_2_(this, location, v); | |
7979 return; | |
7980 } | |
7981 throw new ArgumentError("Incorrect number or type of arguments"); | |
7982 } | |
7983 | |
7984 @DomName('WebGL2RenderingContext.uniform4f') | |
7985 @DocsEditable() | |
7986 @Experimental() // untriaged | |
7987 void uniform4f(UniformLocation location, num x, num y, num z, num w) => | |
7988 _blink.BlinkWebGL2RenderingContext.instance | |
7989 .uniform4f_Callback_5_(this, location, x, y, z, w); | |
7990 | |
7991 void uniform4fv(UniformLocation location, v) { | |
7992 if ((v is Float32List) && | |
7993 (location is UniformLocation || location == null)) { | |
7994 _blink.BlinkWebGL2RenderingContext.instance | |
7995 .uniform4fv_Callback_2_(this, location, v); | |
7996 return; | |
7997 } | |
7998 if ((v is List<num>) && (location is UniformLocation || location == null)) { | |
7999 _blink.BlinkWebGL2RenderingContext.instance | |
8000 .uniform4fv_Callback_2_(this, location, v); | |
8001 return; | |
8002 } | |
8003 throw new ArgumentError("Incorrect number or type of arguments"); | |
8004 } | |
8005 | |
8006 @DomName('WebGL2RenderingContext.uniform4i') | |
8007 @DocsEditable() | |
8008 @Experimental() // untriaged | |
8009 void uniform4i(UniformLocation location, int x, int y, int z, int w) => | |
8010 _blink.BlinkWebGL2RenderingContext.instance | |
8011 .uniform4i_Callback_5_(this, location, x, y, z, w); | |
8012 | |
8013 void uniform4iv(UniformLocation location, v) { | |
8014 if ((v is Int32List) && (location is UniformLocation || location == null)) { | |
8015 _blink.BlinkWebGL2RenderingContext.instance | |
8016 .uniform4iv_Callback_2_(this, location, v); | |
8017 return; | |
8018 } | |
8019 if ((v is List<int>) && (location is UniformLocation || location == null)) { | |
8020 _blink.BlinkWebGL2RenderingContext.instance | |
8021 .uniform4iv_Callback_2_(this, location, v); | |
8022 return; | |
8023 } | |
8024 throw new ArgumentError("Incorrect number or type of arguments"); | |
8025 } | |
8026 | |
8027 void uniformMatrix2fv(UniformLocation location, bool transpose, array) { | |
8028 if ((array is Float32List) && | |
8029 (transpose is bool) && | |
8030 (location is UniformLocation || location == null)) { | |
8031 _blink.BlinkWebGL2RenderingContext.instance | |
8032 .uniformMatrix2fv_Callback_3_(this, location, transpose, array); | |
8033 return; | |
8034 } | |
8035 if ((array is List<num>) && | |
8036 (transpose is bool) && | |
8037 (location is UniformLocation || location == null)) { | |
8038 _blink.BlinkWebGL2RenderingContext.instance | |
8039 .uniformMatrix2fv_Callback_3_(this, location, transpose, array); | |
8040 return; | |
8041 } | |
8042 throw new ArgumentError("Incorrect number or type of arguments"); | |
8043 } | |
8044 | |
8045 void uniformMatrix3fv(UniformLocation location, bool transpose, array) { | |
8046 if ((array is Float32List) && | |
8047 (transpose is bool) && | |
8048 (location is UniformLocation || location == null)) { | |
8049 _blink.BlinkWebGL2RenderingContext.instance | |
8050 .uniformMatrix3fv_Callback_3_(this, location, transpose, array); | |
8051 return; | |
8052 } | |
8053 if ((array is List<num>) && | |
8054 (transpose is bool) && | |
8055 (location is UniformLocation || location == null)) { | |
8056 _blink.BlinkWebGL2RenderingContext.instance | |
8057 .uniformMatrix3fv_Callback_3_(this, location, transpose, array); | |
8058 return; | |
8059 } | |
8060 throw new ArgumentError("Incorrect number or type of arguments"); | |
8061 } | |
8062 | |
8063 void uniformMatrix4fv(UniformLocation location, bool transpose, array) { | |
8064 if ((array is Float32List) && | |
8065 (transpose is bool) && | |
8066 (location is UniformLocation || location == null)) { | |
8067 _blink.BlinkWebGL2RenderingContext.instance | |
8068 .uniformMatrix4fv_Callback_3_(this, location, transpose, array); | |
8069 return; | |
8070 } | |
8071 if ((array is List<num>) && | |
8072 (transpose is bool) && | |
8073 (location is UniformLocation || location == null)) { | |
8074 _blink.BlinkWebGL2RenderingContext.instance | |
8075 .uniformMatrix4fv_Callback_3_(this, location, transpose, array); | |
8076 return; | |
8077 } | |
8078 throw new ArgumentError("Incorrect number or type of arguments"); | |
8079 } | |
8080 | |
8081 @DomName('WebGL2RenderingContext.useProgram') | |
8082 @DocsEditable() | |
8083 @Experimental() // untriaged | |
8084 void useProgram(Program program) => | |
8085 _blink.BlinkWebGL2RenderingContext.instance | |
8086 .useProgram_Callback_1_(this, program); | |
8087 | |
8088 @DomName('WebGL2RenderingContext.validateProgram') | |
8089 @DocsEditable() | |
8090 @Experimental() // untriaged | |
8091 void validateProgram(Program program) => | |
8092 _blink.BlinkWebGL2RenderingContext.instance | |
8093 .validateProgram_Callback_1_(this, program); | |
8094 | |
8095 @DomName('WebGL2RenderingContext.vertexAttrib1f') | |
8096 @DocsEditable() | |
8097 @Experimental() // untriaged | |
8098 void vertexAttrib1f(int indx, num x) => | |
8099 _blink.BlinkWebGL2RenderingContext.instance | |
8100 .vertexAttrib1f_Callback_2_(this, indx, x); | |
8101 | |
8102 void vertexAttrib1fv(int indx, values) { | |
8103 if ((values is Float32List) && (indx is int)) { | |
8104 _blink.BlinkWebGL2RenderingContext.instance | |
8105 .vertexAttrib1fv_Callback_2_(this, indx, values); | |
8106 return; | |
8107 } | |
8108 if ((values is List<num>) && (indx is int)) { | |
8109 _blink.BlinkWebGL2RenderingContext.instance | |
8110 .vertexAttrib1fv_Callback_2_(this, indx, values); | |
8111 return; | |
8112 } | |
8113 throw new ArgumentError("Incorrect number or type of arguments"); | |
8114 } | |
8115 | |
8116 @DomName('WebGL2RenderingContext.vertexAttrib2f') | |
8117 @DocsEditable() | |
8118 @Experimental() // untriaged | |
8119 void vertexAttrib2f(int indx, num x, num y) => | |
8120 _blink.BlinkWebGL2RenderingContext.instance | |
8121 .vertexAttrib2f_Callback_3_(this, indx, x, y); | |
8122 | |
8123 void vertexAttrib2fv(int indx, values) { | |
8124 if ((values is Float32List) && (indx is int)) { | |
8125 _blink.BlinkWebGL2RenderingContext.instance | |
8126 .vertexAttrib2fv_Callback_2_(this, indx, values); | |
8127 return; | |
8128 } | |
8129 if ((values is List<num>) && (indx is int)) { | |
8130 _blink.BlinkWebGL2RenderingContext.instance | |
8131 .vertexAttrib2fv_Callback_2_(this, indx, values); | |
8132 return; | |
8133 } | |
8134 throw new ArgumentError("Incorrect number or type of arguments"); | |
8135 } | |
8136 | |
8137 @DomName('WebGL2RenderingContext.vertexAttrib3f') | |
8138 @DocsEditable() | |
8139 @Experimental() // untriaged | |
8140 void vertexAttrib3f(int indx, num x, num y, num z) => | |
8141 _blink.BlinkWebGL2RenderingContext.instance | |
8142 .vertexAttrib3f_Callback_4_(this, indx, x, y, z); | |
8143 | |
8144 void vertexAttrib3fv(int indx, values) { | |
8145 if ((values is Float32List) && (indx is int)) { | |
8146 _blink.BlinkWebGL2RenderingContext.instance | |
8147 .vertexAttrib3fv_Callback_2_(this, indx, values); | |
8148 return; | |
8149 } | |
8150 if ((values is List<num>) && (indx is int)) { | |
8151 _blink.BlinkWebGL2RenderingContext.instance | |
8152 .vertexAttrib3fv_Callback_2_(this, indx, values); | |
8153 return; | |
8154 } | |
8155 throw new ArgumentError("Incorrect number or type of arguments"); | |
8156 } | |
8157 | |
8158 @DomName('WebGL2RenderingContext.vertexAttrib4f') | |
8159 @DocsEditable() | |
8160 @Experimental() // untriaged | |
8161 void vertexAttrib4f(int indx, num x, num y, num z, num w) => | |
8162 _blink.BlinkWebGL2RenderingContext.instance | |
8163 .vertexAttrib4f_Callback_5_(this, indx, x, y, z, w); | |
8164 | |
8165 void vertexAttrib4fv(int indx, values) { | |
8166 if ((values is Float32List) && (indx is int)) { | |
8167 _blink.BlinkWebGL2RenderingContext.instance | |
8168 .vertexAttrib4fv_Callback_2_(this, indx, values); | |
8169 return; | |
8170 } | |
8171 if ((values is List<num>) && (indx is int)) { | |
8172 _blink.BlinkWebGL2RenderingContext.instance | |
8173 .vertexAttrib4fv_Callback_2_(this, indx, values); | |
8174 return; | |
8175 } | |
8176 throw new ArgumentError("Incorrect number or type of arguments"); | |
8177 } | |
8178 | |
8179 @DomName('WebGL2RenderingContext.vertexAttribPointer') | |
8180 @DocsEditable() | |
8181 @Experimental() // untriaged | |
8182 void vertexAttribPointer(int indx, int size, int type, bool normalized, | |
8183 int stride, int offset) => | |
8184 _blink.BlinkWebGL2RenderingContext.instance | |
8185 .vertexAttribPointer_Callback_6_( | |
8186 this, indx, size, type, normalized, stride, offset); | |
8187 | |
8188 @DomName('WebGL2RenderingContext.viewport') | |
8189 @DocsEditable() | |
8190 @Experimental() // untriaged | |
8191 void viewport(int x, int y, int width, int height) => | |
8192 _blink.BlinkWebGL2RenderingContext.instance | |
8193 .viewport_Callback_4_(this, x, y, width, height); | |
8194 | |
8195 @DomName('WebGLRenderingContext2.readPixels') | |
8196 @DocsEditable() | |
8197 void readPixels(int x, int y, int width, int height, int format, int type, | |
8198 TypedData pixels) { | |
8199 var data = js.toArrayBufferView(pixels); | |
8200 _readPixels(x, y, width, height, format, type, data); | |
8201 for (var i = 0; i < data.length; i++) { | |
8202 pixels[i] = data[i]; | |
8203 } | |
8204 } | |
8205 } | |
8206 | |
8207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8208 // for details. All rights reserved. Use of this source code is governed by a | |
8209 // BSD-style license that can be found in the LICENSE file. | |
8210 | |
8211 // WARNING: Do not edit - generated code. | |
8212 | |
8213 @DocsEditable() | |
8214 @DomName('WebGLSampler') | |
8215 @Experimental() // untriaged | |
8216 class Sampler extends DartHtmlDomObject { | |
8217 // To suppress missing implicit constructor warnings. | |
8218 factory Sampler._() { | |
8219 throw new UnsupportedError("Not supported"); | |
8220 } | |
8221 | |
8222 @Deprecated("Internal Use Only") | |
8223 external static Type get instanceRuntimeType; | |
8224 | |
8225 @Deprecated("Internal Use Only") | |
8226 Sampler.internal_() {} | |
8227 } | |
8228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8229 // for details. All rights reserved. Use of this source code is governed by a | |
8230 // BSD-style license that can be found in the LICENSE file. | |
8231 | |
8232 // WARNING: Do not edit - generated code. | |
8233 | |
8234 @DocsEditable() | |
8235 @DomName('WebGLShader') | |
8236 class Shader extends DartHtmlDomObject { | |
8237 // To suppress missing implicit constructor warnings. | |
8238 factory Shader._() { | |
8239 throw new UnsupportedError("Not supported"); | |
8240 } | |
8241 | |
8242 @Deprecated("Internal Use Only") | |
8243 external static Type get instanceRuntimeType; | |
8244 | |
8245 @Deprecated("Internal Use Only") | |
8246 Shader.internal_() {} | |
8247 } | |
8248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8249 // for details. All rights reserved. Use of this source code is governed by a | |
8250 // BSD-style license that can be found in the LICENSE file. | |
8251 | |
8252 // WARNING: Do not edit - generated code. | |
8253 | |
8254 @DocsEditable() | |
8255 @DomName('WebGLShaderPrecisionFormat') | |
8256 class ShaderPrecisionFormat extends DartHtmlDomObject { | |
8257 // To suppress missing implicit constructor warnings. | |
8258 factory ShaderPrecisionFormat._() { | |
8259 throw new UnsupportedError("Not supported"); | |
8260 } | |
8261 | |
8262 @Deprecated("Internal Use Only") | |
8263 external static Type get instanceRuntimeType; | |
8264 | |
8265 @Deprecated("Internal Use Only") | |
8266 ShaderPrecisionFormat.internal_() {} | |
8267 | |
8268 @DomName('WebGLShaderPrecisionFormat.precision') | |
8269 @DocsEditable() | |
8270 int get precision => | |
8271 _blink.BlinkWebGLShaderPrecisionFormat.instance.precision_Getter_(this); | |
8272 | |
8273 @DomName('WebGLShaderPrecisionFormat.rangeMax') | |
8274 @DocsEditable() | |
8275 int get rangeMax => | |
8276 _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_Getter_(this); | |
8277 | |
8278 @DomName('WebGLShaderPrecisionFormat.rangeMin') | |
8279 @DocsEditable() | |
8280 int get rangeMin => | |
8281 _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_Getter_(this); | |
8282 } | |
8283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8284 // for details. All rights reserved. Use of this source code is governed by a | |
8285 // BSD-style license that can be found in the LICENSE file. | |
8286 | |
8287 // WARNING: Do not edit - generated code. | |
8288 | |
8289 @DocsEditable() | |
8290 @DomName('WebGLSync') | |
8291 @Experimental() // untriaged | |
8292 class Sync extends DartHtmlDomObject { | |
8293 // To suppress missing implicit constructor warnings. | |
8294 factory Sync._() { | |
8295 throw new UnsupportedError("Not supported"); | |
8296 } | |
8297 | |
8298 @Deprecated("Internal Use Only") | |
8299 external static Type get instanceRuntimeType; | |
8300 | |
8301 @Deprecated("Internal Use Only") | |
8302 Sync.internal_() {} | |
8303 } | |
8304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8305 // for details. All rights reserved. Use of this source code is governed by a | |
8306 // BSD-style license that can be found in the LICENSE file. | |
8307 | |
8308 // WARNING: Do not edit - generated code. | |
8309 | |
8310 @DocsEditable() | |
8311 @DomName('WebGLTexture') | |
8312 class Texture extends DartHtmlDomObject { | |
8313 // To suppress missing implicit constructor warnings. | |
8314 factory Texture._() { | |
8315 throw new UnsupportedError("Not supported"); | |
8316 } | |
8317 | |
8318 @Deprecated("Internal Use Only") | |
8319 external static Type get instanceRuntimeType; | |
8320 | |
8321 @Deprecated("Internal Use Only") | |
8322 Texture.internal_() {} | |
8323 } | |
8324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8325 // for details. All rights reserved. Use of this source code is governed by a | |
8326 // BSD-style license that can be found in the LICENSE file. | |
8327 | |
8328 // WARNING: Do not edit - generated code. | |
8329 | |
8330 @DocsEditable() | |
8331 @DomName('WebGLTimerQueryEXT') | |
8332 @Experimental() // untriaged | |
8333 class TimerQueryExt extends DartHtmlDomObject { | |
8334 // To suppress missing implicit constructor warnings. | |
8335 factory TimerQueryExt._() { | |
8336 throw new UnsupportedError("Not supported"); | |
8337 } | |
8338 | |
8339 @Deprecated("Internal Use Only") | |
8340 external static Type get instanceRuntimeType; | |
8341 | |
8342 @Deprecated("Internal Use Only") | |
8343 TimerQueryExt.internal_() {} | |
8344 } | |
8345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8346 // for details. All rights reserved. Use of this source code is governed by a | |
8347 // BSD-style license that can be found in the LICENSE file. | |
8348 | |
8349 // WARNING: Do not edit - generated code. | |
8350 | |
8351 @DocsEditable() | |
8352 @DomName('WebGLTransformFeedback') | |
8353 @Experimental() // untriaged | |
8354 class TransformFeedback extends DartHtmlDomObject { | |
8355 // To suppress missing implicit constructor warnings. | |
8356 factory TransformFeedback._() { | |
8357 throw new UnsupportedError("Not supported"); | |
8358 } | |
8359 | |
8360 @Deprecated("Internal Use Only") | |
8361 external static Type get instanceRuntimeType; | |
8362 | |
8363 @Deprecated("Internal Use Only") | |
8364 TransformFeedback.internal_() {} | |
8365 } | |
8366 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8367 // for details. All rights reserved. Use of this source code is governed by a | |
8368 // BSD-style license that can be found in the LICENSE file. | |
8369 | |
8370 // WARNING: Do not edit - generated code. | |
8371 | |
8372 @DocsEditable() | |
8373 @DomName('WebGLUniformLocation') | |
8374 class UniformLocation extends DartHtmlDomObject { | |
8375 // To suppress missing implicit constructor warnings. | |
8376 factory UniformLocation._() { | |
8377 throw new UnsupportedError("Not supported"); | |
8378 } | |
8379 | |
8380 @Deprecated("Internal Use Only") | |
8381 external static Type get instanceRuntimeType; | |
8382 | |
8383 @Deprecated("Internal Use Only") | |
8384 UniformLocation.internal_() {} | |
8385 } | |
8386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8387 // for details. All rights reserved. Use of this source code is governed by a | |
8388 // BSD-style license that can be found in the LICENSE file. | |
8389 | |
8390 // WARNING: Do not edit - generated code. | |
8391 | |
8392 @DocsEditable() | |
8393 @DomName('WebGLVertexArrayObject') | |
8394 @Experimental() // untriaged | |
8395 class VertexArrayObject extends DartHtmlDomObject { | |
8396 // To suppress missing implicit constructor warnings. | |
8397 factory VertexArrayObject._() { | |
8398 throw new UnsupportedError("Not supported"); | |
8399 } | |
8400 | |
8401 @Deprecated("Internal Use Only") | |
8402 external static Type get instanceRuntimeType; | |
8403 | |
8404 @Deprecated("Internal Use Only") | |
8405 VertexArrayObject.internal_() {} | |
8406 } | |
8407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8408 // for details. All rights reserved. Use of this source code is governed by a | |
8409 // BSD-style license that can be found in the LICENSE file. | |
8410 | |
8411 // WARNING: Do not edit - generated code. | |
8412 | |
8413 @DocsEditable() | |
8414 @DomName('WebGLVertexArrayObjectOES') | |
8415 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | |
8416 @Experimental() // experimental | |
8417 class VertexArrayObjectOes extends DartHtmlDomObject { | |
8418 // To suppress missing implicit constructor warnings. | |
8419 factory VertexArrayObjectOes._() { | |
8420 throw new UnsupportedError("Not supported"); | |
8421 } | |
8422 | |
8423 @Deprecated("Internal Use Only") | |
8424 external static Type get instanceRuntimeType; | |
8425 | |
8426 @Deprecated("Internal Use Only") | |
8427 VertexArrayObjectOes.internal_() {} | |
8428 } | |
8429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8430 // for details. All rights reserved. Use of this source code is governed by a | |
8431 // BSD-style license that can be found in the LICENSE file. | |
8432 | |
8433 // WARNING: Do not edit - generated code. | |
8434 | |
8435 @DocsEditable() | |
8436 @DomName('WebGL2RenderingContextBase') | |
8437 @Experimental() // untriaged | |
8438 class _WebGL2RenderingContextBase extends DartHtmlDomObject | |
8439 implements _WebGLRenderingContextBase { | |
8440 // To suppress missing implicit constructor warnings. | |
8441 factory _WebGL2RenderingContextBase._() { | |
8442 throw new UnsupportedError("Not supported"); | |
8443 } | |
8444 | |
8445 @Deprecated("Internal Use Only") | |
8446 external static Type get instanceRuntimeType; | |
8447 | |
8448 @Deprecated("Internal Use Only") | |
8449 _WebGL2RenderingContextBase.internal_() {} | |
8450 } | |
8451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
8452 // for details. All rights reserved. Use of this source code is governed by a | |
8453 // BSD-style license that can be found in the LICENSE file. | |
8454 | |
8455 // WARNING: Do not edit - generated code. | |
8456 | |
8457 @DocsEditable() | |
8458 @DomName('WebGLRenderingContextBase') | |
8459 @Experimental() // untriaged | |
8460 class _WebGLRenderingContextBase extends DartHtmlDomObject { | |
8461 // To suppress missing implicit constructor warnings. | |
8462 factory _WebGLRenderingContextBase._() { | |
8463 throw new UnsupportedError("Not supported"); | |
8464 } | |
8465 } | |
OLD | NEW |