| OLD | NEW |
| 1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_internal' hide deprecated; | 5 import 'dart:_internal' hide deprecated; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
| 10 import 'dart:_blink' as _blink; | 10 import 'dart:_blink' as _blink; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 'WebGLContextEvent': () => ContextEvent, | 39 'WebGLContextEvent': () => ContextEvent, |
| 40 'WebGLDebugRendererInfo': () => DebugRendererInfo, | 40 'WebGLDebugRendererInfo': () => DebugRendererInfo, |
| 41 'WebGLDebugShaders': () => DebugShaders, | 41 'WebGLDebugShaders': () => DebugShaders, |
| 42 'WebGLDepthTexture': () => DepthTexture, | 42 'WebGLDepthTexture': () => DepthTexture, |
| 43 'WebGLDrawBuffers': () => DrawBuffers, | 43 'WebGLDrawBuffers': () => DrawBuffers, |
| 44 'WebGLFramebuffer': () => Framebuffer, | 44 'WebGLFramebuffer': () => Framebuffer, |
| 45 'WebGLLoseContext': () => LoseContext, | 45 'WebGLLoseContext': () => LoseContext, |
| 46 'WebGLProgram': () => Program, | 46 'WebGLProgram': () => Program, |
| 47 'WebGLRenderbuffer': () => Renderbuffer, | 47 'WebGLRenderbuffer': () => Renderbuffer, |
| 48 'WebGLRenderingContext': () => RenderingContext, | 48 'WebGLRenderingContext': () => RenderingContext, |
| 49 'WebGLRenderingContextBase': () => RenderingContextBase, | 49 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, |
| 50 'WebGLShader': () => Shader, | 50 'WebGLShader': () => Shader, |
| 51 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, | 51 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, |
| 52 'WebGLTexture': () => Texture, | 52 'WebGLTexture': () => Texture, |
| 53 'WebGLUniformLocation': () => UniformLocation, | 53 'WebGLUniformLocation': () => UniformLocation, |
| 54 'WebGLVertexArrayObjectOES': () => VertexArrayObject, | 54 'WebGLVertexArrayObjectOES': () => VertexArrayObject, |
| 55 | 55 |
| 56 }; | 56 }; |
| 57 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 57 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 58 // for details. All rights reserved. Use of this source code is governed by a | 58 // for details. All rights reserved. Use of this source code is governed by a |
| 59 // BSD-style license that can be found in the LICENSE file. | 59 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1166 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1166 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 1167 // for details. All rights reserved. Use of this source code is governed by a | 1167 // for details. All rights reserved. Use of this source code is governed by a |
| 1168 // BSD-style license that can be found in the LICENSE file. | 1168 // BSD-style license that can be found in the LICENSE file. |
| 1169 | 1169 |
| 1170 | 1170 |
| 1171 @DomName('WebGLRenderingContext') | 1171 @DomName('WebGLRenderingContext') |
| 1172 @SupportedBrowser(SupportedBrowser.CHROME) | 1172 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1173 @SupportedBrowser(SupportedBrowser.FIREFOX) | 1173 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 1174 @Experimental() | 1174 @Experimental() |
| 1175 @Unstable() | 1175 @Unstable() |
| 1176 class RenderingContext extends RenderingContextBase { | 1176 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
ngContext { |
| 1177 // To suppress missing implicit constructor warnings. | 1177 // To suppress missing implicit constructor warnings. |
| 1178 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } | 1178 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } |
| 1179 | 1179 |
| 1180 /// Checks if this type is supported on the current platform. | 1180 /// Checks if this type is supported on the current platform. |
| 1181 static bool get supported => true; | 1181 static bool get supported => true; |
| 1182 | 1182 |
| 1183 | 1183 @DomName('WebGLRenderingContext.canvas') |
| 1184 /** | |
| 1185 * Sets the currently bound texture to [data]. | |
| 1186 * | |
| 1187 * [data] can be either an [ImageElement], a | |
| 1188 * [CanvasElement], a [VideoElement], or an [ImageData] object. | |
| 1189 * | |
| 1190 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. | |
| 1191 * | |
| 1192 */ | |
| 1193 void texImage2DUntyped(int targetTexture, int levelOfDetail, | |
| 1194 int internalFormat, int format, int type, data) { | |
| 1195 if (data is ImageElement) { | |
| 1196 texImage2DImage(targetTexture, levelOfDetail, internalFormat, format, | |
| 1197 type, data); | |
| 1198 } else if (data is ImageData) { | |
| 1199 texImage2DImageData(targetTexture, levelOfDetail, internalFormat, format, | |
| 1200 type, data); | |
| 1201 } else if (data is CanvasElement) { | |
| 1202 texImage2DCanvas(targetTexture, levelOfDetail, internalFormat, format, | |
| 1203 type, data); | |
| 1204 } else { | |
| 1205 texImage2DVideo(targetTexture, levelOfDetail, internalFormat, format, | |
| 1206 type, data); | |
| 1207 } | |
| 1208 } | |
| 1209 | |
| 1210 /** | |
| 1211 * Sets the currently bound texture to [data]. | |
| 1212 */ | |
| 1213 void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, | |
| 1214 int width, int height, int border, int format, int type, TypedData data) { | |
| 1215 texImage2D(targetTexture, levelOfDetail, internalFormat, | |
| 1216 width, height, border, format, type, data); | |
| 1217 } | |
| 1218 | |
| 1219 /** | |
| 1220 * Updates a sub-rectangle of the currently bound texture to [data]. | |
| 1221 * | |
| 1222 * [data] can be either an [ImageElement], a | |
| 1223 * [CanvasElement], a [VideoElement], or an [ImageData] object. | |
| 1224 * | |
| 1225 * To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped]. | |
| 1226 * | |
| 1227 */ | |
| 1228 void texSubImage2DUntyped(int targetTexture, int levelOfDetail, | |
| 1229 int xOffset, int yOffset, int format, int type, data) { | |
| 1230 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, | |
| 1231 format, type, data); | |
| 1232 } | |
| 1233 | |
| 1234 /** | |
| 1235 * Updates a sub-rectangle of the currently bound texture to [data]. | |
| 1236 */ | |
| 1237 void texSubImage2DTyped(int targetTexture, int levelOfDetail, | |
| 1238 int xOffset, int yOffset, int width, int height, int format, | |
| 1239 int type, TypedData data) { | |
| 1240 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, | |
| 1241 width, height, format, type, data); | |
| 1242 } | |
| 1243 } | |
| 1244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 1245 // for details. All rights reserved. Use of this source code is governed by a | |
| 1246 // BSD-style license that can be found in the LICENSE file. | |
| 1247 | |
| 1248 // WARNING: Do not edit - generated code. | |
| 1249 | |
| 1250 | |
| 1251 @DocsEditable() | |
| 1252 @DomName('WebGLRenderingContextBase') | |
| 1253 @Experimental() // untriaged | |
| 1254 class RenderingContextBase extends NativeFieldWrapperClass2 { | |
| 1255 // To suppress missing implicit constructor warnings. | |
| 1256 factory RenderingContextBase._() { throw new UnsupportedError("Not supported")
; } | |
| 1257 | |
| 1258 @DomName('WebGLRenderingContextBase.ACTIVE_ATTRIBUTES') | |
| 1259 @DocsEditable() | 1184 @DocsEditable() |
| 1260 @Experimental() // untriaged | 1185 @Experimental() // untriaged |
| 1261 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 1186 CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.canvas_Getter(th
is); |
| 1262 | 1187 |
| 1263 @DomName('WebGLRenderingContextBase.ACTIVE_TEXTURE') | 1188 @DomName('WebGLRenderingContext.drawingBufferHeight') |
| 1264 @DocsEditable() | 1189 @DocsEditable() |
| 1265 @Experimental() // untriaged | 1190 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.drawingBuffer
Height_Getter(this); |
| 1266 static const int ACTIVE_TEXTURE = 0x84E0; | |
| 1267 | 1191 |
| 1268 @DomName('WebGLRenderingContextBase.ACTIVE_UNIFORMS') | 1192 @DomName('WebGLRenderingContext.drawingBufferWidth') |
| 1269 @DocsEditable() | 1193 @DocsEditable() |
| 1270 @Experimental() // untriaged | 1194 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.drawingBufferW
idth_Getter(this); |
| 1271 static const int ACTIVE_UNIFORMS = 0x8B86; | |
| 1272 | 1195 |
| 1273 @DomName('WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE') | 1196 @DomName('WebGLRenderingContext.activeTexture') |
| 1274 @DocsEditable() | 1197 @DocsEditable() |
| 1275 @Experimental() // untriaged | 1198 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.activeTex
ture_Callback_ul(this, texture); |
| 1276 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; | |
| 1277 | 1199 |
| 1278 @DomName('WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE') | 1200 @DomName('WebGLRenderingContext.attachShader') |
| 1279 @DocsEditable() | 1201 @DocsEditable() |
| 1280 @Experimental() // untriaged | 1202 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.attachShader_Callback_WebGLProgram_WebGLShader(this, program, shader); |
| 1281 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; | |
| 1282 | 1203 |
| 1283 @DomName('WebGLRenderingContextBase.ALPHA') | 1204 @DomName('WebGLRenderingContext.bindAttribLocation') |
| 1284 @DocsEditable() | 1205 @DocsEditable() |
| 1285 @Experimental() // untriaged | 1206 void bindAttribLocation(Program program, int index, String name) => _blink.Bli
nkWebGLRenderingContext.bindAttribLocation_Callback_WebGLProgram_ul_DOMString(th
is, program, index, name); |
| 1286 static const int ALPHA = 0x1906; | |
| 1287 | 1207 |
| 1288 @DomName('WebGLRenderingContextBase.ALPHA_BITS') | 1208 @DomName('WebGLRenderingContext.bindBuffer') |
| 1289 @DocsEditable() | 1209 @DocsEditable() |
| 1290 @Experimental() // untriaged | 1210 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex
t.bindBuffer_Callback_ul_WebGLBuffer(this, target, buffer); |
| 1291 static const int ALPHA_BITS = 0x0D55; | |
| 1292 | 1211 |
| 1293 @DomName('WebGLRenderingContextBase.ALWAYS') | 1212 @DomName('WebGLRenderingContext.bindFramebuffer') |
| 1294 @DocsEditable() | 1213 @DocsEditable() |
| 1295 @Experimental() // untriaged | 1214 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
RenderingContext.bindFramebuffer_Callback_ul_WebGLFramebuffer(this, target, fram
ebuffer); |
| 1296 static const int ALWAYS = 0x0207; | |
| 1297 | 1215 |
| 1298 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER') | 1216 @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 1299 @DocsEditable() | 1217 @DocsEditable() |
| 1300 @Experimental() // untriaged | 1218 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGLRenderingContext.bindRenderbuffer_Callback_ul_WebGLRenderbuffer(this, target,
renderbuffer); |
| 1301 static const int ARRAY_BUFFER = 0x8892; | |
| 1302 | 1219 |
| 1303 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER_BINDING') | 1220 @DomName('WebGLRenderingContext.bindTexture') |
| 1304 @DocsEditable() | 1221 @DocsEditable() |
| 1305 @Experimental() // untriaged | 1222 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon
text.bindTexture_Callback_ul_WebGLTexture(this, target, texture); |
| 1306 static const int ARRAY_BUFFER_BINDING = 0x8894; | |
| 1307 | 1223 |
| 1308 @DomName('WebGLRenderingContextBase.ATTACHED_SHADERS') | 1224 @DomName('WebGLRenderingContext.blendColor') |
| 1309 @DocsEditable() | 1225 @DocsEditable() |
| 1310 @Experimental() // untriaged | 1226 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.blendColor_Callback_float_float_float_float(this, red, green, bl
ue, alpha); |
| 1311 static const int ATTACHED_SHADERS = 0x8B85; | |
| 1312 | 1227 |
| 1313 @DomName('WebGLRenderingContextBase.BACK') | 1228 @DomName('WebGLRenderingContext.blendEquation') |
| 1314 @DocsEditable() | 1229 @DocsEditable() |
| 1315 @Experimental() // untriaged | 1230 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.blendEquatio
n_Callback_ul(this, mode); |
| 1316 static const int BACK = 0x0405; | |
| 1317 | 1231 |
| 1318 @DomName('WebGLRenderingContextBase.BLEND') | 1232 @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 1319 @DocsEditable() | 1233 @DocsEditable() |
| 1320 @Experimental() // untriaged | 1234 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContext.blendEquationSeparate_Callback_ul_ul(this, modeRGB, modeAlpha); |
| 1321 static const int BLEND = 0x0BE2; | |
| 1322 | 1235 |
| 1323 @DomName('WebGLRenderingContextBase.BLEND_COLOR') | 1236 @DomName('WebGLRenderingContext.blendFunc') |
| 1324 @DocsEditable() | 1237 @DocsEditable() |
| 1325 @Experimental() // untriaged | 1238 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.
blendFunc_Callback_ul_ul(this, sfactor, dfactor); |
| 1326 static const int BLEND_COLOR = 0x8005; | |
| 1327 | 1239 |
| 1328 @DomName('WebGLRenderingContextBase.BLEND_DST_ALPHA') | 1240 @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 1329 @DocsEditable() | 1241 @DocsEditable() |
| 1330 @Experimental() // untriaged | 1242 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContext.blendFuncSeparate_Callback_ul_ul_ul_ul(this, s
rcRGB, dstRGB, srcAlpha, dstAlpha); |
| 1331 static const int BLEND_DST_ALPHA = 0x80CA; | |
| 1332 | |
| 1333 @DomName('WebGLRenderingContextBase.BLEND_DST_RGB') | |
| 1334 @DocsEditable() | |
| 1335 @Experimental() // untriaged | |
| 1336 static const int BLEND_DST_RGB = 0x80C8; | |
| 1337 | |
| 1338 @DomName('WebGLRenderingContextBase.BLEND_EQUATION') | |
| 1339 @DocsEditable() | |
| 1340 @Experimental() // untriaged | |
| 1341 static const int BLEND_EQUATION = 0x8009; | |
| 1342 | |
| 1343 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_ALPHA') | |
| 1344 @DocsEditable() | |
| 1345 @Experimental() // untriaged | |
| 1346 static const int BLEND_EQUATION_ALPHA = 0x883D; | |
| 1347 | |
| 1348 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_RGB') | |
| 1349 @DocsEditable() | |
| 1350 @Experimental() // untriaged | |
| 1351 static const int BLEND_EQUATION_RGB = 0x8009; | |
| 1352 | |
| 1353 @DomName('WebGLRenderingContextBase.BLEND_SRC_ALPHA') | |
| 1354 @DocsEditable() | |
| 1355 @Experimental() // untriaged | |
| 1356 static const int BLEND_SRC_ALPHA = 0x80CB; | |
| 1357 | |
| 1358 @DomName('WebGLRenderingContextBase.BLEND_SRC_RGB') | |
| 1359 @DocsEditable() | |
| 1360 @Experimental() // untriaged | |
| 1361 static const int BLEND_SRC_RGB = 0x80C9; | |
| 1362 | |
| 1363 @DomName('WebGLRenderingContextBase.BLUE_BITS') | |
| 1364 @DocsEditable() | |
| 1365 @Experimental() // untriaged | |
| 1366 static const int BLUE_BITS = 0x0D54; | |
| 1367 | |
| 1368 @DomName('WebGLRenderingContextBase.BOOL') | |
| 1369 @DocsEditable() | |
| 1370 @Experimental() // untriaged | |
| 1371 static const int BOOL = 0x8B56; | |
| 1372 | |
| 1373 @DomName('WebGLRenderingContextBase.BOOL_VEC2') | |
| 1374 @DocsEditable() | |
| 1375 @Experimental() // untriaged | |
| 1376 static const int BOOL_VEC2 = 0x8B57; | |
| 1377 | |
| 1378 @DomName('WebGLRenderingContextBase.BOOL_VEC3') | |
| 1379 @DocsEditable() | |
| 1380 @Experimental() // untriaged | |
| 1381 static const int BOOL_VEC3 = 0x8B58; | |
| 1382 | |
| 1383 @DomName('WebGLRenderingContextBase.BOOL_VEC4') | |
| 1384 @DocsEditable() | |
| 1385 @Experimental() // untriaged | |
| 1386 static const int BOOL_VEC4 = 0x8B59; | |
| 1387 | |
| 1388 @DomName('WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL') | |
| 1389 @DocsEditable() | |
| 1390 @Experimental() // untriaged | |
| 1391 static const int BROWSER_DEFAULT_WEBGL = 0x9244; | |
| 1392 | |
| 1393 @DomName('WebGLRenderingContextBase.BUFFER_SIZE') | |
| 1394 @DocsEditable() | |
| 1395 @Experimental() // untriaged | |
| 1396 static const int BUFFER_SIZE = 0x8764; | |
| 1397 | |
| 1398 @DomName('WebGLRenderingContextBase.BUFFER_USAGE') | |
| 1399 @DocsEditable() | |
| 1400 @Experimental() // untriaged | |
| 1401 static const int BUFFER_USAGE = 0x8765; | |
| 1402 | |
| 1403 @DomName('WebGLRenderingContextBase.BYTE') | |
| 1404 @DocsEditable() | |
| 1405 @Experimental() // untriaged | |
| 1406 static const int BYTE = 0x1400; | |
| 1407 | |
| 1408 @DomName('WebGLRenderingContextBase.CCW') | |
| 1409 @DocsEditable() | |
| 1410 @Experimental() // untriaged | |
| 1411 static const int CCW = 0x0901; | |
| 1412 | |
| 1413 @DomName('WebGLRenderingContextBase.CLAMP_TO_EDGE') | |
| 1414 @DocsEditable() | |
| 1415 @Experimental() // untriaged | |
| 1416 static const int CLAMP_TO_EDGE = 0x812F; | |
| 1417 | |
| 1418 @DomName('WebGLRenderingContextBase.COLOR_ATTACHMENT0') | |
| 1419 @DocsEditable() | |
| 1420 @Experimental() // untriaged | |
| 1421 static const int COLOR_ATTACHMENT0 = 0x8CE0; | |
| 1422 | |
| 1423 @DomName('WebGLRenderingContextBase.COLOR_BUFFER_BIT') | |
| 1424 @DocsEditable() | |
| 1425 @Experimental() // untriaged | |
| 1426 static const int COLOR_BUFFER_BIT = 0x00004000; | |
| 1427 | |
| 1428 @DomName('WebGLRenderingContextBase.COLOR_CLEAR_VALUE') | |
| 1429 @DocsEditable() | |
| 1430 @Experimental() // untriaged | |
| 1431 static const int COLOR_CLEAR_VALUE = 0x0C22; | |
| 1432 | |
| 1433 @DomName('WebGLRenderingContextBase.COLOR_WRITEMASK') | |
| 1434 @DocsEditable() | |
| 1435 @Experimental() // untriaged | |
| 1436 static const int COLOR_WRITEMASK = 0x0C23; | |
| 1437 | |
| 1438 @DomName('WebGLRenderingContextBase.COMPILE_STATUS') | |
| 1439 @DocsEditable() | |
| 1440 @Experimental() // untriaged | |
| 1441 static const int COMPILE_STATUS = 0x8B81; | |
| 1442 | |
| 1443 @DomName('WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS') | |
| 1444 @DocsEditable() | |
| 1445 @Experimental() // untriaged | |
| 1446 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; | |
| 1447 | |
| 1448 @DomName('WebGLRenderingContextBase.CONSTANT_ALPHA') | |
| 1449 @DocsEditable() | |
| 1450 @Experimental() // untriaged | |
| 1451 static const int CONSTANT_ALPHA = 0x8003; | |
| 1452 | |
| 1453 @DomName('WebGLRenderingContextBase.CONSTANT_COLOR') | |
| 1454 @DocsEditable() | |
| 1455 @Experimental() // untriaged | |
| 1456 static const int CONSTANT_COLOR = 0x8001; | |
| 1457 | |
| 1458 @DomName('WebGLRenderingContextBase.CONTEXT_LOST_WEBGL') | |
| 1459 @DocsEditable() | |
| 1460 @Experimental() // untriaged | |
| 1461 static const int CONTEXT_LOST_WEBGL = 0x9242; | |
| 1462 | |
| 1463 @DomName('WebGLRenderingContextBase.CULL_FACE') | |
| 1464 @DocsEditable() | |
| 1465 @Experimental() // untriaged | |
| 1466 static const int CULL_FACE = 0x0B44; | |
| 1467 | |
| 1468 @DomName('WebGLRenderingContextBase.CULL_FACE_MODE') | |
| 1469 @DocsEditable() | |
| 1470 @Experimental() // untriaged | |
| 1471 static const int CULL_FACE_MODE = 0x0B45; | |
| 1472 | |
| 1473 @DomName('WebGLRenderingContextBase.CURRENT_PROGRAM') | |
| 1474 @DocsEditable() | |
| 1475 @Experimental() // untriaged | |
| 1476 static const int CURRENT_PROGRAM = 0x8B8D; | |
| 1477 | |
| 1478 @DomName('WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB') | |
| 1479 @DocsEditable() | |
| 1480 @Experimental() // untriaged | |
| 1481 static const int CURRENT_VERTEX_ATTRIB = 0x8626; | |
| 1482 | |
| 1483 @DomName('WebGLRenderingContextBase.CW') | |
| 1484 @DocsEditable() | |
| 1485 @Experimental() // untriaged | |
| 1486 static const int CW = 0x0900; | |
| 1487 | |
| 1488 @DomName('WebGLRenderingContextBase.DECR') | |
| 1489 @DocsEditable() | |
| 1490 @Experimental() // untriaged | |
| 1491 static const int DECR = 0x1E03; | |
| 1492 | |
| 1493 @DomName('WebGLRenderingContextBase.DECR_WRAP') | |
| 1494 @DocsEditable() | |
| 1495 @Experimental() // untriaged | |
| 1496 static const int DECR_WRAP = 0x8508; | |
| 1497 | |
| 1498 @DomName('WebGLRenderingContextBase.DELETE_STATUS') | |
| 1499 @DocsEditable() | |
| 1500 @Experimental() // untriaged | |
| 1501 static const int DELETE_STATUS = 0x8B80; | |
| 1502 | |
| 1503 @DomName('WebGLRenderingContextBase.DEPTH_ATTACHMENT') | |
| 1504 @DocsEditable() | |
| 1505 @Experimental() // untriaged | |
| 1506 static const int DEPTH_ATTACHMENT = 0x8D00; | |
| 1507 | |
| 1508 @DomName('WebGLRenderingContextBase.DEPTH_BITS') | |
| 1509 @DocsEditable() | |
| 1510 @Experimental() // untriaged | |
| 1511 static const int DEPTH_BITS = 0x0D56; | |
| 1512 | |
| 1513 @DomName('WebGLRenderingContextBase.DEPTH_BUFFER_BIT') | |
| 1514 @DocsEditable() | |
| 1515 @Experimental() // untriaged | |
| 1516 static const int DEPTH_BUFFER_BIT = 0x00000100; | |
| 1517 | |
| 1518 @DomName('WebGLRenderingContextBase.DEPTH_CLEAR_VALUE') | |
| 1519 @DocsEditable() | |
| 1520 @Experimental() // untriaged | |
| 1521 static const int DEPTH_CLEAR_VALUE = 0x0B73; | |
| 1522 | |
| 1523 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT') | |
| 1524 @DocsEditable() | |
| 1525 @Experimental() // untriaged | |
| 1526 static const int DEPTH_COMPONENT = 0x1902; | |
| 1527 | |
| 1528 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT16') | |
| 1529 @DocsEditable() | |
| 1530 @Experimental() // untriaged | |
| 1531 static const int DEPTH_COMPONENT16 = 0x81A5; | |
| 1532 | |
| 1533 @DomName('WebGLRenderingContextBase.DEPTH_FUNC') | |
| 1534 @DocsEditable() | |
| 1535 @Experimental() // untriaged | |
| 1536 static const int DEPTH_FUNC = 0x0B74; | |
| 1537 | |
| 1538 @DomName('WebGLRenderingContextBase.DEPTH_RANGE') | |
| 1539 @DocsEditable() | |
| 1540 @Experimental() // untriaged | |
| 1541 static const int DEPTH_RANGE = 0x0B70; | |
| 1542 | |
| 1543 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL') | |
| 1544 @DocsEditable() | |
| 1545 @Experimental() // untriaged | |
| 1546 static const int DEPTH_STENCIL = 0x84F9; | |
| 1547 | |
| 1548 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT') | |
| 1549 @DocsEditable() | |
| 1550 @Experimental() // untriaged | |
| 1551 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; | |
| 1552 | |
| 1553 @DomName('WebGLRenderingContextBase.DEPTH_TEST') | |
| 1554 @DocsEditable() | |
| 1555 @Experimental() // untriaged | |
| 1556 static const int DEPTH_TEST = 0x0B71; | |
| 1557 | |
| 1558 @DomName('WebGLRenderingContextBase.DEPTH_WRITEMASK') | |
| 1559 @DocsEditable() | |
| 1560 @Experimental() // untriaged | |
| 1561 static const int DEPTH_WRITEMASK = 0x0B72; | |
| 1562 | |
| 1563 @DomName('WebGLRenderingContextBase.DITHER') | |
| 1564 @DocsEditable() | |
| 1565 @Experimental() // untriaged | |
| 1566 static const int DITHER = 0x0BD0; | |
| 1567 | |
| 1568 @DomName('WebGLRenderingContextBase.DONT_CARE') | |
| 1569 @DocsEditable() | |
| 1570 @Experimental() // untriaged | |
| 1571 static const int DONT_CARE = 0x1100; | |
| 1572 | |
| 1573 @DomName('WebGLRenderingContextBase.DST_ALPHA') | |
| 1574 @DocsEditable() | |
| 1575 @Experimental() // untriaged | |
| 1576 static const int DST_ALPHA = 0x0304; | |
| 1577 | |
| 1578 @DomName('WebGLRenderingContextBase.DST_COLOR') | |
| 1579 @DocsEditable() | |
| 1580 @Experimental() // untriaged | |
| 1581 static const int DST_COLOR = 0x0306; | |
| 1582 | |
| 1583 @DomName('WebGLRenderingContextBase.DYNAMIC_DRAW') | |
| 1584 @DocsEditable() | |
| 1585 @Experimental() // untriaged | |
| 1586 static const int DYNAMIC_DRAW = 0x88E8; | |
| 1587 | |
| 1588 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER') | |
| 1589 @DocsEditable() | |
| 1590 @Experimental() // untriaged | |
| 1591 static const int ELEMENT_ARRAY_BUFFER = 0x8893; | |
| 1592 | |
| 1593 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING') | |
| 1594 @DocsEditable() | |
| 1595 @Experimental() // untriaged | |
| 1596 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; | |
| 1597 | |
| 1598 @DomName('WebGLRenderingContextBase.EQUAL') | |
| 1599 @DocsEditable() | |
| 1600 @Experimental() // untriaged | |
| 1601 static const int EQUAL = 0x0202; | |
| 1602 | |
| 1603 @DomName('WebGLRenderingContextBase.FASTEST') | |
| 1604 @DocsEditable() | |
| 1605 @Experimental() // untriaged | |
| 1606 static const int FASTEST = 0x1101; | |
| 1607 | |
| 1608 @DomName('WebGLRenderingContextBase.FLOAT') | |
| 1609 @DocsEditable() | |
| 1610 @Experimental() // untriaged | |
| 1611 static const int FLOAT = 0x1406; | |
| 1612 | |
| 1613 @DomName('WebGLRenderingContextBase.FLOAT_MAT2') | |
| 1614 @DocsEditable() | |
| 1615 @Experimental() // untriaged | |
| 1616 static const int FLOAT_MAT2 = 0x8B5A; | |
| 1617 | |
| 1618 @DomName('WebGLRenderingContextBase.FLOAT_MAT3') | |
| 1619 @DocsEditable() | |
| 1620 @Experimental() // untriaged | |
| 1621 static const int FLOAT_MAT3 = 0x8B5B; | |
| 1622 | |
| 1623 @DomName('WebGLRenderingContextBase.FLOAT_MAT4') | |
| 1624 @DocsEditable() | |
| 1625 @Experimental() // untriaged | |
| 1626 static const int FLOAT_MAT4 = 0x8B5C; | |
| 1627 | |
| 1628 @DomName('WebGLRenderingContextBase.FLOAT_VEC2') | |
| 1629 @DocsEditable() | |
| 1630 @Experimental() // untriaged | |
| 1631 static const int FLOAT_VEC2 = 0x8B50; | |
| 1632 | |
| 1633 @DomName('WebGLRenderingContextBase.FLOAT_VEC3') | |
| 1634 @DocsEditable() | |
| 1635 @Experimental() // untriaged | |
| 1636 static const int FLOAT_VEC3 = 0x8B51; | |
| 1637 | |
| 1638 @DomName('WebGLRenderingContextBase.FLOAT_VEC4') | |
| 1639 @DocsEditable() | |
| 1640 @Experimental() // untriaged | |
| 1641 static const int FLOAT_VEC4 = 0x8B52; | |
| 1642 | |
| 1643 @DomName('WebGLRenderingContextBase.FRAGMENT_SHADER') | |
| 1644 @DocsEditable() | |
| 1645 @Experimental() // untriaged | |
| 1646 static const int FRAGMENT_SHADER = 0x8B30; | |
| 1647 | |
| 1648 @DomName('WebGLRenderingContextBase.FRAMEBUFFER') | |
| 1649 @DocsEditable() | |
| 1650 @Experimental() // untriaged | |
| 1651 static const int FRAMEBUFFER = 0x8D40; | |
| 1652 | |
| 1653 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') | |
| 1654 @DocsEditable() | |
| 1655 @Experimental() // untriaged | |
| 1656 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | |
| 1657 | |
| 1658 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') | |
| 1659 @DocsEditable() | |
| 1660 @Experimental() // untriaged | |
| 1661 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | |
| 1662 | |
| 1663 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FA
CE') | |
| 1664 @DocsEditable() | |
| 1665 @Experimental() // untriaged | |
| 1666 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | |
| 1667 | |
| 1668 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') | |
| 1669 @DocsEditable() | |
| 1670 @Experimental() // untriaged | |
| 1671 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | |
| 1672 | |
| 1673 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_BINDING') | |
| 1674 @DocsEditable() | |
| 1675 @Experimental() // untriaged | |
| 1676 static const int FRAMEBUFFER_BINDING = 0x8CA6; | |
| 1677 | |
| 1678 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE') | |
| 1679 @DocsEditable() | |
| 1680 @Experimental() // untriaged | |
| 1681 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; | |
| 1682 | |
| 1683 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') | |
| 1684 @DocsEditable() | |
| 1685 @Experimental() // untriaged | |
| 1686 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; | |
| 1687 | |
| 1688 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') | |
| 1689 @DocsEditable() | |
| 1690 @Experimental() // untriaged | |
| 1691 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; | |
| 1692 | |
| 1693 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT'
) | |
| 1694 @DocsEditable() | |
| 1695 @Experimental() // untriaged | |
| 1696 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; | |
| 1697 | |
| 1698 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED') | |
| 1699 @DocsEditable() | |
| 1700 @Experimental() // untriaged | |
| 1701 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; | |
| 1702 | |
| 1703 @DomName('WebGLRenderingContextBase.FRONT') | |
| 1704 @DocsEditable() | |
| 1705 @Experimental() // untriaged | |
| 1706 static const int FRONT = 0x0404; | |
| 1707 | |
| 1708 @DomName('WebGLRenderingContextBase.FRONT_AND_BACK') | |
| 1709 @DocsEditable() | |
| 1710 @Experimental() // untriaged | |
| 1711 static const int FRONT_AND_BACK = 0x0408; | |
| 1712 | |
| 1713 @DomName('WebGLRenderingContextBase.FRONT_FACE') | |
| 1714 @DocsEditable() | |
| 1715 @Experimental() // untriaged | |
| 1716 static const int FRONT_FACE = 0x0B46; | |
| 1717 | |
| 1718 @DomName('WebGLRenderingContextBase.FUNC_ADD') | |
| 1719 @DocsEditable() | |
| 1720 @Experimental() // untriaged | |
| 1721 static const int FUNC_ADD = 0x8006; | |
| 1722 | |
| 1723 @DomName('WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT') | |
| 1724 @DocsEditable() | |
| 1725 @Experimental() // untriaged | |
| 1726 static const int FUNC_REVERSE_SUBTRACT = 0x800B; | |
| 1727 | |
| 1728 @DomName('WebGLRenderingContextBase.FUNC_SUBTRACT') | |
| 1729 @DocsEditable() | |
| 1730 @Experimental() // untriaged | |
| 1731 static const int FUNC_SUBTRACT = 0x800A; | |
| 1732 | |
| 1733 @DomName('WebGLRenderingContextBase.GENERATE_MIPMAP_HINT') | |
| 1734 @DocsEditable() | |
| 1735 @Experimental() // untriaged | |
| 1736 static const int GENERATE_MIPMAP_HINT = 0x8192; | |
| 1737 | |
| 1738 @DomName('WebGLRenderingContextBase.GEQUAL') | |
| 1739 @DocsEditable() | |
| 1740 @Experimental() // untriaged | |
| 1741 static const int GEQUAL = 0x0206; | |
| 1742 | |
| 1743 @DomName('WebGLRenderingContextBase.GREATER') | |
| 1744 @DocsEditable() | |
| 1745 @Experimental() // untriaged | |
| 1746 static const int GREATER = 0x0204; | |
| 1747 | |
| 1748 @DomName('WebGLRenderingContextBase.GREEN_BITS') | |
| 1749 @DocsEditable() | |
| 1750 @Experimental() // untriaged | |
| 1751 static const int GREEN_BITS = 0x0D53; | |
| 1752 | |
| 1753 @DomName('WebGLRenderingContextBase.HIGH_FLOAT') | |
| 1754 @DocsEditable() | |
| 1755 @Experimental() // untriaged | |
| 1756 static const int HIGH_FLOAT = 0x8DF2; | |
| 1757 | |
| 1758 @DomName('WebGLRenderingContextBase.HIGH_INT') | |
| 1759 @DocsEditable() | |
| 1760 @Experimental() // untriaged | |
| 1761 static const int HIGH_INT = 0x8DF5; | |
| 1762 | |
| 1763 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT') | |
| 1764 @DocsEditable() | |
| 1765 @Experimental() // untriaged | |
| 1766 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; | |
| 1767 | |
| 1768 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE') | |
| 1769 @DocsEditable() | |
| 1770 @Experimental() // untriaged | |
| 1771 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; | |
| 1772 | |
| 1773 @DomName('WebGLRenderingContextBase.INCR') | |
| 1774 @DocsEditable() | |
| 1775 @Experimental() // untriaged | |
| 1776 static const int INCR = 0x1E02; | |
| 1777 | |
| 1778 @DomName('WebGLRenderingContextBase.INCR_WRAP') | |
| 1779 @DocsEditable() | |
| 1780 @Experimental() // untriaged | |
| 1781 static const int INCR_WRAP = 0x8507; | |
| 1782 | |
| 1783 @DomName('WebGLRenderingContextBase.INT') | |
| 1784 @DocsEditable() | |
| 1785 @Experimental() // untriaged | |
| 1786 static const int INT = 0x1404; | |
| 1787 | |
| 1788 @DomName('WebGLRenderingContextBase.INT_VEC2') | |
| 1789 @DocsEditable() | |
| 1790 @Experimental() // untriaged | |
| 1791 static const int INT_VEC2 = 0x8B53; | |
| 1792 | |
| 1793 @DomName('WebGLRenderingContextBase.INT_VEC3') | |
| 1794 @DocsEditable() | |
| 1795 @Experimental() // untriaged | |
| 1796 static const int INT_VEC3 = 0x8B54; | |
| 1797 | |
| 1798 @DomName('WebGLRenderingContextBase.INT_VEC4') | |
| 1799 @DocsEditable() | |
| 1800 @Experimental() // untriaged | |
| 1801 static const int INT_VEC4 = 0x8B55; | |
| 1802 | |
| 1803 @DomName('WebGLRenderingContextBase.INVALID_ENUM') | |
| 1804 @DocsEditable() | |
| 1805 @Experimental() // untriaged | |
| 1806 static const int INVALID_ENUM = 0x0500; | |
| 1807 | |
| 1808 @DomName('WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION') | |
| 1809 @DocsEditable() | |
| 1810 @Experimental() // untriaged | |
| 1811 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; | |
| 1812 | |
| 1813 @DomName('WebGLRenderingContextBase.INVALID_OPERATION') | |
| 1814 @DocsEditable() | |
| 1815 @Experimental() // untriaged | |
| 1816 static const int INVALID_OPERATION = 0x0502; | |
| 1817 | |
| 1818 @DomName('WebGLRenderingContextBase.INVALID_VALUE') | |
| 1819 @DocsEditable() | |
| 1820 @Experimental() // untriaged | |
| 1821 static const int INVALID_VALUE = 0x0501; | |
| 1822 | |
| 1823 @DomName('WebGLRenderingContextBase.INVERT') | |
| 1824 @DocsEditable() | |
| 1825 @Experimental() // untriaged | |
| 1826 static const int INVERT = 0x150A; | |
| 1827 | |
| 1828 @DomName('WebGLRenderingContextBase.KEEP') | |
| 1829 @DocsEditable() | |
| 1830 @Experimental() // untriaged | |
| 1831 static const int KEEP = 0x1E00; | |
| 1832 | |
| 1833 @DomName('WebGLRenderingContextBase.LEQUAL') | |
| 1834 @DocsEditable() | |
| 1835 @Experimental() // untriaged | |
| 1836 static const int LEQUAL = 0x0203; | |
| 1837 | |
| 1838 @DomName('WebGLRenderingContextBase.LESS') | |
| 1839 @DocsEditable() | |
| 1840 @Experimental() // untriaged | |
| 1841 static const int LESS = 0x0201; | |
| 1842 | |
| 1843 @DomName('WebGLRenderingContextBase.LINEAR') | |
| 1844 @DocsEditable() | |
| 1845 @Experimental() // untriaged | |
| 1846 static const int LINEAR = 0x2601; | |
| 1847 | |
| 1848 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR') | |
| 1849 @DocsEditable() | |
| 1850 @Experimental() // untriaged | |
| 1851 static const int LINEAR_MIPMAP_LINEAR = 0x2703; | |
| 1852 | |
| 1853 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST') | |
| 1854 @DocsEditable() | |
| 1855 @Experimental() // untriaged | |
| 1856 static const int LINEAR_MIPMAP_NEAREST = 0x2701; | |
| 1857 | |
| 1858 @DomName('WebGLRenderingContextBase.LINES') | |
| 1859 @DocsEditable() | |
| 1860 @Experimental() // untriaged | |
| 1861 static const int LINES = 0x0001; | |
| 1862 | |
| 1863 @DomName('WebGLRenderingContextBase.LINE_LOOP') | |
| 1864 @DocsEditable() | |
| 1865 @Experimental() // untriaged | |
| 1866 static const int LINE_LOOP = 0x0002; | |
| 1867 | |
| 1868 @DomName('WebGLRenderingContextBase.LINE_STRIP') | |
| 1869 @DocsEditable() | |
| 1870 @Experimental() // untriaged | |
| 1871 static const int LINE_STRIP = 0x0003; | |
| 1872 | |
| 1873 @DomName('WebGLRenderingContextBase.LINE_WIDTH') | |
| 1874 @DocsEditable() | |
| 1875 @Experimental() // untriaged | |
| 1876 static const int LINE_WIDTH = 0x0B21; | |
| 1877 | |
| 1878 @DomName('WebGLRenderingContextBase.LINK_STATUS') | |
| 1879 @DocsEditable() | |
| 1880 @Experimental() // untriaged | |
| 1881 static const int LINK_STATUS = 0x8B82; | |
| 1882 | |
| 1883 @DomName('WebGLRenderingContextBase.LOW_FLOAT') | |
| 1884 @DocsEditable() | |
| 1885 @Experimental() // untriaged | |
| 1886 static const int LOW_FLOAT = 0x8DF0; | |
| 1887 | |
| 1888 @DomName('WebGLRenderingContextBase.LOW_INT') | |
| 1889 @DocsEditable() | |
| 1890 @Experimental() // untriaged | |
| 1891 static const int LOW_INT = 0x8DF3; | |
| 1892 | |
| 1893 @DomName('WebGLRenderingContextBase.LUMINANCE') | |
| 1894 @DocsEditable() | |
| 1895 @Experimental() // untriaged | |
| 1896 static const int LUMINANCE = 0x1909; | |
| 1897 | |
| 1898 @DomName('WebGLRenderingContextBase.LUMINANCE_ALPHA') | |
| 1899 @DocsEditable() | |
| 1900 @Experimental() // untriaged | |
| 1901 static const int LUMINANCE_ALPHA = 0x190A; | |
| 1902 | |
| 1903 @DomName('WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS') | |
| 1904 @DocsEditable() | |
| 1905 @Experimental() // untriaged | |
| 1906 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; | |
| 1907 | |
| 1908 @DomName('WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE') | |
| 1909 @DocsEditable() | |
| 1910 @Experimental() // untriaged | |
| 1911 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; | |
| 1912 | |
| 1913 @DomName('WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS') | |
| 1914 @DocsEditable() | |
| 1915 @Experimental() // untriaged | |
| 1916 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; | |
| 1917 | |
| 1918 @DomName('WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE') | |
| 1919 @DocsEditable() | |
| 1920 @Experimental() // untriaged | |
| 1921 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; | |
| 1922 | |
| 1923 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS') | |
| 1924 @DocsEditable() | |
| 1925 @Experimental() // untriaged | |
| 1926 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; | |
| 1927 | |
| 1928 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_SIZE') | |
| 1929 @DocsEditable() | |
| 1930 @Experimental() // untriaged | |
| 1931 static const int MAX_TEXTURE_SIZE = 0x0D33; | |
| 1932 | |
| 1933 @DomName('WebGLRenderingContextBase.MAX_VARYING_VECTORS') | |
| 1934 @DocsEditable() | |
| 1935 @Experimental() // untriaged | |
| 1936 static const int MAX_VARYING_VECTORS = 0x8DFC; | |
| 1937 | |
| 1938 @DomName('WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS') | |
| 1939 @DocsEditable() | |
| 1940 @Experimental() // untriaged | |
| 1941 static const int MAX_VERTEX_ATTRIBS = 0x8869; | |
| 1942 | |
| 1943 @DomName('WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS') | |
| 1944 @DocsEditable() | |
| 1945 @Experimental() // untriaged | |
| 1946 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; | |
| 1947 | |
| 1948 @DomName('WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS') | |
| 1949 @DocsEditable() | |
| 1950 @Experimental() // untriaged | |
| 1951 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; | |
| 1952 | |
| 1953 @DomName('WebGLRenderingContextBase.MAX_VIEWPORT_DIMS') | |
| 1954 @DocsEditable() | |
| 1955 @Experimental() // untriaged | |
| 1956 static const int MAX_VIEWPORT_DIMS = 0x0D3A; | |
| 1957 | |
| 1958 @DomName('WebGLRenderingContextBase.MEDIUM_FLOAT') | |
| 1959 @DocsEditable() | |
| 1960 @Experimental() // untriaged | |
| 1961 static const int MEDIUM_FLOAT = 0x8DF1; | |
| 1962 | |
| 1963 @DomName('WebGLRenderingContextBase.MEDIUM_INT') | |
| 1964 @DocsEditable() | |
| 1965 @Experimental() // untriaged | |
| 1966 static const int MEDIUM_INT = 0x8DF4; | |
| 1967 | |
| 1968 @DomName('WebGLRenderingContextBase.MIRRORED_REPEAT') | |
| 1969 @DocsEditable() | |
| 1970 @Experimental() // untriaged | |
| 1971 static const int MIRRORED_REPEAT = 0x8370; | |
| 1972 | |
| 1973 @DomName('WebGLRenderingContextBase.NEAREST') | |
| 1974 @DocsEditable() | |
| 1975 @Experimental() // untriaged | |
| 1976 static const int NEAREST = 0x2600; | |
| 1977 | |
| 1978 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR') | |
| 1979 @DocsEditable() | |
| 1980 @Experimental() // untriaged | |
| 1981 static const int NEAREST_MIPMAP_LINEAR = 0x2702; | |
| 1982 | |
| 1983 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST') | |
| 1984 @DocsEditable() | |
| 1985 @Experimental() // untriaged | |
| 1986 static const int NEAREST_MIPMAP_NEAREST = 0x2700; | |
| 1987 | |
| 1988 @DomName('WebGLRenderingContextBase.NEVER') | |
| 1989 @DocsEditable() | |
| 1990 @Experimental() // untriaged | |
| 1991 static const int NEVER = 0x0200; | |
| 1992 | |
| 1993 @DomName('WebGLRenderingContextBase.NICEST') | |
| 1994 @DocsEditable() | |
| 1995 @Experimental() // untriaged | |
| 1996 static const int NICEST = 0x1102; | |
| 1997 | |
| 1998 @DomName('WebGLRenderingContextBase.NONE') | |
| 1999 @DocsEditable() | |
| 2000 @Experimental() // untriaged | |
| 2001 static const int NONE = 0; | |
| 2002 | |
| 2003 @DomName('WebGLRenderingContextBase.NOTEQUAL') | |
| 2004 @DocsEditable() | |
| 2005 @Experimental() // untriaged | |
| 2006 static const int NOTEQUAL = 0x0205; | |
| 2007 | |
| 2008 @DomName('WebGLRenderingContextBase.NO_ERROR') | |
| 2009 @DocsEditable() | |
| 2010 @Experimental() // untriaged | |
| 2011 static const int NO_ERROR = 0; | |
| 2012 | |
| 2013 @DomName('WebGLRenderingContextBase.ONE') | |
| 2014 @DocsEditable() | |
| 2015 @Experimental() // untriaged | |
| 2016 static const int ONE = 1; | |
| 2017 | |
| 2018 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA') | |
| 2019 @DocsEditable() | |
| 2020 @Experimental() // untriaged | |
| 2021 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; | |
| 2022 | |
| 2023 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR') | |
| 2024 @DocsEditable() | |
| 2025 @Experimental() // untriaged | |
| 2026 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; | |
| 2027 | |
| 2028 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA') | |
| 2029 @DocsEditable() | |
| 2030 @Experimental() // untriaged | |
| 2031 static const int ONE_MINUS_DST_ALPHA = 0x0305; | |
| 2032 | |
| 2033 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_COLOR') | |
| 2034 @DocsEditable() | |
| 2035 @Experimental() // untriaged | |
| 2036 static const int ONE_MINUS_DST_COLOR = 0x0307; | |
| 2037 | |
| 2038 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA') | |
| 2039 @DocsEditable() | |
| 2040 @Experimental() // untriaged | |
| 2041 static const int ONE_MINUS_SRC_ALPHA = 0x0303; | |
| 2042 | |
| 2043 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR') | |
| 2044 @DocsEditable() | |
| 2045 @Experimental() // untriaged | |
| 2046 static const int ONE_MINUS_SRC_COLOR = 0x0301; | |
| 2047 | |
| 2048 @DomName('WebGLRenderingContextBase.OUT_OF_MEMORY') | |
| 2049 @DocsEditable() | |
| 2050 @Experimental() // untriaged | |
| 2051 static const int OUT_OF_MEMORY = 0x0505; | |
| 2052 | |
| 2053 @DomName('WebGLRenderingContextBase.PACK_ALIGNMENT') | |
| 2054 @DocsEditable() | |
| 2055 @Experimental() // untriaged | |
| 2056 static const int PACK_ALIGNMENT = 0x0D05; | |
| 2057 | |
| 2058 @DomName('WebGLRenderingContextBase.POINTS') | |
| 2059 @DocsEditable() | |
| 2060 @Experimental() // untriaged | |
| 2061 static const int POINTS = 0x0000; | |
| 2062 | |
| 2063 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR') | |
| 2064 @DocsEditable() | |
| 2065 @Experimental() // untriaged | |
| 2066 static const int POLYGON_OFFSET_FACTOR = 0x8038; | |
| 2067 | |
| 2068 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FILL') | |
| 2069 @DocsEditable() | |
| 2070 @Experimental() // untriaged | |
| 2071 static const int POLYGON_OFFSET_FILL = 0x8037; | |
| 2072 | |
| 2073 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_UNITS') | |
| 2074 @DocsEditable() | |
| 2075 @Experimental() // untriaged | |
| 2076 static const int POLYGON_OFFSET_UNITS = 0x2A00; | |
| 2077 | |
| 2078 @DomName('WebGLRenderingContextBase.RED_BITS') | |
| 2079 @DocsEditable() | |
| 2080 @Experimental() // untriaged | |
| 2081 static const int RED_BITS = 0x0D52; | |
| 2082 | |
| 2083 @DomName('WebGLRenderingContextBase.RENDERBUFFER') | |
| 2084 @DocsEditable() | |
| 2085 @Experimental() // untriaged | |
| 2086 static const int RENDERBUFFER = 0x8D41; | |
| 2087 | |
| 2088 @DomName('WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE') | |
| 2089 @DocsEditable() | |
| 2090 @Experimental() // untriaged | |
| 2091 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; | |
| 2092 | |
| 2093 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BINDING') | |
| 2094 @DocsEditable() | |
| 2095 @Experimental() // untriaged | |
| 2096 static const int RENDERBUFFER_BINDING = 0x8CA7; | |
| 2097 | |
| 2098 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE') | |
| 2099 @DocsEditable() | |
| 2100 @Experimental() // untriaged | |
| 2101 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; | |
| 2102 | |
| 2103 @DomName('WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE') | |
| 2104 @DocsEditable() | |
| 2105 @Experimental() // untriaged | |
| 2106 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; | |
| 2107 | |
| 2108 @DomName('WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE') | |
| 2109 @DocsEditable() | |
| 2110 @Experimental() // untriaged | |
| 2111 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; | |
| 2112 | |
| 2113 @DomName('WebGLRenderingContextBase.RENDERBUFFER_HEIGHT') | |
| 2114 @DocsEditable() | |
| 2115 @Experimental() // untriaged | |
| 2116 static const int RENDERBUFFER_HEIGHT = 0x8D43; | |
| 2117 | |
| 2118 @DomName('WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT') | |
| 2119 @DocsEditable() | |
| 2120 @Experimental() // untriaged | |
| 2121 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; | |
| 2122 | |
| 2123 @DomName('WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE') | |
| 2124 @DocsEditable() | |
| 2125 @Experimental() // untriaged | |
| 2126 static const int RENDERBUFFER_RED_SIZE = 0x8D50; | |
| 2127 | |
| 2128 @DomName('WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE') | |
| 2129 @DocsEditable() | |
| 2130 @Experimental() // untriaged | |
| 2131 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; | |
| 2132 | |
| 2133 @DomName('WebGLRenderingContextBase.RENDERBUFFER_WIDTH') | |
| 2134 @DocsEditable() | |
| 2135 @Experimental() // untriaged | |
| 2136 static const int RENDERBUFFER_WIDTH = 0x8D42; | |
| 2137 | |
| 2138 @DomName('WebGLRenderingContextBase.RENDERER') | |
| 2139 @DocsEditable() | |
| 2140 @Experimental() // untriaged | |
| 2141 static const int RENDERER = 0x1F01; | |
| 2142 | |
| 2143 @DomName('WebGLRenderingContextBase.REPEAT') | |
| 2144 @DocsEditable() | |
| 2145 @Experimental() // untriaged | |
| 2146 static const int REPEAT = 0x2901; | |
| 2147 | |
| 2148 @DomName('WebGLRenderingContextBase.REPLACE') | |
| 2149 @DocsEditable() | |
| 2150 @Experimental() // untriaged | |
| 2151 static const int REPLACE = 0x1E01; | |
| 2152 | |
| 2153 @DomName('WebGLRenderingContextBase.RGB') | |
| 2154 @DocsEditable() | |
| 2155 @Experimental() // untriaged | |
| 2156 static const int RGB = 0x1907; | |
| 2157 | |
| 2158 @DomName('WebGLRenderingContextBase.RGB565') | |
| 2159 @DocsEditable() | |
| 2160 @Experimental() // untriaged | |
| 2161 static const int RGB565 = 0x8D62; | |
| 2162 | |
| 2163 @DomName('WebGLRenderingContextBase.RGB5_A1') | |
| 2164 @DocsEditable() | |
| 2165 @Experimental() // untriaged | |
| 2166 static const int RGB5_A1 = 0x8057; | |
| 2167 | |
| 2168 @DomName('WebGLRenderingContextBase.RGBA') | |
| 2169 @DocsEditable() | |
| 2170 @Experimental() // untriaged | |
| 2171 static const int RGBA = 0x1908; | |
| 2172 | |
| 2173 @DomName('WebGLRenderingContextBase.RGBA4') | |
| 2174 @DocsEditable() | |
| 2175 @Experimental() // untriaged | |
| 2176 static const int RGBA4 = 0x8056; | |
| 2177 | |
| 2178 @DomName('WebGLRenderingContextBase.SAMPLER_2D') | |
| 2179 @DocsEditable() | |
| 2180 @Experimental() // untriaged | |
| 2181 static const int SAMPLER_2D = 0x8B5E; | |
| 2182 | |
| 2183 @DomName('WebGLRenderingContextBase.SAMPLER_CUBE') | |
| 2184 @DocsEditable() | |
| 2185 @Experimental() // untriaged | |
| 2186 static const int SAMPLER_CUBE = 0x8B60; | |
| 2187 | |
| 2188 @DomName('WebGLRenderingContextBase.SAMPLES') | |
| 2189 @DocsEditable() | |
| 2190 @Experimental() // untriaged | |
| 2191 static const int SAMPLES = 0x80A9; | |
| 2192 | |
| 2193 @DomName('WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE') | |
| 2194 @DocsEditable() | |
| 2195 @Experimental() // untriaged | |
| 2196 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; | |
| 2197 | |
| 2198 @DomName('WebGLRenderingContextBase.SAMPLE_BUFFERS') | |
| 2199 @DocsEditable() | |
| 2200 @Experimental() // untriaged | |
| 2201 static const int SAMPLE_BUFFERS = 0x80A8; | |
| 2202 | |
| 2203 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE') | |
| 2204 @DocsEditable() | |
| 2205 @Experimental() // untriaged | |
| 2206 static const int SAMPLE_COVERAGE = 0x80A0; | |
| 2207 | |
| 2208 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT') | |
| 2209 @DocsEditable() | |
| 2210 @Experimental() // untriaged | |
| 2211 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; | |
| 2212 | |
| 2213 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE') | |
| 2214 @DocsEditable() | |
| 2215 @Experimental() // untriaged | |
| 2216 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; | |
| 2217 | |
| 2218 @DomName('WebGLRenderingContextBase.SCISSOR_BOX') | |
| 2219 @DocsEditable() | |
| 2220 @Experimental() // untriaged | |
| 2221 static const int SCISSOR_BOX = 0x0C10; | |
| 2222 | |
| 2223 @DomName('WebGLRenderingContextBase.SCISSOR_TEST') | |
| 2224 @DocsEditable() | |
| 2225 @Experimental() // untriaged | |
| 2226 static const int SCISSOR_TEST = 0x0C11; | |
| 2227 | |
| 2228 @DomName('WebGLRenderingContextBase.SHADER_TYPE') | |
| 2229 @DocsEditable() | |
| 2230 @Experimental() // untriaged | |
| 2231 static const int SHADER_TYPE = 0x8B4F; | |
| 2232 | |
| 2233 @DomName('WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION') | |
| 2234 @DocsEditable() | |
| 2235 @Experimental() // untriaged | |
| 2236 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; | |
| 2237 | |
| 2238 @DomName('WebGLRenderingContextBase.SHORT') | |
| 2239 @DocsEditable() | |
| 2240 @Experimental() // untriaged | |
| 2241 static const int SHORT = 0x1402; | |
| 2242 | |
| 2243 @DomName('WebGLRenderingContextBase.SRC_ALPHA') | |
| 2244 @DocsEditable() | |
| 2245 @Experimental() // untriaged | |
| 2246 static const int SRC_ALPHA = 0x0302; | |
| 2247 | |
| 2248 @DomName('WebGLRenderingContextBase.SRC_ALPHA_SATURATE') | |
| 2249 @DocsEditable() | |
| 2250 @Experimental() // untriaged | |
| 2251 static const int SRC_ALPHA_SATURATE = 0x0308; | |
| 2252 | |
| 2253 @DomName('WebGLRenderingContextBase.SRC_COLOR') | |
| 2254 @DocsEditable() | |
| 2255 @Experimental() // untriaged | |
| 2256 static const int SRC_COLOR = 0x0300; | |
| 2257 | |
| 2258 @DomName('WebGLRenderingContextBase.STATIC_DRAW') | |
| 2259 @DocsEditable() | |
| 2260 @Experimental() // untriaged | |
| 2261 static const int STATIC_DRAW = 0x88E4; | |
| 2262 | |
| 2263 @DomName('WebGLRenderingContextBase.STENCIL_ATTACHMENT') | |
| 2264 @DocsEditable() | |
| 2265 @Experimental() // untriaged | |
| 2266 static const int STENCIL_ATTACHMENT = 0x8D20; | |
| 2267 | |
| 2268 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FAIL') | |
| 2269 @DocsEditable() | |
| 2270 @Experimental() // untriaged | |
| 2271 static const int STENCIL_BACK_FAIL = 0x8801; | |
| 2272 | |
| 2273 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FUNC') | |
| 2274 @DocsEditable() | |
| 2275 @Experimental() // untriaged | |
| 2276 static const int STENCIL_BACK_FUNC = 0x8800; | |
| 2277 | |
| 2278 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL') | |
| 2279 @DocsEditable() | |
| 2280 @Experimental() // untriaged | |
| 2281 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; | |
| 2282 | |
| 2283 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS') | |
| 2284 @DocsEditable() | |
| 2285 @Experimental() // untriaged | |
| 2286 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; | |
| 2287 | |
| 2288 @DomName('WebGLRenderingContextBase.STENCIL_BACK_REF') | |
| 2289 @DocsEditable() | |
| 2290 @Experimental() // untriaged | |
| 2291 static const int STENCIL_BACK_REF = 0x8CA3; | |
| 2292 | |
| 2293 @DomName('WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK') | |
| 2294 @DocsEditable() | |
| 2295 @Experimental() // untriaged | |
| 2296 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; | |
| 2297 | |
| 2298 @DomName('WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK') | |
| 2299 @DocsEditable() | |
| 2300 @Experimental() // untriaged | |
| 2301 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; | |
| 2302 | |
| 2303 @DomName('WebGLRenderingContextBase.STENCIL_BITS') | |
| 2304 @DocsEditable() | |
| 2305 @Experimental() // untriaged | |
| 2306 static const int STENCIL_BITS = 0x0D57; | |
| 2307 | |
| 2308 @DomName('WebGLRenderingContextBase.STENCIL_BUFFER_BIT') | |
| 2309 @DocsEditable() | |
| 2310 @Experimental() // untriaged | |
| 2311 static const int STENCIL_BUFFER_BIT = 0x00000400; | |
| 2312 | |
| 2313 @DomName('WebGLRenderingContextBase.STENCIL_CLEAR_VALUE') | |
| 2314 @DocsEditable() | |
| 2315 @Experimental() // untriaged | |
| 2316 static const int STENCIL_CLEAR_VALUE = 0x0B91; | |
| 2317 | |
| 2318 @DomName('WebGLRenderingContextBase.STENCIL_FAIL') | |
| 2319 @DocsEditable() | |
| 2320 @Experimental() // untriaged | |
| 2321 static const int STENCIL_FAIL = 0x0B94; | |
| 2322 | |
| 2323 @DomName('WebGLRenderingContextBase.STENCIL_FUNC') | |
| 2324 @DocsEditable() | |
| 2325 @Experimental() // untriaged | |
| 2326 static const int STENCIL_FUNC = 0x0B92; | |
| 2327 | |
| 2328 @DomName('WebGLRenderingContextBase.STENCIL_INDEX') | |
| 2329 @DocsEditable() | |
| 2330 @Experimental() // untriaged | |
| 2331 static const int STENCIL_INDEX = 0x1901; | |
| 2332 | |
| 2333 @DomName('WebGLRenderingContextBase.STENCIL_INDEX8') | |
| 2334 @DocsEditable() | |
| 2335 @Experimental() // untriaged | |
| 2336 static const int STENCIL_INDEX8 = 0x8D48; | |
| 2337 | |
| 2338 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL') | |
| 2339 @DocsEditable() | |
| 2340 @Experimental() // untriaged | |
| 2341 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; | |
| 2342 | |
| 2343 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS') | |
| 2344 @DocsEditable() | |
| 2345 @Experimental() // untriaged | |
| 2346 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; | |
| 2347 | |
| 2348 @DomName('WebGLRenderingContextBase.STENCIL_REF') | |
| 2349 @DocsEditable() | |
| 2350 @Experimental() // untriaged | |
| 2351 static const int STENCIL_REF = 0x0B97; | |
| 2352 | |
| 2353 @DomName('WebGLRenderingContextBase.STENCIL_TEST') | |
| 2354 @DocsEditable() | |
| 2355 @Experimental() // untriaged | |
| 2356 static const int STENCIL_TEST = 0x0B90; | |
| 2357 | |
| 2358 @DomName('WebGLRenderingContextBase.STENCIL_VALUE_MASK') | |
| 2359 @DocsEditable() | |
| 2360 @Experimental() // untriaged | |
| 2361 static const int STENCIL_VALUE_MASK = 0x0B93; | |
| 2362 | |
| 2363 @DomName('WebGLRenderingContextBase.STENCIL_WRITEMASK') | |
| 2364 @DocsEditable() | |
| 2365 @Experimental() // untriaged | |
| 2366 static const int STENCIL_WRITEMASK = 0x0B98; | |
| 2367 | |
| 2368 @DomName('WebGLRenderingContextBase.STREAM_DRAW') | |
| 2369 @DocsEditable() | |
| 2370 @Experimental() // untriaged | |
| 2371 static const int STREAM_DRAW = 0x88E0; | |
| 2372 | |
| 2373 @DomName('WebGLRenderingContextBase.SUBPIXEL_BITS') | |
| 2374 @DocsEditable() | |
| 2375 @Experimental() // untriaged | |
| 2376 static const int SUBPIXEL_BITS = 0x0D50; | |
| 2377 | |
| 2378 @DomName('WebGLRenderingContextBase.TEXTURE') | |
| 2379 @DocsEditable() | |
| 2380 @Experimental() // untriaged | |
| 2381 static const int TEXTURE = 0x1702; | |
| 2382 | |
| 2383 @DomName('WebGLRenderingContextBase.TEXTURE0') | |
| 2384 @DocsEditable() | |
| 2385 @Experimental() // untriaged | |
| 2386 static const int TEXTURE0 = 0x84C0; | |
| 2387 | |
| 2388 @DomName('WebGLRenderingContextBase.TEXTURE1') | |
| 2389 @DocsEditable() | |
| 2390 @Experimental() // untriaged | |
| 2391 static const int TEXTURE1 = 0x84C1; | |
| 2392 | |
| 2393 @DomName('WebGLRenderingContextBase.TEXTURE10') | |
| 2394 @DocsEditable() | |
| 2395 @Experimental() // untriaged | |
| 2396 static const int TEXTURE10 = 0x84CA; | |
| 2397 | |
| 2398 @DomName('WebGLRenderingContextBase.TEXTURE11') | |
| 2399 @DocsEditable() | |
| 2400 @Experimental() // untriaged | |
| 2401 static const int TEXTURE11 = 0x84CB; | |
| 2402 | |
| 2403 @DomName('WebGLRenderingContextBase.TEXTURE12') | |
| 2404 @DocsEditable() | |
| 2405 @Experimental() // untriaged | |
| 2406 static const int TEXTURE12 = 0x84CC; | |
| 2407 | |
| 2408 @DomName('WebGLRenderingContextBase.TEXTURE13') | |
| 2409 @DocsEditable() | |
| 2410 @Experimental() // untriaged | |
| 2411 static const int TEXTURE13 = 0x84CD; | |
| 2412 | |
| 2413 @DomName('WebGLRenderingContextBase.TEXTURE14') | |
| 2414 @DocsEditable() | |
| 2415 @Experimental() // untriaged | |
| 2416 static const int TEXTURE14 = 0x84CE; | |
| 2417 | |
| 2418 @DomName('WebGLRenderingContextBase.TEXTURE15') | |
| 2419 @DocsEditable() | |
| 2420 @Experimental() // untriaged | |
| 2421 static const int TEXTURE15 = 0x84CF; | |
| 2422 | |
| 2423 @DomName('WebGLRenderingContextBase.TEXTURE16') | |
| 2424 @DocsEditable() | |
| 2425 @Experimental() // untriaged | |
| 2426 static const int TEXTURE16 = 0x84D0; | |
| 2427 | |
| 2428 @DomName('WebGLRenderingContextBase.TEXTURE17') | |
| 2429 @DocsEditable() | |
| 2430 @Experimental() // untriaged | |
| 2431 static const int TEXTURE17 = 0x84D1; | |
| 2432 | |
| 2433 @DomName('WebGLRenderingContextBase.TEXTURE18') | |
| 2434 @DocsEditable() | |
| 2435 @Experimental() // untriaged | |
| 2436 static const int TEXTURE18 = 0x84D2; | |
| 2437 | |
| 2438 @DomName('WebGLRenderingContextBase.TEXTURE19') | |
| 2439 @DocsEditable() | |
| 2440 @Experimental() // untriaged | |
| 2441 static const int TEXTURE19 = 0x84D3; | |
| 2442 | |
| 2443 @DomName('WebGLRenderingContextBase.TEXTURE2') | |
| 2444 @DocsEditable() | |
| 2445 @Experimental() // untriaged | |
| 2446 static const int TEXTURE2 = 0x84C2; | |
| 2447 | |
| 2448 @DomName('WebGLRenderingContextBase.TEXTURE20') | |
| 2449 @DocsEditable() | |
| 2450 @Experimental() // untriaged | |
| 2451 static const int TEXTURE20 = 0x84D4; | |
| 2452 | |
| 2453 @DomName('WebGLRenderingContextBase.TEXTURE21') | |
| 2454 @DocsEditable() | |
| 2455 @Experimental() // untriaged | |
| 2456 static const int TEXTURE21 = 0x84D5; | |
| 2457 | |
| 2458 @DomName('WebGLRenderingContextBase.TEXTURE22') | |
| 2459 @DocsEditable() | |
| 2460 @Experimental() // untriaged | |
| 2461 static const int TEXTURE22 = 0x84D6; | |
| 2462 | |
| 2463 @DomName('WebGLRenderingContextBase.TEXTURE23') | |
| 2464 @DocsEditable() | |
| 2465 @Experimental() // untriaged | |
| 2466 static const int TEXTURE23 = 0x84D7; | |
| 2467 | |
| 2468 @DomName('WebGLRenderingContextBase.TEXTURE24') | |
| 2469 @DocsEditable() | |
| 2470 @Experimental() // untriaged | |
| 2471 static const int TEXTURE24 = 0x84D8; | |
| 2472 | |
| 2473 @DomName('WebGLRenderingContextBase.TEXTURE25') | |
| 2474 @DocsEditable() | |
| 2475 @Experimental() // untriaged | |
| 2476 static const int TEXTURE25 = 0x84D9; | |
| 2477 | |
| 2478 @DomName('WebGLRenderingContextBase.TEXTURE26') | |
| 2479 @DocsEditable() | |
| 2480 @Experimental() // untriaged | |
| 2481 static const int TEXTURE26 = 0x84DA; | |
| 2482 | |
| 2483 @DomName('WebGLRenderingContextBase.TEXTURE27') | |
| 2484 @DocsEditable() | |
| 2485 @Experimental() // untriaged | |
| 2486 static const int TEXTURE27 = 0x84DB; | |
| 2487 | |
| 2488 @DomName('WebGLRenderingContextBase.TEXTURE28') | |
| 2489 @DocsEditable() | |
| 2490 @Experimental() // untriaged | |
| 2491 static const int TEXTURE28 = 0x84DC; | |
| 2492 | |
| 2493 @DomName('WebGLRenderingContextBase.TEXTURE29') | |
| 2494 @DocsEditable() | |
| 2495 @Experimental() // untriaged | |
| 2496 static const int TEXTURE29 = 0x84DD; | |
| 2497 | |
| 2498 @DomName('WebGLRenderingContextBase.TEXTURE3') | |
| 2499 @DocsEditable() | |
| 2500 @Experimental() // untriaged | |
| 2501 static const int TEXTURE3 = 0x84C3; | |
| 2502 | |
| 2503 @DomName('WebGLRenderingContextBase.TEXTURE30') | |
| 2504 @DocsEditable() | |
| 2505 @Experimental() // untriaged | |
| 2506 static const int TEXTURE30 = 0x84DE; | |
| 2507 | |
| 2508 @DomName('WebGLRenderingContextBase.TEXTURE31') | |
| 2509 @DocsEditable() | |
| 2510 @Experimental() // untriaged | |
| 2511 static const int TEXTURE31 = 0x84DF; | |
| 2512 | |
| 2513 @DomName('WebGLRenderingContextBase.TEXTURE4') | |
| 2514 @DocsEditable() | |
| 2515 @Experimental() // untriaged | |
| 2516 static const int TEXTURE4 = 0x84C4; | |
| 2517 | |
| 2518 @DomName('WebGLRenderingContextBase.TEXTURE5') | |
| 2519 @DocsEditable() | |
| 2520 @Experimental() // untriaged | |
| 2521 static const int TEXTURE5 = 0x84C5; | |
| 2522 | |
| 2523 @DomName('WebGLRenderingContextBase.TEXTURE6') | |
| 2524 @DocsEditable() | |
| 2525 @Experimental() // untriaged | |
| 2526 static const int TEXTURE6 = 0x84C6; | |
| 2527 | |
| 2528 @DomName('WebGLRenderingContextBase.TEXTURE7') | |
| 2529 @DocsEditable() | |
| 2530 @Experimental() // untriaged | |
| 2531 static const int TEXTURE7 = 0x84C7; | |
| 2532 | |
| 2533 @DomName('WebGLRenderingContextBase.TEXTURE8') | |
| 2534 @DocsEditable() | |
| 2535 @Experimental() // untriaged | |
| 2536 static const int TEXTURE8 = 0x84C8; | |
| 2537 | |
| 2538 @DomName('WebGLRenderingContextBase.TEXTURE9') | |
| 2539 @DocsEditable() | |
| 2540 @Experimental() // untriaged | |
| 2541 static const int TEXTURE9 = 0x84C9; | |
| 2542 | |
| 2543 @DomName('WebGLRenderingContextBase.TEXTURE_2D') | |
| 2544 @DocsEditable() | |
| 2545 @Experimental() // untriaged | |
| 2546 static const int TEXTURE_2D = 0x0DE1; | |
| 2547 | |
| 2548 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_2D') | |
| 2549 @DocsEditable() | |
| 2550 @Experimental() // untriaged | |
| 2551 static const int TEXTURE_BINDING_2D = 0x8069; | |
| 2552 | |
| 2553 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP') | |
| 2554 @DocsEditable() | |
| 2555 @Experimental() // untriaged | |
| 2556 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; | |
| 2557 | |
| 2558 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP') | |
| 2559 @DocsEditable() | |
| 2560 @Experimental() // untriaged | |
| 2561 static const int TEXTURE_CUBE_MAP = 0x8513; | |
| 2562 | |
| 2563 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X') | |
| 2564 @DocsEditable() | |
| 2565 @Experimental() // untriaged | |
| 2566 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; | |
| 2567 | |
| 2568 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y') | |
| 2569 @DocsEditable() | |
| 2570 @Experimental() // untriaged | |
| 2571 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; | |
| 2572 | |
| 2573 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z') | |
| 2574 @DocsEditable() | |
| 2575 @Experimental() // untriaged | |
| 2576 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; | |
| 2577 | |
| 2578 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X') | |
| 2579 @DocsEditable() | |
| 2580 @Experimental() // untriaged | |
| 2581 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; | |
| 2582 | |
| 2583 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y') | |
| 2584 @DocsEditable() | |
| 2585 @Experimental() // untriaged | |
| 2586 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; | |
| 2587 | |
| 2588 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z') | |
| 2589 @DocsEditable() | |
| 2590 @Experimental() // untriaged | |
| 2591 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; | |
| 2592 | |
| 2593 @DomName('WebGLRenderingContextBase.TEXTURE_MAG_FILTER') | |
| 2594 @DocsEditable() | |
| 2595 @Experimental() // untriaged | |
| 2596 static const int TEXTURE_MAG_FILTER = 0x2800; | |
| 2597 | |
| 2598 @DomName('WebGLRenderingContextBase.TEXTURE_MIN_FILTER') | |
| 2599 @DocsEditable() | |
| 2600 @Experimental() // untriaged | |
| 2601 static const int TEXTURE_MIN_FILTER = 0x2801; | |
| 2602 | |
| 2603 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_S') | |
| 2604 @DocsEditable() | |
| 2605 @Experimental() // untriaged | |
| 2606 static const int TEXTURE_WRAP_S = 0x2802; | |
| 2607 | |
| 2608 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_T') | |
| 2609 @DocsEditable() | |
| 2610 @Experimental() // untriaged | |
| 2611 static const int TEXTURE_WRAP_T = 0x2803; | |
| 2612 | |
| 2613 @DomName('WebGLRenderingContextBase.TRIANGLES') | |
| 2614 @DocsEditable() | |
| 2615 @Experimental() // untriaged | |
| 2616 static const int TRIANGLES = 0x0004; | |
| 2617 | |
| 2618 @DomName('WebGLRenderingContextBase.TRIANGLE_FAN') | |
| 2619 @DocsEditable() | |
| 2620 @Experimental() // untriaged | |
| 2621 static const int TRIANGLE_FAN = 0x0006; | |
| 2622 | |
| 2623 @DomName('WebGLRenderingContextBase.TRIANGLE_STRIP') | |
| 2624 @DocsEditable() | |
| 2625 @Experimental() // untriaged | |
| 2626 static const int TRIANGLE_STRIP = 0x0005; | |
| 2627 | |
| 2628 @DomName('WebGLRenderingContextBase.UNPACK_ALIGNMENT') | |
| 2629 @DocsEditable() | |
| 2630 @Experimental() // untriaged | |
| 2631 static const int UNPACK_ALIGNMENT = 0x0CF5; | |
| 2632 | |
| 2633 @DomName('WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL') | |
| 2634 @DocsEditable() | |
| 2635 @Experimental() // untriaged | |
| 2636 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | |
| 2637 | |
| 2638 @DomName('WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL') | |
| 2639 @DocsEditable() | |
| 2640 @Experimental() // untriaged | |
| 2641 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; | |
| 2642 | |
| 2643 @DomName('WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL') | |
| 2644 @DocsEditable() | |
| 2645 @Experimental() // untriaged | |
| 2646 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | |
| 2647 | |
| 2648 @DomName('WebGLRenderingContextBase.UNSIGNED_BYTE') | |
| 2649 @DocsEditable() | |
| 2650 @Experimental() // untriaged | |
| 2651 static const int UNSIGNED_BYTE = 0x1401; | |
| 2652 | |
| 2653 @DomName('WebGLRenderingContextBase.UNSIGNED_INT') | |
| 2654 @DocsEditable() | |
| 2655 @Experimental() // untriaged | |
| 2656 static const int UNSIGNED_INT = 0x1405; | |
| 2657 | |
| 2658 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT') | |
| 2659 @DocsEditable() | |
| 2660 @Experimental() // untriaged | |
| 2661 static const int UNSIGNED_SHORT = 0x1403; | |
| 2662 | |
| 2663 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4') | |
| 2664 @DocsEditable() | |
| 2665 @Experimental() // untriaged | |
| 2666 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; | |
| 2667 | |
| 2668 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1') | |
| 2669 @DocsEditable() | |
| 2670 @Experimental() // untriaged | |
| 2671 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; | |
| 2672 | |
| 2673 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5') | |
| 2674 @DocsEditable() | |
| 2675 @Experimental() // untriaged | |
| 2676 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; | |
| 2677 | |
| 2678 @DomName('WebGLRenderingContextBase.VALIDATE_STATUS') | |
| 2679 @DocsEditable() | |
| 2680 @Experimental() // untriaged | |
| 2681 static const int VALIDATE_STATUS = 0x8B83; | |
| 2682 | |
| 2683 @DomName('WebGLRenderingContextBase.VENDOR') | |
| 2684 @DocsEditable() | |
| 2685 @Experimental() // untriaged | |
| 2686 static const int VENDOR = 0x1F00; | |
| 2687 | |
| 2688 @DomName('WebGLRenderingContextBase.VERSION') | |
| 2689 @DocsEditable() | |
| 2690 @Experimental() // untriaged | |
| 2691 static const int VERSION = 0x1F02; | |
| 2692 | |
| 2693 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') | |
| 2694 @DocsEditable() | |
| 2695 @Experimental() // untriaged | |
| 2696 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; | |
| 2697 | |
| 2698 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED') | |
| 2699 @DocsEditable() | |
| 2700 @Experimental() // untriaged | |
| 2701 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; | |
| 2702 | |
| 2703 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED') | |
| 2704 @DocsEditable() | |
| 2705 @Experimental() // untriaged | |
| 2706 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; | |
| 2707 | |
| 2708 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER') | |
| 2709 @DocsEditable() | |
| 2710 @Experimental() // untriaged | |
| 2711 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; | |
| 2712 | |
| 2713 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE') | |
| 2714 @DocsEditable() | |
| 2715 @Experimental() // untriaged | |
| 2716 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; | |
| 2717 | |
| 2718 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE') | |
| 2719 @DocsEditable() | |
| 2720 @Experimental() // untriaged | |
| 2721 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | |
| 2722 | |
| 2723 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE') | |
| 2724 @DocsEditable() | |
| 2725 @Experimental() // untriaged | |
| 2726 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | |
| 2727 | |
| 2728 @DomName('WebGLRenderingContextBase.VERTEX_SHADER') | |
| 2729 @DocsEditable() | |
| 2730 @Experimental() // untriaged | |
| 2731 static const int VERTEX_SHADER = 0x8B31; | |
| 2732 | |
| 2733 @DomName('WebGLRenderingContextBase.VIEWPORT') | |
| 2734 @DocsEditable() | |
| 2735 @Experimental() // untriaged | |
| 2736 static const int VIEWPORT = 0x0BA2; | |
| 2737 | |
| 2738 @DomName('WebGLRenderingContextBase.ZERO') | |
| 2739 @DocsEditable() | |
| 2740 @Experimental() // untriaged | |
| 2741 static const int ZERO = 0; | |
| 2742 | |
| 2743 @DomName('WebGLRenderingContextBase.canvas') | |
| 2744 @DocsEditable() | |
| 2745 @Experimental() // untriaged | |
| 2746 CanvasElement get canvas => _blink.BlinkWebGLRenderingContextBase.canvas_Gette
r(this); | |
| 2747 | |
| 2748 @DomName('WebGLRenderingContextBase.drawingBufferHeight') | |
| 2749 @DocsEditable() | |
| 2750 @Experimental() // untriaged | |
| 2751 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContextBase.drawingBu
fferHeight_Getter(this); | |
| 2752 | |
| 2753 @DomName('WebGLRenderingContextBase.drawingBufferWidth') | |
| 2754 @DocsEditable() | |
| 2755 @Experimental() // untriaged | |
| 2756 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContextBase.drawingBuf
ferWidth_Getter(this); | |
| 2757 | |
| 2758 @DomName('WebGLRenderingContextBase.activeTexture') | |
| 2759 @DocsEditable() | |
| 2760 @Experimental() // untriaged | |
| 2761 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContextBase.activ
eTexture_Callback_ul(this, texture); | |
| 2762 | |
| 2763 @DomName('WebGLRenderingContextBase.attachShader') | |
| 2764 @DocsEditable() | |
| 2765 @Experimental() // untriaged | |
| 2766 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContextBase.attachShader_Callback_WebGLProgram_WebGLShader(this, program, shade
r); | |
| 2767 | |
| 2768 @DomName('WebGLRenderingContextBase.bindAttribLocation') | |
| 2769 @DocsEditable() | |
| 2770 @Experimental() // untriaged | |
| 2771 void bindAttribLocation(Program program, int index, String name) => _blink.Bli
nkWebGLRenderingContextBase.bindAttribLocation_Callback_WebGLProgram_ul_DOMStrin
g(this, program, index, name); | |
| 2772 | |
| 2773 @DomName('WebGLRenderingContextBase.bindBuffer') | |
| 2774 @DocsEditable() | |
| 2775 @Experimental() // untriaged | |
| 2776 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex
tBase.bindBuffer_Callback_ul_WebGLBuffer(this, target, buffer); | |
| 2777 | |
| 2778 @DomName('WebGLRenderingContextBase.bindFramebuffer') | |
| 2779 @DocsEditable() | |
| 2780 @Experimental() // untriaged | |
| 2781 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL
RenderingContextBase.bindFramebuffer_Callback_ul_WebGLFramebuffer(this, target,
framebuffer); | |
| 2782 | |
| 2783 @DomName('WebGLRenderingContextBase.bindRenderbuffer') | |
| 2784 @DocsEditable() | |
| 2785 @Experimental() // untriaged | |
| 2786 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe
bGLRenderingContextBase.bindRenderbuffer_Callback_ul_WebGLRenderbuffer(this, tar
get, renderbuffer); | |
| 2787 | |
| 2788 @DomName('WebGLRenderingContextBase.bindTexture') | |
| 2789 @DocsEditable() | |
| 2790 @Experimental() // untriaged | |
| 2791 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon
textBase.bindTexture_Callback_ul_WebGLTexture(this, target, texture); | |
| 2792 | |
| 2793 @DomName('WebGLRenderingContextBase.blendColor') | |
| 2794 @DocsEditable() | |
| 2795 @Experimental() // untriaged | |
| 2796 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContextBase.blendColor_Callback_float_float_float_float(this, red, green
, blue, alpha); | |
| 2797 | |
| 2798 @DomName('WebGLRenderingContextBase.blendEquation') | |
| 2799 @DocsEditable() | |
| 2800 @Experimental() // untriaged | |
| 2801 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContextBase.blendEqu
ation_Callback_ul(this, mode); | |
| 2802 | |
| 2803 @DomName('WebGLRenderingContextBase.blendEquationSeparate') | |
| 2804 @DocsEditable() | |
| 2805 @Experimental() // untriaged | |
| 2806 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen
deringContextBase.blendEquationSeparate_Callback_ul_ul(this, modeRGB, modeAlpha)
; | |
| 2807 | |
| 2808 @DomName('WebGLRenderingContextBase.blendFunc') | |
| 2809 @DocsEditable() | |
| 2810 @Experimental() // untriaged | |
| 2811 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContextB
ase.blendFunc_Callback_ul_ul(this, sfactor, dfactor); | |
| 2812 | |
| 2813 @DomName('WebGLRenderingContextBase.blendFuncSeparate') | |
| 2814 @DocsEditable() | |
| 2815 @Experimental() // untriaged | |
| 2816 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.BlinkWebGLRenderingContextBase.blendFuncSeparate_Callback_ul_ul_ul_ul(thi
s, srcRGB, dstRGB, srcAlpha, dstAlpha); | |
| 2817 | 1243 |
| 2818 void bufferData(int target, data_OR_size, int usage) { | 1244 void bufferData(int target, data_OR_size, int usage) { |
| 2819 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size
== null) && (target is int || target == null)) { | 1245 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size
== null) && (target is int || target == null)) { |
| 2820 _blink.BlinkWebGLRenderingContextBase.bufferData_Callback_ul_ll_ul(this, t
arget, data_OR_size, usage); | 1246 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ll_ul(this, targe
t, data_OR_size, usage); |
| 2821 return; | 1247 return; |
| 2822 } | 1248 } |
| 2823 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR
_size == null) && (target is int || target == null)) { | 1249 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR
_size == null) && (target is int || target == null)) { |
| 2824 _blink.BlinkWebGLRenderingContextBase.bufferData_Callback_ul_ArrayBufferVi
ew_ul(this, target, data_OR_size, usage); | 1250 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ArrayBufferView_u
l(this, target, data_OR_size, usage); |
| 2825 return; | 1251 return; |
| 2826 } | 1252 } |
| 2827 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O
R_size == null) && (target is int || target == null)) { | 1253 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O
R_size == null) && (target is int || target == null)) { |
| 2828 _blink.BlinkWebGLRenderingContextBase.bufferData_Callback_ul_ArrayBuffer_u
l(this, target, data_OR_size, usage); | 1254 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ArrayBuffer_ul(th
is, target, data_OR_size, usage); |
| 2829 return; | 1255 return; |
| 2830 } | 1256 } |
| 2831 throw new ArgumentError("Incorrect number or type of arguments"); | 1257 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2832 } | 1258 } |
| 2833 | 1259 |
| 2834 void bufferSubData(int target, int offset, data) { | 1260 void bufferSubData(int target, int offset, data) { |
| 2835 if ((data is TypedData || data == null) && (offset is int || offset == null)
&& (target is int || target == null)) { | 1261 if ((data is TypedData || data == null) && (offset is int || offset == null)
&& (target is int || target == null)) { |
| 2836 _blink.BlinkWebGLRenderingContextBase.bufferSubData_Callback_ul_ll_ArrayBu
fferView(this, target, offset, data); | 1262 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer
View(this, target, offset, data); |
| 2837 return; | 1263 return; |
| 2838 } | 1264 } |
| 2839 if ((data is ByteBuffer || data == null) && (offset is int || offset == null
) && (target is int || target == null)) { | 1265 if ((data is ByteBuffer || data == null) && (offset is int || offset == null
) && (target is int || target == null)) { |
| 2840 _blink.BlinkWebGLRenderingContextBase.bufferSubData_Callback_ul_ll_ArrayBu
ffer(this, target, offset, data); | 1266 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer
(this, target, offset, data); |
| 2841 return; | 1267 return; |
| 2842 } | 1268 } |
| 2843 throw new ArgumentError("Incorrect number or type of arguments"); | 1269 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2844 } | 1270 } |
| 2845 | 1271 |
| 2846 @DomName('WebGLRenderingContextBase.checkFramebufferStatus') | 1272 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 2847 @DocsEditable() | 1273 @DocsEditable() |
| 2848 @Experimental() // untriaged | 1274 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.ch
eckFramebufferStatus_Callback_ul(this, target); |
| 2849 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContextBas
e.checkFramebufferStatus_Callback_ul(this, target); | 1275 |
| 2850 | 1276 @DomName('WebGLRenderingContext.clear') |
| 2851 @DomName('WebGLRenderingContextBase.clear') | 1277 @DocsEditable() |
| 2852 @DocsEditable() | 1278 void clear(int mask) => _blink.BlinkWebGLRenderingContext.clear_Callback_ul(th
is, mask); |
| 2853 @Experimental() // untriaged | 1279 |
| 2854 void clear(int mask) => _blink.BlinkWebGLRenderingContextBase.clear_Callback_u
l(this, mask); | 1280 @DomName('WebGLRenderingContext.clearColor') |
| 2855 | 1281 @DocsEditable() |
| 2856 @DomName('WebGLRenderingContextBase.clearColor') | 1282 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContext.clearColor_Callback_float_float_float_float(this, red, green, bl
ue, alpha); |
| 2857 @DocsEditable() | 1283 |
| 2858 @Experimental() // untriaged | 1284 @DomName('WebGLRenderingContext.clearDepth') |
| 2859 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR
enderingContextBase.clearColor_Callback_float_float_float_float(this, red, green
, blue, alpha); | 1285 @DocsEditable() |
| 2860 | 1286 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.clearDepth_Cal
lback_float(this, depth); |
| 2861 @DomName('WebGLRenderingContextBase.clearDepth') | 1287 |
| 2862 @DocsEditable() | 1288 @DomName('WebGLRenderingContext.clearStencil') |
| 2863 @Experimental() // untriaged | 1289 @DocsEditable() |
| 2864 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContextBase.clearDepth
_Callback_float(this, depth); | 1290 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.clearStencil_Cal
lback_long(this, s); |
| 2865 | 1291 |
| 2866 @DomName('WebGLRenderingContextBase.clearStencil') | 1292 @DomName('WebGLRenderingContext.colorMask') |
| 2867 @DocsEditable() | 1293 @DocsEditable() |
| 2868 @Experimental() // untriaged | 1294 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb
GLRenderingContext.colorMask_Callback_boolean_boolean_boolean_boolean(this, red,
green, blue, alpha); |
| 2869 void clearStencil(int s) => _blink.BlinkWebGLRenderingContextBase.clearStencil
_Callback_long(this, s); | 1295 |
| 2870 | 1296 @DomName('WebGLRenderingContext.compileShader') |
| 2871 @DomName('WebGLRenderingContextBase.colorMask') | 1297 @DocsEditable() |
| 2872 @DocsEditable() | 1298 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.compile
Shader_Callback_WebGLShader(this, shader); |
| 2873 @Experimental() // untriaged | 1299 |
| 2874 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb
GLRenderingContextBase.colorMask_Callback_boolean_boolean_boolean_boolean(this,
red, green, blue, alpha); | 1300 @DomName('WebGLRenderingContext.compressedTexImage2D') |
| 2875 | 1301 @DocsEditable() |
| 2876 @DomName('WebGLRenderingContextBase.compileShader') | 1302 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.c
ompressedTexImage2D_Callback_ul_long_ul_long_long_long_ArrayBufferView(this, tar
get, level, internalformat, width, height, border, data); |
| 2877 @DocsEditable() | 1303 |
| 2878 @Experimental() // untriaged | 1304 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
| 2879 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContextBase.com
pileShader_Callback_WebGLShader(this, shader); | 1305 @DocsEditable() |
| 2880 | 1306 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering
Context.compressedTexSubImage2D_Callback_ul_long_long_long_long_long_ul_ArrayBuf
ferView(this, target, level, xoffset, yoffset, width, height, format, data); |
| 2881 @DomName('WebGLRenderingContextBase.compressedTexImage2D') | 1307 |
| 2882 @DocsEditable() | 1308 @DomName('WebGLRenderingContext.copyTexImage2D') |
| 2883 @Experimental() // untriaged | 1309 @DocsEditable() |
| 2884 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContextBa
se.compressedTexImage2D_Callback_ul_long_ul_long_long_long_ArrayBufferView(this,
target, level, internalformat, width, height, border, data); | 1310 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.copyTexIm
age2D_Callback_ul_long_ul_long_long_long_long_long(this, target, level, internal
format, x, y, width, height, border); |
| 2885 | 1311 |
| 2886 @DomName('WebGLRenderingContextBase.compressedTexSubImage2D') | 1312 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
| 2887 @DocsEditable() | 1313 @DocsEditable() |
| 2888 @Experimental() // untriaged | 1314 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.BlinkWebGLRenderingContext.copyTexSubIm
age2D_Callback_ul_long_long_long_long_long_long_long(this, target, level, xoffse
t, yoffset, x, y, width, height); |
| 2889 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering
ContextBase.compressedTexSubImage2D_Callback_ul_long_long_long_long_long_ul_Arra
yBufferView(this, target, level, xoffset, yoffset, width, height, format, data); | 1315 |
| 2890 | 1316 @DomName('WebGLRenderingContext.createBuffer') |
| 2891 @DomName('WebGLRenderingContextBase.copyTexImage2D') | 1317 @DocsEditable() |
| 2892 @DocsEditable() | 1318 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.createBuffer_Callba
ck(this); |
| 2893 @Experimental() // untriaged | 1319 |
| 2894 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.BlinkWebGLRenderingContextBase.copyT
exImage2D_Callback_ul_long_ul_long_long_long_long_long(this, target, level, inte
rnalformat, x, y, width, height, border); | 1320 @DomName('WebGLRenderingContext.createFramebuffer') |
| 2895 | 1321 @DocsEditable() |
| 2896 @DomName('WebGLRenderingContextBase.copyTexSubImage2D') | 1322 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.createFra
mebuffer_Callback(this); |
| 2897 @DocsEditable() | 1323 |
| 2898 @Experimental() // untriaged | 1324 @DomName('WebGLRenderingContext.createProgram') |
| 2899 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.BlinkWebGLRenderingContextBase.copyTexS
ubImage2D_Callback_ul_long_long_long_long_long_long_long(this, target, level, xo
ffset, yoffset, x, y, width, height); | 1325 @DocsEditable() |
| 2900 | 1326 Program createProgram() => _blink.BlinkWebGLRenderingContext.createProgram_Cal
lback(this); |
| 2901 @DomName('WebGLRenderingContextBase.createBuffer') | 1327 |
| 2902 @DocsEditable() | 1328 @DomName('WebGLRenderingContext.createRenderbuffer') |
| 2903 @Experimental() // untriaged | 1329 @DocsEditable() |
| 2904 Buffer createBuffer() => _blink.BlinkWebGLRenderingContextBase.createBuffer_Ca
llback(this); | 1330 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.createR
enderbuffer_Callback(this); |
| 2905 | 1331 |
| 2906 @DomName('WebGLRenderingContextBase.createFramebuffer') | 1332 @DomName('WebGLRenderingContext.createShader') |
| 2907 @DocsEditable() | 1333 @DocsEditable() |
| 2908 @Experimental() // untriaged | 1334 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.createShade
r_Callback_ul(this, type); |
| 2909 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContextBase.creat
eFramebuffer_Callback(this); | 1335 |
| 2910 | 1336 @DomName('WebGLRenderingContext.createTexture') |
| 2911 @DomName('WebGLRenderingContextBase.createProgram') | 1337 @DocsEditable() |
| 2912 @DocsEditable() | 1338 Texture createTexture() => _blink.BlinkWebGLRenderingContext.createTexture_Cal
lback(this); |
| 2913 @Experimental() // untriaged | 1339 |
| 2914 Program createProgram() => _blink.BlinkWebGLRenderingContextBase.createProgram
_Callback(this); | 1340 @DomName('WebGLRenderingContext.cullFace') |
| 2915 | 1341 @DocsEditable() |
| 2916 @DomName('WebGLRenderingContextBase.createRenderbuffer') | 1342 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.cullFace_Callback
_ul(this, mode); |
| 2917 @DocsEditable() | 1343 |
| 2918 @Experimental() // untriaged | 1344 @DomName('WebGLRenderingContext.deleteBuffer') |
| 2919 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContextBase.cre
ateRenderbuffer_Callback(this); | 1345 @DocsEditable() |
| 2920 | 1346 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.deleteBu
ffer_Callback_WebGLBuffer(this, buffer); |
| 2921 @DomName('WebGLRenderingContextBase.createShader') | 1347 |
| 2922 @DocsEditable() | 1348 @DomName('WebGLRenderingContext.deleteFramebuffer') |
| 2923 @Experimental() // untriaged | 1349 @DocsEditable() |
| 2924 Shader createShader(int type) => _blink.BlinkWebGLRenderingContextBase.createS
hader_Callback_ul(this, type); | 1350 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC
ontext.deleteFramebuffer_Callback_WebGLFramebuffer(this, framebuffer); |
| 2925 | 1351 |
| 2926 @DomName('WebGLRenderingContextBase.createTexture') | 1352 @DomName('WebGLRenderingContext.deleteProgram') |
| 2927 @DocsEditable() | 1353 @DocsEditable() |
| 2928 @Experimental() // untriaged | 1354 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.delet
eProgram_Callback_WebGLProgram(this, program); |
| 2929 Texture createTexture() => _blink.BlinkWebGLRenderingContextBase.createTexture
_Callback(this); | 1355 |
| 2930 | 1356 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
| 2931 @DomName('WebGLRenderingContextBase.cullFace') | 1357 @DocsEditable() |
| 2932 @DocsEditable() | 1358 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi
ngContext.deleteRenderbuffer_Callback_WebGLRenderbuffer(this, renderbuffer); |
| 2933 @Experimental() // untriaged | 1359 |
| 2934 void cullFace(int mode) => _blink.BlinkWebGLRenderingContextBase.cullFace_Call
back_ul(this, mode); | 1360 @DomName('WebGLRenderingContext.deleteShader') |
| 2935 | 1361 @DocsEditable() |
| 2936 @DomName('WebGLRenderingContextBase.deleteBuffer') | 1362 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.deleteSh
ader_Callback_WebGLShader(this, shader); |
| 2937 @DocsEditable() | 1363 |
| 2938 @Experimental() // untriaged | 1364 @DomName('WebGLRenderingContext.deleteTexture') |
| 2939 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContextBase.dele
teBuffer_Callback_WebGLBuffer(this, buffer); | 1365 @DocsEditable() |
| 2940 | 1366 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.delet
eTexture_Callback_WebGLTexture(this, texture); |
| 2941 @DomName('WebGLRenderingContextBase.deleteFramebuffer') | 1367 |
| 2942 @DocsEditable() | 1368 @DomName('WebGLRenderingContext.depthFunc') |
| 2943 @Experimental() // untriaged | 1369 @DocsEditable() |
| 2944 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC
ontextBase.deleteFramebuffer_Callback_WebGLFramebuffer(this, framebuffer); | 1370 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.depthFunc_Callba
ck_ul(this, func); |
| 2945 | 1371 |
| 2946 @DomName('WebGLRenderingContextBase.deleteProgram') | 1372 @DomName('WebGLRenderingContext.depthMask') |
| 2947 @DocsEditable() | 1373 @DocsEditable() |
| 2948 @Experimental() // untriaged | 1374 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.depthMask_Callb
ack_boolean(this, flag); |
| 2949 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.d
eleteProgram_Callback_WebGLProgram(this, program); | 1375 |
| 2950 | 1376 @DomName('WebGLRenderingContext.depthRange') |
| 2951 @DomName('WebGLRenderingContextBase.deleteRenderbuffer') | 1377 @DocsEditable() |
| 2952 @DocsEditable() | 1378 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.dept
hRange_Callback_float_float(this, zNear, zFar); |
| 2953 @Experimental() // untriaged | 1379 |
| 2954 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi
ngContextBase.deleteRenderbuffer_Callback_WebGLRenderbuffer(this, renderbuffer); | 1380 @DomName('WebGLRenderingContext.detachShader') |
| 2955 | 1381 @DocsEditable() |
| 2956 @DomName('WebGLRenderingContextBase.deleteShader') | 1382 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContext.detachShader_Callback_WebGLProgram_WebGLShader(this, program, shader); |
| 2957 @DocsEditable() | 1383 |
| 2958 @Experimental() // untriaged | 1384 @DomName('WebGLRenderingContext.disable') |
| 2959 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContextBase.dele
teShader_Callback_WebGLShader(this, shader); | 1385 @DocsEditable() |
| 2960 | 1386 void disable(int cap) => _blink.BlinkWebGLRenderingContext.disable_Callback_ul
(this, cap); |
| 2961 @DomName('WebGLRenderingContextBase.deleteTexture') | 1387 |
| 2962 @DocsEditable() | 1388 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
| 2963 @Experimental() // untriaged | 1389 @DocsEditable() |
| 2964 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContextBase.d
eleteTexture_Callback_WebGLTexture(this, texture); | 1390 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.
disableVertexAttribArray_Callback_ul(this, index); |
| 2965 | 1391 |
| 2966 @DomName('WebGLRenderingContextBase.depthFunc') | 1392 @DomName('WebGLRenderingContext.drawArrays') |
| 2967 @DocsEditable() | 1393 @DocsEditable() |
| 2968 @Experimental() // untriaged | 1394 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC
ontext.drawArrays_Callback_ul_long_long(this, mode, first, count); |
| 2969 void depthFunc(int func) => _blink.BlinkWebGLRenderingContextBase.depthFunc_Ca
llback_ul(this, func); | 1395 |
| 2970 | 1396 @DomName('WebGLRenderingContext.drawElements') |
| 2971 @DomName('WebGLRenderingContextBase.depthMask') | 1397 @DocsEditable() |
| 2972 @DocsEditable() | 1398 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe
bGLRenderingContext.drawElements_Callback_ul_long_ul_ll(this, mode, count, type,
offset); |
| 2973 @Experimental() // untriaged | 1399 |
| 2974 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContextBase.depthMask_C
allback_boolean(this, flag); | 1400 @DomName('WebGLRenderingContext.enable') |
| 2975 | 1401 @DocsEditable() |
| 2976 @DomName('WebGLRenderingContextBase.depthRange') | 1402 void enable(int cap) => _blink.BlinkWebGLRenderingContext.enable_Callback_ul(t
his, cap); |
| 2977 @DocsEditable() | 1403 |
| 2978 @Experimental() // untriaged | 1404 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
| 2979 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContextBase.
depthRange_Callback_float_float(this, zNear, zFar); | 1405 @DocsEditable() |
| 2980 | 1406 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.e
nableVertexAttribArray_Callback_ul(this, index); |
| 2981 @DomName('WebGLRenderingContextBase.detachShader') | 1407 |
| 2982 @DocsEditable() | 1408 @DomName('WebGLRenderingContext.finish') |
| 2983 @Experimental() // untriaged | 1409 @DocsEditable() |
| 2984 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin
gContextBase.detachShader_Callback_WebGLProgram_WebGLShader(this, program, shade
r); | 1410 void finish() => _blink.BlinkWebGLRenderingContext.finish_Callback(this); |
| 2985 | 1411 |
| 2986 @DomName('WebGLRenderingContextBase.disable') | 1412 @DomName('WebGLRenderingContext.flush') |
| 2987 @DocsEditable() | 1413 @DocsEditable() |
| 2988 @Experimental() // untriaged | 1414 void flush() => _blink.BlinkWebGLRenderingContext.flush_Callback(this); |
| 2989 void disable(int cap) => _blink.BlinkWebGLRenderingContextBase.disable_Callbac
k_ul(this, cap); | 1415 |
| 2990 | 1416 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
| 2991 @DomName('WebGLRenderingContextBase.disableVertexAttribArray') | 1417 @DocsEditable() |
| 2992 @DocsEditable() | 1418 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.framebufferRe
nderbuffer_Callback_ul_ul_ul_WebGLRenderbuffer(this, target, attachment, renderb
uffertarget, renderbuffer); |
| 2993 @Experimental() // untriaged | 1419 |
| 2994 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContextB
ase.disableVertexAttribArray_Callback_ul(this, index); | 1420 @DomName('WebGLRenderingContext.framebufferTexture2D') |
| 2995 | 1421 @DocsEditable() |
| 2996 @DomName('WebGLRenderingContextBase.drawArrays') | 1422 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.BlinkWebGLRenderingContext.framebufferTexture2D_Cal
lback_ul_ul_ul_WebGLTexture_long(this, target, attachment, textarget, texture, l
evel); |
| 2997 @DocsEditable() | 1423 |
| 2998 @Experimental() // untriaged | 1424 @DomName('WebGLRenderingContext.frontFace') |
| 2999 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC
ontextBase.drawArrays_Callback_ul_long_long(this, mode, first, count); | 1425 @DocsEditable() |
| 3000 | 1426 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.frontFace_Callba
ck_ul(this, mode); |
| 3001 @DomName('WebGLRenderingContextBase.drawElements') | 1427 |
| 3002 @DocsEditable() | 1428 @DomName('WebGLRenderingContext.generateMipmap') |
| 3003 @Experimental() // untriaged | 1429 @DocsEditable() |
| 3004 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe
bGLRenderingContextBase.drawElements_Callback_ul_long_ul_ll(this, mode, count, t
ype, offset); | 1430 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.generateM
ipmap_Callback_ul(this, target); |
| 3005 | 1431 |
| 3006 @DomName('WebGLRenderingContextBase.enable') | 1432 @DomName('WebGLRenderingContext.getActiveAttrib') |
| 3007 @DocsEditable() | 1433 @DocsEditable() |
| 3008 @Experimental() // untriaged | 1434 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen
deringContext.getActiveAttrib_Callback_WebGLProgram_ul(this, program, index); |
| 3009 void enable(int cap) => _blink.BlinkWebGLRenderingContextBase.enable_Callback_
ul(this, cap); | 1435 |
| 3010 | 1436 @DomName('WebGLRenderingContext.getActiveUniform') |
| 3011 @DomName('WebGLRenderingContextBase.enableVertexAttribArray') | 1437 @DocsEditable() |
| 3012 @DocsEditable() | 1438 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe
nderingContext.getActiveUniform_Callback_WebGLProgram_ul(this, program, index); |
| 3013 @Experimental() // untriaged | 1439 |
| 3014 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContextBa
se.enableVertexAttribArray_Callback_ul(this, index); | 1440 @DomName('WebGLRenderingContext.getAttachedShaders') |
| 3015 | 1441 @DocsEditable() |
| 3016 @DomName('WebGLRenderingContextBase.finish') | 1442 void getAttachedShaders(Program program) => _blink.BlinkWebGLRenderingContext.
getAttachedShaders_Callback_WebGLProgram(this, program); |
| 3017 @DocsEditable() | 1443 |
| 3018 @Experimental() // untriaged | 1444 @DomName('WebGLRenderingContext.getAttribLocation') |
| 3019 void finish() => _blink.BlinkWebGLRenderingContextBase.finish_Callback(this); | 1445 @DocsEditable() |
| 3020 | 1446 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContext.getAttribLocation_Callback_WebGLProgram_DOMString(this, program, name
); |
| 3021 @DomName('WebGLRenderingContextBase.flush') | 1447 |
| 3022 @DocsEditable() | 1448 @DomName('WebGLRenderingContext.getBufferParameter') |
| 3023 @Experimental() // untriaged | 1449 @DocsEditable() |
| 3024 void flush() => _blink.BlinkWebGLRenderingContextBase.flush_Callback(this); | 1450 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering
Context.getBufferParameter_Callback_ul_ul(this, target, pname); |
| 3025 | 1451 |
| 3026 @DomName('WebGLRenderingContextBase.framebufferRenderbuffer') | 1452 @DomName('WebGLRenderingContext.getContextAttributes') |
| 3027 @DocsEditable() | 1453 @DocsEditable() |
| 3028 @Experimental() // untriaged | 1454 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext.
getContextAttributes_Callback(this); |
| 3029 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContextBase.framebuff
erRenderbuffer_Callback_ul_ul_ul_WebGLRenderbuffer(this, target, attachment, ren
derbuffertarget, renderbuffer); | 1455 |
| 3030 | 1456 @DomName('WebGLRenderingContext.getError') |
| 3031 @DomName('WebGLRenderingContextBase.framebufferTexture2D') | 1457 @DocsEditable() |
| 3032 @DocsEditable() | 1458 int getError() => _blink.BlinkWebGLRenderingContext.getError_Callback(this); |
| 3033 @Experimental() // untriaged | 1459 |
| 3034 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.BlinkWebGLRenderingContextBase.framebufferTexture2D
_Callback_ul_ul_ul_WebGLTexture_long(this, target, attachment, textarget, textur
e, level); | 1460 @DomName('WebGLRenderingContext.getExtension') |
| 3035 | 1461 @DocsEditable() |
| 3036 @DomName('WebGLRenderingContextBase.frontFace') | 1462 Object getExtension(String name) => _blink.BlinkWebGLRenderingContext.getExten
sion_Callback_DOMString(this, name); |
| 3037 @DocsEditable() | 1463 |
| 3038 @Experimental() // untriaged | 1464 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| 3039 void frontFace(int mode) => _blink.BlinkWebGLRenderingContextBase.frontFace_Ca
llback_ul(this, mode); | 1465 @DocsEditable() |
| 3040 | 1466 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => _blink.BlinkWebGLRenderingContext.getFramebufferAttachmentParameter_Callbac
k_ul_ul_ul(this, target, attachment, pname); |
| 3041 @DomName('WebGLRenderingContextBase.generateMipmap') | 1467 |
| 3042 @DocsEditable() | 1468 @DomName('WebGLRenderingContext.getParameter') |
| 3043 @Experimental() // untriaged | 1469 @DocsEditable() |
| 3044 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContextBase.gener
ateMipmap_Callback_ul(this, target); | 1470 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContext.getParamet
er_Callback_ul(this, pname); |
| 3045 | 1471 |
| 3046 @DomName('WebGLRenderingContextBase.getActiveAttrib') | 1472 @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 3047 @DocsEditable() | 1473 @DocsEditable() |
| 3048 @Experimental() // untriaged | 1474 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext
.getProgramInfoLog_Callback_WebGLProgram(this, program); |
| 3049 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen
deringContextBase.getActiveAttrib_Callback_WebGLProgram_ul(this, program, index)
; | 1475 |
| 3050 | 1476 @DomName('WebGLRenderingContext.getProgramParameter') |
| 3051 @DomName('WebGLRenderingContextBase.getActiveUniform') | 1477 @DocsEditable() |
| 3052 @DocsEditable() | 1478 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen
deringContext.getProgramParameter_Callback_WebGLProgram_ul(this, program, pname)
; |
| 3053 @Experimental() // untriaged | 1479 |
| 3054 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe
nderingContextBase.getActiveUniform_Callback_WebGLProgram_ul(this, program, inde
x); | 1480 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
| 3055 | 1481 @DocsEditable() |
| 3056 @DomName('WebGLRenderingContextBase.getAttachedShaders') | 1482 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen
deringContext.getRenderbufferParameter_Callback_ul_ul(this, target, pname); |
| 3057 @DocsEditable() | 1483 |
| 3058 @Experimental() // untriaged | 1484 @DomName('WebGLRenderingContext.getShaderInfoLog') |
| 3059 void getAttachedShaders(Program program) => _blink.BlinkWebGLRenderingContextB
ase.getAttachedShaders_Callback_WebGLProgram(this, program); | 1485 @DocsEditable() |
| 3060 | 1486 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.ge
tShaderInfoLog_Callback_WebGLShader(this, shader); |
| 3061 @DomName('WebGLRenderingContextBase.getAttribLocation') | 1487 |
| 3062 @DocsEditable() | 1488 @DomName('WebGLRenderingContext.getShaderParameter') |
| 3063 @Experimental() // untriaged | 1489 @DocsEditable() |
| 3064 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender
ingContextBase.getAttribLocation_Callback_WebGLProgram_DOMString(this, program,
name); | 1490 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender
ingContext.getShaderParameter_Callback_WebGLShader_ul(this, shader, pname); |
| 3065 | 1491 |
| 3066 @DomName('WebGLRenderingContextBase.getBufferParameter') | 1492 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
| 3067 @DocsEditable() | 1493 @DocsEditable() |
| 3068 @Experimental() // untriaged | 1494 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => _blink.BlinkWebGLRenderingContext.getShaderPrecisionFormat_Callback_ul_ul
(this, shadertype, precisiontype); |
| 3069 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering
ContextBase.getBufferParameter_Callback_ul_ul(this, target, pname); | 1495 |
| 3070 | 1496 @DomName('WebGLRenderingContext.getShaderSource') |
| 3071 @DomName('WebGLRenderingContextBase.getContextAttributes') | 1497 @DocsEditable() |
| 3072 @DocsEditable() | 1498 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.get
ShaderSource_Callback_WebGLShader(this, shader); |
| 3073 @Experimental() // untriaged | 1499 |
| 3074 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContextB
ase.getContextAttributes_Callback(this); | 1500 @DomName('WebGLRenderingContext.getSupportedExtensions') |
| 3075 | 1501 @DocsEditable() |
| 3076 @DomName('WebGLRenderingContextBase.getError') | 1502 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.get
SupportedExtensions_Callback(this); |
| 3077 @DocsEditable() | 1503 |
| 3078 @Experimental() // untriaged | 1504 @DomName('WebGLRenderingContext.getTexParameter') |
| 3079 int getError() => _blink.BlinkWebGLRenderingContextBase.getError_Callback(this
); | 1505 @DocsEditable() |
| 3080 | 1506 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon
text.getTexParameter_Callback_ul_ul(this, target, pname); |
| 3081 @DomName('WebGLRenderingContextBase.getExtension') | 1507 |
| 3082 @DocsEditable() | 1508 @DomName('WebGLRenderingContext.getUniform') |
| 3083 @Experimental() // untriaged | 1509 @DocsEditable() |
| 3084 Object getExtension(String name) => _blink.BlinkWebGLRenderingContextBase.getE
xtension_Callback_DOMString(this, name); | 1510 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe
bGLRenderingContext.getUniform_Callback_WebGLProgram_WebGLUniformLocation(this,
program, location); |
| 3085 | 1511 |
| 3086 @DomName('WebGLRenderingContextBase.getFramebufferAttachmentParameter') | 1512 @DomName('WebGLRenderingContext.getUniformLocation') |
| 3087 @DocsEditable() | 1513 @DocsEditable() |
| 3088 @Experimental() // untriaged | 1514 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli
nkWebGLRenderingContext.getUniformLocation_Callback_WebGLProgram_DOMString(this,
program, name); |
| 3089 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => _blink.BlinkWebGLRenderingContextBase.getFramebufferAttachmentParameter_Cal
lback_ul_ul_ul(this, target, attachment, pname); | 1515 |
| 3090 | 1516 @DomName('WebGLRenderingContext.getVertexAttrib') |
| 3091 @DomName('WebGLRenderingContextBase.getParameter') | 1517 @DocsEditable() |
| 3092 @DocsEditable() | 1518 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont
ext.getVertexAttrib_Callback_ul_ul(this, index, pname); |
| 3093 @Experimental() // untriaged | 1519 |
| 3094 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContextBase.getPar
ameter_Callback_ul(this, pname); | 1520 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
| 3095 | 1521 @DocsEditable() |
| 3096 @DomName('WebGLRenderingContextBase.getProgramInfoLog') | 1522 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC
ontext.getVertexAttribOffset_Callback_ul_ul(this, index, pname); |
| 3097 @DocsEditable() | 1523 |
| 3098 @Experimental() // untriaged | 1524 @DomName('WebGLRenderingContext.hint') |
| 3099 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext
Base.getProgramInfoLog_Callback_WebGLProgram(this, program); | 1525 @DocsEditable() |
| 3100 | 1526 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.hint_Call
back_ul_ul(this, target, mode); |
| 3101 @DomName('WebGLRenderingContextBase.getProgramParameter') | 1527 |
| 3102 @DocsEditable() | 1528 @DomName('WebGLRenderingContext.isBuffer') |
| 3103 @Experimental() // untriaged | 1529 @DocsEditable() |
| 3104 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen
deringContextBase.getProgramParameter_Callback_WebGLProgram_ul(this, program, pn
ame); | 1530 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.isBuffer_Cal
lback_WebGLBuffer(this, buffer); |
| 3105 | 1531 |
| 3106 @DomName('WebGLRenderingContextBase.getRenderbufferParameter') | 1532 @DomName('WebGLRenderingContext.isContextLost') |
| 3107 @DocsEditable() | 1533 @DocsEditable() |
| 3108 @Experimental() // untriaged | 1534 bool isContextLost() => _blink.BlinkWebGLRenderingContext.isContextLost_Callba
ck(this); |
| 3109 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen
deringContextBase.getRenderbufferParameter_Callback_ul_ul(this, target, pname); | 1535 |
| 3110 | 1536 @DomName('WebGLRenderingContext.isEnabled') |
| 3111 @DomName('WebGLRenderingContextBase.getShaderInfoLog') | 1537 @DocsEditable() |
| 3112 @DocsEditable() | 1538 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.isEnabled_Callbac
k_ul(this, cap); |
| 3113 @Experimental() // untriaged | 1539 |
| 3114 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContextBas
e.getShaderInfoLog_Callback_WebGLShader(this, shader); | 1540 @DomName('WebGLRenderingContext.isFramebuffer') |
| 3115 | 1541 @DocsEditable() |
| 3116 @DomName('WebGLRenderingContextBase.getShaderParameter') | 1542 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte
xt.isFramebuffer_Callback_WebGLFramebuffer(this, framebuffer); |
| 3117 @DocsEditable() | 1543 |
| 3118 @Experimental() // untriaged | 1544 @DomName('WebGLRenderingContext.isProgram') |
| 3119 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender
ingContextBase.getShaderParameter_Callback_WebGLShader_ul(this, shader, pname); | 1545 @DocsEditable() |
| 3120 | 1546 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.isProgram
_Callback_WebGLProgram(this, program); |
| 3121 @DomName('WebGLRenderingContextBase.getShaderPrecisionFormat') | 1547 |
| 3122 @DocsEditable() | 1548 @DomName('WebGLRenderingContext.isRenderbuffer') |
| 3123 @Experimental() // untriaged | 1549 @DocsEditable() |
| 3124 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => _blink.BlinkWebGLRenderingContextBase.getShaderPrecisionFormat_Callback_u
l_ul(this, shadertype, precisiontype); | 1550 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo
ntext.isRenderbuffer_Callback_WebGLRenderbuffer(this, renderbuffer); |
| 3125 | 1551 |
| 3126 @DomName('WebGLRenderingContextBase.getShaderSource') | 1552 @DomName('WebGLRenderingContext.isShader') |
| 3127 @DocsEditable() | 1553 @DocsEditable() |
| 3128 @Experimental() // untriaged | 1554 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.isShader_Cal
lback_WebGLShader(this, shader); |
| 3129 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContextBase
.getShaderSource_Callback_WebGLShader(this, shader); | 1555 |
| 3130 | 1556 @DomName('WebGLRenderingContext.isTexture') |
| 3131 @DomName('WebGLRenderingContextBase.getSupportedExtensions') | 1557 @DocsEditable() |
| 3132 @DocsEditable() | 1558 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.isTexture
_Callback_WebGLTexture(this, texture); |
| 3133 @Experimental() // untriaged | 1559 |
| 3134 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContextBase
.getSupportedExtensions_Callback(this); | 1560 @DomName('WebGLRenderingContext.lineWidth') |
| 3135 | 1561 @DocsEditable() |
| 3136 @DomName('WebGLRenderingContextBase.getTexParameter') | 1562 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.lineWidth_Callb
ack_float(this, width); |
| 3137 @DocsEditable() | 1563 |
| 3138 @Experimental() // untriaged | 1564 @DomName('WebGLRenderingContext.linkProgram') |
| 3139 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon
textBase.getTexParameter_Callback_ul_ul(this, target, pname); | 1565 @DocsEditable() |
| 3140 | 1566 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.linkPro
gram_Callback_WebGLProgram(this, program); |
| 3141 @DomName('WebGLRenderingContextBase.getUniform') | 1567 |
| 3142 @DocsEditable() | 1568 @DomName('WebGLRenderingContext.pixelStorei') |
| 3143 @Experimental() // untriaged | 1569 @DocsEditable() |
| 3144 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe
bGLRenderingContextBase.getUniform_Callback_WebGLProgram_WebGLUniformLocation(th
is, program, location); | 1570 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.pi
xelStorei_Callback_ul_long(this, pname, param); |
| 3145 | 1571 |
| 3146 @DomName('WebGLRenderingContextBase.getUniformLocation') | 1572 @DomName('WebGLRenderingContext.polygonOffset') |
| 3147 @DocsEditable() | 1573 @DocsEditable() |
| 3148 @Experimental() // untriaged | 1574 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext
.polygonOffset_Callback_float_float(this, factor, units); |
| 3149 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli
nkWebGLRenderingContextBase.getUniformLocation_Callback_WebGLProgram_DOMString(t
his, program, name); | 1575 |
| 3150 | 1576 @DomName('WebGLRenderingContext.readPixels') |
| 3151 @DomName('WebGLRenderingContextBase.getVertexAttrib') | 1577 @DocsEditable() |
| 3152 @DocsEditable() | 1578 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.BlinkWebGLRenderingContext.readPixels_Callback_long_lon
g_long_long_ul_ul_ArrayBufferView(this, x, y, width, height, format, type, pixel
s); |
| 3153 @Experimental() // untriaged | 1579 |
| 3154 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont
extBase.getVertexAttrib_Callback_ul_ul(this, index, pname); | 1580 @DomName('WebGLRenderingContext.renderbufferStorage') |
| 3155 | 1581 @DocsEditable() |
| 3156 @DomName('WebGLRenderingContextBase.getVertexAttribOffset') | 1582 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.BlinkWebGLRenderingContext.renderbufferStorage_Callback_ul_ul_long_l
ong(this, target, internalformat, width, height); |
| 3157 @DocsEditable() | 1583 |
| 3158 @Experimental() // untriaged | 1584 @DomName('WebGLRenderingContext.sampleCoverage') |
| 3159 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC
ontextBase.getVertexAttribOffset_Callback_ul_ul(this, index, pname); | 1585 @DocsEditable() |
| 3160 | 1586 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte
xt.sampleCoverage_Callback_float_boolean(this, value, invert); |
| 3161 @DomName('WebGLRenderingContextBase.hint') | 1587 |
| 3162 @DocsEditable() | 1588 @DomName('WebGLRenderingContext.scissor') |
| 3163 @Experimental() // untriaged | 1589 @DocsEditable() |
| 3164 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContextBase.hint_
Callback_ul_ul(this, target, mode); | 1590 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin
gContext.scissor_Callback_long_long_long_long(this, x, y, width, height); |
| 3165 | 1591 |
| 3166 @DomName('WebGLRenderingContextBase.isBuffer') | 1592 @DomName('WebGLRenderingContext.shaderSource') |
| 3167 @DocsEditable() | 1593 @DocsEditable() |
| 3168 @Experimental() // untriaged | 1594 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC
ontext.shaderSource_Callback_WebGLShader_DOMString(this, shader, string); |
| 3169 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContextBase.isBuffer
_Callback_WebGLBuffer(this, buffer); | 1595 |
| 3170 | 1596 @DomName('WebGLRenderingContext.stencilFunc') |
| 3171 @DomName('WebGLRenderingContextBase.isContextLost') | 1597 @DocsEditable() |
| 3172 @DocsEditable() | 1598 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon
text.stencilFunc_Callback_ul_long_ul(this, func, ref, mask); |
| 3173 @Experimental() // untriaged | 1599 |
| 3174 bool isContextLost() => _blink.BlinkWebGLRenderingContextBase.isContextLost_Ca
llback(this); | 1600 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
| 3175 | 1601 @DocsEditable() |
| 3176 @DomName('WebGLRenderingContextBase.isEnabled') | 1602 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin
kWebGLRenderingContext.stencilFuncSeparate_Callback_ul_ul_long_ul(this, face, fu
nc, ref, mask); |
| 3177 @DocsEditable() | 1603 |
| 3178 @Experimental() // untriaged | 1604 @DomName('WebGLRenderingContext.stencilMask') |
| 3179 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContextBase.isEnabled_Cal
lback_ul(this, cap); | 1605 @DocsEditable() |
| 3180 | 1606 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.stencilMask_Ca
llback_ul(this, mask); |
| 3181 @DomName('WebGLRenderingContextBase.isFramebuffer') | 1607 |
| 3182 @DocsEditable() | 1608 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
| 3183 @Experimental() // untriaged | 1609 @DocsEditable() |
| 3184 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte
xtBase.isFramebuffer_Callback_WebGLFramebuffer(this, framebuffer); | 1610 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont
ext.stencilMaskSeparate_Callback_ul_ul(this, face, mask); |
| 3185 | 1611 |
| 3186 @DomName('WebGLRenderingContextBase.isProgram') | 1612 @DomName('WebGLRenderingContext.stencilOp') |
| 3187 @DocsEditable() | 1613 @DocsEditable() |
| 3188 @Experimental() // untriaged | 1614 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo
ntext.stencilOp_Callback_ul_ul_ul(this, fail, zfail, zpass); |
| 3189 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.isPro
gram_Callback_WebGLProgram(this, program); | 1615 |
| 3190 | 1616 @DomName('WebGLRenderingContext.stencilOpSeparate') |
| 3191 @DomName('WebGLRenderingContextBase.isRenderbuffer') | 1617 @DocsEditable() |
| 3192 @DocsEditable() | 1618 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGLRenderingContext.stencilOpSeparate_Callback_ul_ul_ul_ul(this, face, fail,
zfail, zpass); |
| 3193 @Experimental() // untriaged | |
| 3194 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo
ntextBase.isRenderbuffer_Callback_WebGLRenderbuffer(this, renderbuffer); | |
| 3195 | |
| 3196 @DomName('WebGLRenderingContextBase.isShader') | |
| 3197 @DocsEditable() | |
| 3198 @Experimental() // untriaged | |
| 3199 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContextBase.isShader
_Callback_WebGLShader(this, shader); | |
| 3200 | |
| 3201 @DomName('WebGLRenderingContextBase.isTexture') | |
| 3202 @DocsEditable() | |
| 3203 @Experimental() // untriaged | |
| 3204 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContextBase.isTex
ture_Callback_WebGLTexture(this, texture); | |
| 3205 | |
| 3206 @DomName('WebGLRenderingContextBase.lineWidth') | |
| 3207 @DocsEditable() | |
| 3208 @Experimental() // untriaged | |
| 3209 void lineWidth(num width) => _blink.BlinkWebGLRenderingContextBase.lineWidth_C
allback_float(this, width); | |
| 3210 | |
| 3211 @DomName('WebGLRenderingContextBase.linkProgram') | |
| 3212 @DocsEditable() | |
| 3213 @Experimental() // untriaged | |
| 3214 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.lin
kProgram_Callback_WebGLProgram(this, program); | |
| 3215 | |
| 3216 @DomName('WebGLRenderingContextBase.pixelStorei') | |
| 3217 @DocsEditable() | |
| 3218 @Experimental() // untriaged | |
| 3219 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContextBas
e.pixelStorei_Callback_ul_long(this, pname, param); | |
| 3220 | |
| 3221 @DomName('WebGLRenderingContextBase.polygonOffset') | |
| 3222 @DocsEditable() | |
| 3223 @Experimental() // untriaged | |
| 3224 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext
Base.polygonOffset_Callback_float_float(this, factor, units); | |
| 3225 | |
| 3226 @DomName('WebGLRenderingContextBase.readPixels') | |
| 3227 @DocsEditable() | |
| 3228 @Experimental() // untriaged | |
| 3229 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.BlinkWebGLRenderingContextBase.readPixels_Callback_long
_long_long_long_ul_ul_ArrayBufferView(this, x, y, width, height, format, type, p
ixels); | |
| 3230 | |
| 3231 @DomName('WebGLRenderingContextBase.renderbufferStorage') | |
| 3232 @DocsEditable() | |
| 3233 @Experimental() // untriaged | |
| 3234 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.BlinkWebGLRenderingContextBase.renderbufferStorage_Callback_ul_ul_lo
ng_long(this, target, internalformat, width, height); | |
| 3235 | |
| 3236 @DomName('WebGLRenderingContextBase.sampleCoverage') | |
| 3237 @DocsEditable() | |
| 3238 @Experimental() // untriaged | |
| 3239 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte
xtBase.sampleCoverage_Callback_float_boolean(this, value, invert); | |
| 3240 | |
| 3241 @DomName('WebGLRenderingContextBase.scissor') | |
| 3242 @DocsEditable() | |
| 3243 @Experimental() // untriaged | |
| 3244 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin
gContextBase.scissor_Callback_long_long_long_long(this, x, y, width, height); | |
| 3245 | |
| 3246 @DomName('WebGLRenderingContextBase.shaderSource') | |
| 3247 @DocsEditable() | |
| 3248 @Experimental() // untriaged | |
| 3249 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC
ontextBase.shaderSource_Callback_WebGLShader_DOMString(this, shader, string); | |
| 3250 | |
| 3251 @DomName('WebGLRenderingContextBase.stencilFunc') | |
| 3252 @DocsEditable() | |
| 3253 @Experimental() // untriaged | |
| 3254 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon
textBase.stencilFunc_Callback_ul_long_ul(this, func, ref, mask); | |
| 3255 | |
| 3256 @DomName('WebGLRenderingContextBase.stencilFuncSeparate') | |
| 3257 @DocsEditable() | |
| 3258 @Experimental() // untriaged | |
| 3259 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin
kWebGLRenderingContextBase.stencilFuncSeparate_Callback_ul_ul_long_ul(this, face
, func, ref, mask); | |
| 3260 | |
| 3261 @DomName('WebGLRenderingContextBase.stencilMask') | |
| 3262 @DocsEditable() | |
| 3263 @Experimental() // untriaged | |
| 3264 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContextBase.stencilMas
k_Callback_ul(this, mask); | |
| 3265 | |
| 3266 @DomName('WebGLRenderingContextBase.stencilMaskSeparate') | |
| 3267 @DocsEditable() | |
| 3268 @Experimental() // untriaged | |
| 3269 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont
extBase.stencilMaskSeparate_Callback_ul_ul(this, face, mask); | |
| 3270 | |
| 3271 @DomName('WebGLRenderingContextBase.stencilOp') | |
| 3272 @DocsEditable() | |
| 3273 @Experimental() // untriaged | |
| 3274 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo
ntextBase.stencilOp_Callback_ul_ul_ul(this, fail, zfail, zpass); | |
| 3275 | |
| 3276 @DomName('WebGLRenderingContextBase.stencilOpSeparate') | |
| 3277 @DocsEditable() | |
| 3278 @Experimental() // untriaged | |
| 3279 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli
nkWebGLRenderingContextBase.stencilOpSeparate_Callback_ul_ul_ul_ul(this, face, f
ail, zfail, zpass); | |
| 3280 | 1619 |
| 3281 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, TypedData pixels]) { | 1620 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, TypedData pixels]) { |
| 3282 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR
_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh
t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format
_OR_width == null) && (internalformat is int || internalformat == null) && (leve
l is int || level == null) && (target is int || target == null)) { | 1621 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR
_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh
t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format
_OR_width == null) && (internalformat is int || internalformat == null) && (leve
l is int || level == null) && (target is int || target == null)) { |
| 3283 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_long_
long_long_ul_ul_ArrayBufferView(this, target, level, internalformat, format_OR_w
idth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type
, pixels); | 1622 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_long_long
_long_ul_ul_ArrayBufferView(this, target, level, internalformat, format_OR_width
, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pi
xels); |
| 3284 return; | 1623 return; |
| 3285 } | 1624 } |
| 3286 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte
rnalformat is int || internalformat == null) && (level is int || level == null)
&& (target is int || target == null) && format == null && type == null && pixels
== null) { | 1625 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte
rnalformat is int || internalformat == null) && (level is int || level == null)
&& (target is int || target == null) && format == null && type == null && pixels
== null) { |
| 3287 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul
_ImageData(this, target, level, internalformat, format_OR_width, height_OR_type,
border_OR_canvas_OR_image_OR_pixels_OR_video); | 1626 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_Ima
geData(this, target, level, internalformat, format_OR_width, height_OR_type, bor
der_OR_canvas_OR_image_OR_pixels_OR_video); |
| 3288 return; | 1627 return; |
| 3289 } | 1628 } |
| 3290 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { | 1629 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { |
| 3291 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul
_HTMLImageElement(this, target, level, internalformat, format_OR_width, height_O
R_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | 1630 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM
LImageElement(this, target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 3292 return; | 1631 return; |
| 3293 } | 1632 } |
| 3294 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border
_OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
internalformat is int || internalformat == null) && (level is int || level == nu
ll) && (target is int || target == null) && format == null && type == null && pi
xels == null) { | 1633 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border
_OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
internalformat is int || internalformat == null) && (level is int || level == nu
ll) && (target is int || target == null) && format == null && type == null && pi
xels == null) { |
| 3295 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul
_HTMLCanvasElement(this, target, level, internalformat, format_OR_width, height_
OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | 1634 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM
LCanvasElement(this, target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 3296 return; | 1635 return; |
| 3297 } | 1636 } |
| 3298 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { | 1637 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { |
| 3299 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul
_HTMLVideoElement(this, target, level, internalformat, format_OR_width, height_O
R_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | 1638 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM
LVideoElement(this, target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 3300 return; | 1639 return; |
| 3301 } | 1640 } |
| 3302 throw new ArgumentError("Incorrect number or type of arguments"); | 1641 throw new ArgumentError("Incorrect number or type of arguments"); |
| 3303 } | 1642 } |
| 3304 | 1643 |
| 3305 @DomName('WebGLRenderingContextBase.texParameterf') | 1644 @DomName('WebGLRenderingContext.texParameterf') |
| 3306 @DocsEditable() | 1645 @DocsEditable() |
| 3307 @Experimental() // untriaged | 1646 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContext.texParameterf_Callback_ul_ul_float(this, target, pname, param); |
| 3308 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende
ringContextBase.texParameterf_Callback_ul_ul_float(this, target, pname, param); | 1647 |
| 3309 | 1648 @DomName('WebGLRenderingContext.texParameteri') |
| 3310 @DomName('WebGLRenderingContextBase.texParameteri') | 1649 @DocsEditable() |
| 3311 @DocsEditable() | 1650 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContext.texParameteri_Callback_ul_ul_long(this, target, pname, param); |
| 3312 @Experimental() // untriaged | |
| 3313 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende
ringContextBase.texParameteri_Callback_ul_ul_long(this, target, pname, param); | |
| 3314 | 1651 |
| 3315 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { | 1652 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { |
| 3316 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_
image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type ==
null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int
|| yoffset == null) && (xoffset is int || xoffset == null) && (level is int ||
level == null) && (target is int || target == null)) { | 1653 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_
image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type ==
null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int
|| yoffset == null) && (xoffset is int || xoffset == null) && (level is int ||
level == null) && (target is int || target == null)) { |
| 3317 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_
long_long_long_ul_ul_ArrayBufferView(this, target, level, xoffset, yoffset, form
at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type,
pixels); | 1654 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long
_long_long_ul_ul_ArrayBufferView(this, target, level, xoffset, yoffset, format_O
R_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pix
els); |
| 3318 return; | 1655 return; |
| 3319 } | 1656 } |
| 3320 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff
set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level
is int || level == null) && (target is int || target == null) && type == null &&
pixels == null) { | 1657 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff
set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level
is int || level == null) && (target is int || target == null) && type == null &&
pixels == null) { |
| 3321 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_
long_ul_ul_ImageData(this, target, level, xoffset, yoffset, format_OR_width, hei
ght_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 1658 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long
_ul_ul_ImageData(this, target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 3322 return; | 1659 return; |
| 3323 } | 1660 } |
| 3324 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { | 1661 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { |
| 3325 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_
long_ul_ul_HTMLImageElement(this, target, level, xoffset, yoffset, format_OR_wid
th, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 1662 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long
_ul_ul_HTMLImageElement(this, target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 3326 return; | 1663 return; |
| 3327 } | 1664 } |
| 3328 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas
_OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le
vel is int || level == null) && (target is int || target == null) && type == nul
l && pixels == null) { | 1665 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas
_OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le
vel is int || level == null) && (target is int || target == null) && type == nul
l && pixels == null) { |
| 3329 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_
long_ul_ul_HTMLCanvasElement(this, target, level, xoffset, yoffset, format_OR_wi
dth, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 1666 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long
_ul_ul_HTMLCanvasElement(this, target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 3330 return; | 1667 return; |
| 3331 } | 1668 } |
| 3332 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { | 1669 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { |
| 3333 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_
long_ul_ul_HTMLVideoElement(this, target, level, xoffset, yoffset, format_OR_wid
th, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 1670 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long
_ul_ul_HTMLVideoElement(this, target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 3334 return; | 1671 return; |
| 3335 } | 1672 } |
| 3336 throw new ArgumentError("Incorrect number or type of arguments"); | 1673 throw new ArgumentError("Incorrect number or type of arguments"); |
| 3337 } | 1674 } |
| 3338 | 1675 |
| 3339 @DomName('WebGLRenderingContextBase.uniform1f') | 1676 @DomName('WebGLRenderingContext.uniform1f') |
| 3340 @DocsEditable() | 1677 @DocsEditable() |
| 3341 @Experimental() // untriaged | 1678 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontext.uniform1f_Callback_WebGLUniformLocation_float(this, location, x); |
| 3342 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC
ontextBase.uniform1f_Callback_WebGLUniformLocation_float(this, location, x); | 1679 |
| 3343 | 1680 @DomName('WebGLRenderingContext.uniform1fv') |
| 3344 @DomName('WebGLRenderingContextBase.uniform1fv') | 1681 @DocsEditable() |
| 3345 @DocsEditable() | 1682 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform1fv_Callback_WebGLUniformLocation_Float32Array(this, loca
tion, v); |
| 3346 @Experimental() // untriaged | 1683 |
| 3347 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContextBase.uniform1fv_Callback_WebGLUniformLocation_Float32Array(this,
location, v); | 1684 @DomName('WebGLRenderingContext.uniform1i') |
| 3348 | 1685 @DocsEditable() |
| 3349 @DomName('WebGLRenderingContextBase.uniform1i') | 1686 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontext.uniform1i_Callback_WebGLUniformLocation_long(this, location, x); |
| 3350 @DocsEditable() | 1687 |
| 3351 @Experimental() // untriaged | 1688 @DomName('WebGLRenderingContext.uniform1iv') |
| 3352 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC
ontextBase.uniform1i_Callback_WebGLUniformLocation_long(this, location, x); | 1689 @DocsEditable() |
| 3353 | 1690 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform1iv_Callback_WebGLUniformLocation_Int32Array(this, location
, v); |
| 3354 @DomName('WebGLRenderingContextBase.uniform1iv') | 1691 |
| 3355 @DocsEditable() | 1692 @DomName('WebGLRenderingContext.uniform2f') |
| 3356 @Experimental() // untriaged | 1693 @DocsEditable() |
| 3357 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContextBase.uniform1iv_Callback_WebGLUniformLocation_Int32Array(this, loca
tion, v); | 1694 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen
deringContext.uniform2f_Callback_WebGLUniformLocation_float_float(this, location
, x, y); |
| 3358 | 1695 |
| 3359 @DomName('WebGLRenderingContextBase.uniform2f') | 1696 @DomName('WebGLRenderingContext.uniform2fv') |
| 3360 @DocsEditable() | 1697 @DocsEditable() |
| 3361 @Experimental() // untriaged | 1698 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform2fv_Callback_WebGLUniformLocation_Float32Array(this, loca
tion, v); |
| 3362 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen
deringContextBase.uniform2f_Callback_WebGLUniformLocation_float_float(this, loca
tion, x, y); | 1699 |
| 3363 | 1700 @DomName('WebGLRenderingContext.uniform2i') |
| 3364 @DomName('WebGLRenderingContextBase.uniform2fv') | 1701 @DocsEditable() |
| 3365 @DocsEditable() | 1702 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen
deringContext.uniform2i_Callback_WebGLUniformLocation_long_long(this, location,
x, y); |
| 3366 @Experimental() // untriaged | 1703 |
| 3367 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContextBase.uniform2fv_Callback_WebGLUniformLocation_Float32Array(this,
location, v); | 1704 @DomName('WebGLRenderingContext.uniform2iv') |
| 3368 | 1705 @DocsEditable() |
| 3369 @DomName('WebGLRenderingContextBase.uniform2i') | 1706 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform2iv_Callback_WebGLUniformLocation_Int32Array(this, location
, v); |
| 3370 @DocsEditable() | 1707 |
| 3371 @Experimental() // untriaged | 1708 @DomName('WebGLRenderingContext.uniform3f') |
| 3372 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen
deringContextBase.uniform2i_Callback_WebGLUniformLocation_long_long(this, locati
on, x, y); | 1709 @DocsEditable() |
| 3373 | 1710 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGLRenderingContext.uniform3f_Callback_WebGLUniformLocation_float_float_float(t
his, location, x, y, z); |
| 3374 @DomName('WebGLRenderingContextBase.uniform2iv') | 1711 |
| 3375 @DocsEditable() | 1712 @DomName('WebGLRenderingContext.uniform3fv') |
| 3376 @Experimental() // untriaged | 1713 @DocsEditable() |
| 3377 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContextBase.uniform2iv_Callback_WebGLUniformLocation_Int32Array(this, loca
tion, v); | 1714 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform3fv_Callback_WebGLUniformLocation_Float32Array(this, loca
tion, v); |
| 3378 | 1715 |
| 3379 @DomName('WebGLRenderingContextBase.uniform3f') | 1716 @DomName('WebGLRenderingContext.uniform3i') |
| 3380 @DocsEditable() | 1717 @DocsEditable() |
| 3381 @Experimental() // untriaged | 1718 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGLRenderingContext.uniform3i_Callback_WebGLUniformLocation_long_long_long(this
, location, x, y, z); |
| 3382 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW
ebGLRenderingContextBase.uniform3f_Callback_WebGLUniformLocation_float_float_flo
at(this, location, x, y, z); | 1719 |
| 3383 | 1720 @DomName('WebGLRenderingContext.uniform3iv') |
| 3384 @DomName('WebGLRenderingContextBase.uniform3fv') | 1721 @DocsEditable() |
| 3385 @DocsEditable() | 1722 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform3iv_Callback_WebGLUniformLocation_Int32Array(this, location
, v); |
| 3386 @Experimental() // untriaged | 1723 |
| 3387 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContextBase.uniform3fv_Callback_WebGLUniformLocation_Float32Array(this,
location, v); | 1724 @DomName('WebGLRenderingContext.uniform4f') |
| 3388 | 1725 @DocsEditable() |
| 3389 @DomName('WebGLRenderingContextBase.uniform3i') | 1726 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGLRenderingContext.uniform4f_Callback_WebGLUniformLocation_float_float_
float_float(this, location, x, y, z, w); |
| 3390 @DocsEditable() | 1727 |
| 3391 @Experimental() // untriaged | 1728 @DomName('WebGLRenderingContext.uniform4fv') |
| 3392 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW
ebGLRenderingContextBase.uniform3i_Callback_WebGLUniformLocation_long_long_long(
this, location, x, y, z); | 1729 @DocsEditable() |
| 3393 | 1730 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContext.uniform4fv_Callback_WebGLUniformLocation_Float32Array(this, loca
tion, v); |
| 3394 @DomName('WebGLRenderingContextBase.uniform3iv') | 1731 |
| 3395 @DocsEditable() | 1732 @DomName('WebGLRenderingContext.uniform4i') |
| 3396 @Experimental() // untriaged | 1733 @DocsEditable() |
| 3397 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContextBase.uniform3iv_Callback_WebGLUniformLocation_Int32Array(this, loca
tion, v); | 1734 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGLRenderingContext.uniform4i_Callback_WebGLUniformLocation_long_long_lo
ng_long(this, location, x, y, z, w); |
| 3398 | 1735 |
| 3399 @DomName('WebGLRenderingContextBase.uniform4f') | 1736 @DomName('WebGLRenderingContext.uniform4iv') |
| 3400 @DocsEditable() | 1737 @DocsEditable() |
| 3401 @Experimental() // untriaged | 1738 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContext.uniform4iv_Callback_WebGLUniformLocation_Int32Array(this, location
, v); |
| 3402 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.BlinkWebGLRenderingContextBase.uniform4f_Callback_WebGLUniformLocation_float_fl
oat_float_float(this, location, x, y, z, w); | 1739 |
| 3403 | 1740 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
| 3404 @DomName('WebGLRenderingContextBase.uniform4fv') | 1741 @DocsEditable() |
| 3405 @DocsEditable() | 1742 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.uniformMatrix2fv_Callback_WebGLUniform
Location_boolean_Float32Array(this, location, transpose, array); |
| 3406 @Experimental() // untriaged | 1743 |
| 3407 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR
enderingContextBase.uniform4fv_Callback_WebGLUniformLocation_Float32Array(this,
location, v); | 1744 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
| 3408 | 1745 @DocsEditable() |
| 3409 @DomName('WebGLRenderingContextBase.uniform4i') | 1746 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.uniformMatrix3fv_Callback_WebGLUniform
Location_boolean_Float32Array(this, location, transpose, array); |
| 3410 @DocsEditable() | 1747 |
| 3411 @Experimental() // untriaged | 1748 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
| 3412 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.BlinkWebGLRenderingContextBase.uniform4i_Callback_WebGLUniformLocation_long_lon
g_long_long(this, location, x, y, z, w); | 1749 @DocsEditable() |
| 3413 | 1750 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContext.uniformMatrix4fv_Callback_WebGLUniform
Location_boolean_Float32Array(this, location, transpose, array); |
| 3414 @DomName('WebGLRenderingContextBase.uniform4iv') | 1751 |
| 3415 @DocsEditable() | 1752 @DomName('WebGLRenderingContext.useProgram') |
| 3416 @Experimental() // untriaged | 1753 @DocsEditable() |
| 3417 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen
deringContextBase.uniform4iv_Callback_WebGLUniformLocation_Int32Array(this, loca
tion, v); | 1754 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.useProgr
am_Callback_WebGLProgram(this, program); |
| 3418 | 1755 |
| 3419 @DomName('WebGLRenderingContextBase.uniformMatrix2fv') | 1756 @DomName('WebGLRenderingContext.validateProgram') |
| 3420 @DocsEditable() | 1757 @DocsEditable() |
| 3421 @Experimental() // untriaged | 1758 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.val
idateProgram_Callback_WebGLProgram(this, program); |
| 3422 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContextBase.uniformMatrix2fv_Callback_WebGLUni
formLocation_boolean_Float32Array(this, location, transpose, array); | 1759 |
| 3423 | 1760 @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 3424 @DomName('WebGLRenderingContextBase.uniformMatrix3fv') | 1761 @DocsEditable() |
| 3425 @DocsEditable() | 1762 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.vert
exAttrib1f_Callback_ul_float(this, indx, x); |
| 3426 @Experimental() // untriaged | 1763 |
| 3427 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContextBase.uniformMatrix3fv_Callback_WebGLUni
formLocation_boolean_Float32Array(this, location, transpose, array); | 1764 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 3428 | 1765 @DocsEditable() |
| 3429 @DomName('WebGLRenderingContextBase.uniformMatrix4fv') | 1766 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib1fv_Callback_ul_Float32Array(this, indx, values); |
| 3430 @DocsEditable() | 1767 |
| 3431 @Experimental() // untriaged | 1768 @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 3432 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.BlinkWebGLRenderingContextBase.uniformMatrix4fv_Callback_WebGLUni
formLocation_boolean_Float32Array(this, location, transpose, array); | 1769 @DocsEditable() |
| 3433 | 1770 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xt.vertexAttrib2f_Callback_ul_float_float(this, indx, x, y); |
| 3434 @DomName('WebGLRenderingContextBase.useProgram') | 1771 |
| 3435 @DocsEditable() | 1772 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 3436 @Experimental() // untriaged | 1773 @DocsEditable() |
| 3437 void useProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.useP
rogram_Callback_WebGLProgram(this, program); | 1774 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib2fv_Callback_ul_Float32Array(this, indx, values); |
| 3438 | 1775 |
| 3439 @DomName('WebGLRenderingContextBase.validateProgram') | 1776 @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 3440 @DocsEditable() | 1777 @DocsEditable() |
| 3441 @Experimental() // untriaged | 1778 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib3f_Callback_ul_float_float_float(this, indx, x, y, z); |
| 3442 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContextBase
.validateProgram_Callback_WebGLProgram(this, program); | 1779 |
| 3443 | 1780 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 3444 @DomName('WebGLRenderingContextBase.vertexAttrib1f') | 1781 @DocsEditable() |
| 3445 @DocsEditable() | 1782 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib3fv_Callback_ul_Float32Array(this, indx, values); |
| 3446 @Experimental() // untriaged | 1783 |
| 3447 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContextBase.
vertexAttrib1f_Callback_ul_float(this, indx, x); | 1784 @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 3448 | 1785 @DocsEditable() |
| 3449 @DomName('WebGLRenderingContextBase.vertexAttrib1fv') | 1786 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
RenderingContext.vertexAttrib4f_Callback_ul_float_float_float_float(this, indx,
x, y, z, w); |
| 3450 @DocsEditable() | 1787 |
| 3451 @Experimental() // untriaged | 1788 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 3452 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContextBase.vertexAttrib1fv_Callback_ul_Float32Array(this, indx, values); | 1789 @DocsEditable() |
| 3453 | 1790 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContext.vertexAttrib4fv_Callback_ul_Float32Array(this, indx, values); |
| 3454 @DomName('WebGLRenderingContextBase.vertexAttrib2f') | 1791 |
| 3455 @DocsEditable() | 1792 @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 3456 @Experimental() // untriaged | 1793 @DocsEditable() |
| 3457 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte
xtBase.vertexAttrib2f_Callback_ul_float_float(this, indx, x, y); | 1794 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGLRenderingContext.vertexAttribPointer_Callb
ack_ul_long_ul_boolean_long_ll(this, indx, size, type, normalized, stride, offse
t); |
| 3458 | 1795 |
| 3459 @DomName('WebGLRenderingContextBase.vertexAttrib2fv') | 1796 @DomName('WebGLRenderingContext.viewport') |
| 3460 @DocsEditable() | 1797 @DocsEditable() |
| 3461 @Experimental() // untriaged | 1798 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi
ngContext.viewport_Callback_long_long_long_long(this, x, y, width, height); |
| 3462 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContextBase.vertexAttrib2fv_Callback_ul_Float32Array(this, indx, values); | 1799 |
| 3463 | 1800 |
| 3464 @DomName('WebGLRenderingContextBase.vertexAttrib3f') | 1801 /** |
| 3465 @DocsEditable() | 1802 * Sets the currently bound texture to [data]. |
| 3466 @Experimental() // untriaged | 1803 * |
| 3467 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi
ngContextBase.vertexAttrib3f_Callback_ul_float_float_float(this, indx, x, y, z); | 1804 * [data] can be either an [ImageElement], a |
| 3468 | 1805 * [CanvasElement], a [VideoElement], or an [ImageData] object. |
| 3469 @DomName('WebGLRenderingContextBase.vertexAttrib3fv') | 1806 * |
| 3470 @DocsEditable() | 1807 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. |
| 3471 @Experimental() // untriaged | 1808 * |
| 3472 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContextBase.vertexAttrib3fv_Callback_ul_Float32Array(this, indx, values); | 1809 */ |
| 3473 | 1810 void texImage2DUntyped(int targetTexture, int levelOfDetail, |
| 3474 @DomName('WebGLRenderingContextBase.vertexAttrib4f') | 1811 int internalFormat, int format, int type, data) { |
| 3475 @DocsEditable() | 1812 if (data is ImageElement) { |
| 3476 @Experimental() // untriaged | 1813 texImage2DImage(targetTexture, levelOfDetail, internalFormat, format, |
| 3477 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL
RenderingContextBase.vertexAttrib4f_Callback_ul_float_float_float_float(this, in
dx, x, y, z, w); | 1814 type, data); |
| 3478 | 1815 } else if (data is ImageData) { |
| 3479 @DomName('WebGLRenderingContextBase.vertexAttrib4fv') | 1816 texImage2DImageData(targetTexture, levelOfDetail, internalFormat, format, |
| 3480 @DocsEditable() | 1817 type, data); |
| 3481 @Experimental() // untriaged | 1818 } else if (data is CanvasElement) { |
| 3482 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi
ngContextBase.vertexAttrib4fv_Callback_ul_Float32Array(this, indx, values); | 1819 texImage2DCanvas(targetTexture, levelOfDetail, internalFormat, format, |
| 3483 | 1820 type, data); |
| 3484 @DomName('WebGLRenderingContextBase.vertexAttribPointer') | 1821 } else { |
| 3485 @DocsEditable() | 1822 texImage2DVideo(targetTexture, levelOfDetail, internalFormat, format, |
| 3486 @Experimental() // untriaged | 1823 type, data); |
| 3487 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.BlinkWebGLRenderingContextBase.vertexAttribPointer_C
allback_ul_long_ul_boolean_long_ll(this, indx, size, type, normalized, stride, o
ffset); | 1824 } |
| 3488 | 1825 } |
| 3489 @DomName('WebGLRenderingContextBase.viewport') | 1826 |
| 3490 @DocsEditable() | 1827 /** |
| 3491 @Experimental() // untriaged | 1828 * Sets the currently bound texture to [data]. |
| 3492 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi
ngContextBase.viewport_Callback_long_long_long_long(this, x, y, width, height); | 1829 */ |
| 3493 | 1830 void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, |
| 1831 int width, int height, int border, int format, int type, TypedData data) { |
| 1832 texImage2D(targetTexture, levelOfDetail, internalFormat, |
| 1833 width, height, border, format, type, data); |
| 1834 } |
| 1835 |
| 1836 /** |
| 1837 * Updates a sub-rectangle of the currently bound texture to [data]. |
| 1838 * |
| 1839 * [data] can be either an [ImageElement], a |
| 1840 * [CanvasElement], a [VideoElement], or an [ImageData] object. |
| 1841 * |
| 1842 * To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped]. |
| 1843 * |
| 1844 */ |
| 1845 void texSubImage2DUntyped(int targetTexture, int levelOfDetail, |
| 1846 int xOffset, int yOffset, int format, int type, data) { |
| 1847 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, |
| 1848 format, type, data); |
| 1849 } |
| 1850 |
| 1851 /** |
| 1852 * Updates a sub-rectangle of the currently bound texture to [data]. |
| 1853 */ |
| 1854 void texSubImage2DTyped(int targetTexture, int levelOfDetail, |
| 1855 int xOffset, int yOffset, int width, int height, int format, |
| 1856 int type, TypedData data) { |
| 1857 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, |
| 1858 width, height, format, type, data); |
| 1859 } |
| 3494 } | 1860 } |
| 3495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3496 // for details. All rights reserved. Use of this source code is governed by a | 1862 // for details. All rights reserved. Use of this source code is governed by a |
| 3497 // BSD-style license that can be found in the LICENSE file. | 1863 // BSD-style license that can be found in the LICENSE file. |
| 3498 | 1864 |
| 3499 // WARNING: Do not edit - generated code. | 1865 // WARNING: Do not edit - generated code. |
| 3500 | 1866 |
| 3501 | 1867 |
| 3502 @DocsEditable() | 1868 @DocsEditable() |
| 3503 @DomName('WebGLShader') | 1869 @DomName('WebGLShader') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3569 | 1935 |
| 3570 @DocsEditable() | 1936 @DocsEditable() |
| 3571 @DomName('WebGLVertexArrayObjectOES') | 1937 @DomName('WebGLVertexArrayObjectOES') |
| 3572 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 1938 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 3573 @Experimental() // experimental | 1939 @Experimental() // experimental |
| 3574 class VertexArrayObject extends NativeFieldWrapperClass2 { | 1940 class VertexArrayObject extends NativeFieldWrapperClass2 { |
| 3575 // To suppress missing implicit constructor warnings. | 1941 // To suppress missing implicit constructor warnings. |
| 3576 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 1942 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 3577 | 1943 |
| 3578 } | 1944 } |
| 1945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1946 // for details. All rights reserved. Use of this source code is governed by a |
| 1947 // BSD-style license that can be found in the LICENSE file. |
| 1948 |
| 1949 // WARNING: Do not edit - generated code. |
| 1950 |
| 1951 |
| 1952 @DocsEditable() |
| 1953 @DomName('WebGLRenderingContextBase') |
| 1954 @Experimental() // untriaged |
| 1955 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { |
| 1956 // To suppress missing implicit constructor warnings. |
| 1957 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
| 1958 |
| 1959 } |
| OLD | NEW |