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