@nativescript/canvas 2.0.0-alpha.0 → 2.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas2D/CanvasRenderingContext2D/index.android.js +24 -0
- package/Canvas2D/CanvasRenderingContext2D/index.android.js.map +1 -1
- package/ImageBitmap/index.android.js.map +1 -1
- package/TextDecoder/TextDecoder.android.js +16 -0
- package/TextDecoder/TextDecoder.android.js.map +1 -1
- package/TextEncoder/TextEncoder.android.js +16 -0
- package/TextEncoder/TextEncoder.android.js.map +1 -1
- package/WebGL/WebGLRenderingContext/common.d.ts +3 -1
- package/WebGL/WebGLRenderingContext/common.js +188 -178
- package/WebGL/WebGLRenderingContext/common.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.android.d.ts +0 -2
- package/WebGL/WebGLRenderingContext/index.android.js +833 -12
- package/WebGL/WebGLRenderingContext/index.android.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.d.ts +11 -14
- package/WebGL2/WebGL2RenderingContext/index.android.d.ts +0 -2
- package/WebGL2/WebGL2RenderingContext/index.android.js +5 -13
- package/WebGL2/WebGL2RenderingContext/index.android.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/canvas-release.aar +0 -0
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import { WebGLRenderingContextBase } from './common';
|
|
2
11
|
import { WebGLShader } from '../WebGLShader';
|
|
3
12
|
import { WebGLFramebuffer } from '../WebGLFramebuffer';
|
|
@@ -8,7 +17,7 @@ import { WebGLActiveInfo } from '../WebGLActiveInfo';
|
|
|
8
17
|
import { WebGLRenderbuffer } from '../WebGLRenderbuffer';
|
|
9
18
|
import { WebGLShaderPrecisionFormat } from '../WebGLShaderPrecisionFormat';
|
|
10
19
|
import { WebGLBuffer } from '../WebGLBuffer';
|
|
11
|
-
import { ImageSource, Screen } from '@nativescript/core';
|
|
20
|
+
import { ImageSource, profile, Screen } from '@nativescript/core';
|
|
12
21
|
import { ANGLE_instanced_arrays, EXT_blend_minmax, EXT_color_buffer_half_float, EXT_disjoint_timer_query, EXT_shader_texture_lod, EXT_sRGB, EXT_texture_filter_anisotropic, OES_element_index_uint, OES_standard_derivatives, OES_texture_float, OES_texture_float_linear, OES_texture_half_float, OES_texture_half_float_linear, OES_vertex_array_object, WEBGL_color_buffer_float, WEBGL_compressed_texture_atc, WEBGL_compressed_texture_etc, WEBGL_compressed_texture_etc1, WEBGL_compressed_texture_pvrtc, WEBGL_compressed_texture_s3tc, WEBGL_depth_texture, WEBGL_draw_buffers, WEBGL_lose_context, } from '../WebGLExtensions';
|
|
13
22
|
import { ImageAsset } from '../../ImageAsset';
|
|
14
23
|
import { Canvas } from '../../Canvas';
|
|
@@ -18,7 +27,6 @@ let ctor;
|
|
|
18
27
|
export class WebGLRenderingContext extends WebGLRenderingContextBase {
|
|
19
28
|
constructor(context, contextOptions) {
|
|
20
29
|
super(context);
|
|
21
|
-
this._methodCache = new Map();
|
|
22
30
|
this._flipY = false;
|
|
23
31
|
if (contextOptions) {
|
|
24
32
|
const ctx = BigInt(context.getNativeContext().toString());
|
|
@@ -41,15 +49,6 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
|
|
|
41
49
|
get drawingBufferWidth() {
|
|
42
50
|
return this.native.drawingBufferWidth;
|
|
43
51
|
}
|
|
44
|
-
_getMethod(name) {
|
|
45
|
-
const cached = this._methodCache.get(name);
|
|
46
|
-
if (cached === undefined) {
|
|
47
|
-
const ret = this.native[name];
|
|
48
|
-
this._methodCache.set(name, ret);
|
|
49
|
-
return ret;
|
|
50
|
-
}
|
|
51
|
-
return cached;
|
|
52
|
-
}
|
|
53
52
|
__toDataURL() {
|
|
54
53
|
const __toDataURL = this._getMethod('__toDataURL');
|
|
55
54
|
return __toDataURL(arguments[0], arguments[1]);
|
|
@@ -857,7 +856,7 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
|
|
|
857
856
|
this._checkArgs('texImage2D', arguments);
|
|
858
857
|
const texImage2D = this._getMethod('texImage2D');
|
|
859
858
|
if (arguments.length === 9) {
|
|
860
|
-
texImage2D(target, level, internalformat, width, height, border, format, type, pixels);
|
|
859
|
+
texImage2D(target, level, internalformat, width, height, border, format, type !== null && type !== void 0 ? type : internalformat, pixels);
|
|
861
860
|
}
|
|
862
861
|
else if (arguments.length === 6) {
|
|
863
862
|
if (border && typeof border.tagName === 'string' && (border.tagName === 'VID' || border.tagName === 'VIDEO') && border._video && typeof border._video.getCurrentFrame === 'function') {
|
|
@@ -1181,4 +1180,826 @@ WebGLRenderingContext.filter = 'both';
|
|
|
1181
1180
|
Helpers.initialize();
|
|
1182
1181
|
ctor = global.CanvasJSIModule.createWebGLContext;
|
|
1183
1182
|
})();
|
|
1183
|
+
__decorate([
|
|
1184
|
+
profile,
|
|
1185
|
+
__metadata("design:type", Function),
|
|
1186
|
+
__metadata("design:paramtypes", [Number]),
|
|
1187
|
+
__metadata("design:returntype", void 0)
|
|
1188
|
+
], WebGLRenderingContext.prototype, "activeTexture", null);
|
|
1189
|
+
__decorate([
|
|
1190
|
+
profile,
|
|
1191
|
+
__metadata("design:type", Function),
|
|
1192
|
+
__metadata("design:paramtypes", [WebGLProgram, WebGLShader]),
|
|
1193
|
+
__metadata("design:returntype", void 0)
|
|
1194
|
+
], WebGLRenderingContext.prototype, "attachShader", null);
|
|
1195
|
+
__decorate([
|
|
1196
|
+
profile,
|
|
1197
|
+
__metadata("design:type", Function),
|
|
1198
|
+
__metadata("design:paramtypes", [WebGLProgram, Number, String]),
|
|
1199
|
+
__metadata("design:returntype", void 0)
|
|
1200
|
+
], WebGLRenderingContext.prototype, "bindAttribLocation", null);
|
|
1201
|
+
__decorate([
|
|
1202
|
+
profile,
|
|
1203
|
+
__metadata("design:type", Function),
|
|
1204
|
+
__metadata("design:paramtypes", [Number, WebGLBuffer]),
|
|
1205
|
+
__metadata("design:returntype", void 0)
|
|
1206
|
+
], WebGLRenderingContext.prototype, "bindBuffer", null);
|
|
1207
|
+
__decorate([
|
|
1208
|
+
profile,
|
|
1209
|
+
__metadata("design:type", Function),
|
|
1210
|
+
__metadata("design:paramtypes", [Number, WebGLFramebuffer]),
|
|
1211
|
+
__metadata("design:returntype", void 0)
|
|
1212
|
+
], WebGLRenderingContext.prototype, "bindFramebuffer", null);
|
|
1213
|
+
__decorate([
|
|
1214
|
+
profile,
|
|
1215
|
+
__metadata("design:type", Function),
|
|
1216
|
+
__metadata("design:paramtypes", [Number, WebGLRenderbuffer]),
|
|
1217
|
+
__metadata("design:returntype", void 0)
|
|
1218
|
+
], WebGLRenderingContext.prototype, "bindRenderbuffer", null);
|
|
1219
|
+
__decorate([
|
|
1220
|
+
profile,
|
|
1221
|
+
__metadata("design:type", Function),
|
|
1222
|
+
__metadata("design:paramtypes", [Number, WebGLTexture]),
|
|
1223
|
+
__metadata("design:returntype", void 0)
|
|
1224
|
+
], WebGLRenderingContext.prototype, "bindTexture", null);
|
|
1225
|
+
__decorate([
|
|
1226
|
+
profile,
|
|
1227
|
+
__metadata("design:type", Function),
|
|
1228
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1229
|
+
__metadata("design:returntype", void 0)
|
|
1230
|
+
], WebGLRenderingContext.prototype, "blendColor", null);
|
|
1231
|
+
__decorate([
|
|
1232
|
+
profile,
|
|
1233
|
+
__metadata("design:type", Function),
|
|
1234
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1235
|
+
__metadata("design:returntype", void 0)
|
|
1236
|
+
], WebGLRenderingContext.prototype, "blendEquationSeparate", null);
|
|
1237
|
+
__decorate([
|
|
1238
|
+
profile,
|
|
1239
|
+
__metadata("design:type", Function),
|
|
1240
|
+
__metadata("design:paramtypes", [Number]),
|
|
1241
|
+
__metadata("design:returntype", void 0)
|
|
1242
|
+
], WebGLRenderingContext.prototype, "blendEquation", null);
|
|
1243
|
+
__decorate([
|
|
1244
|
+
profile,
|
|
1245
|
+
__metadata("design:type", Function),
|
|
1246
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1247
|
+
__metadata("design:returntype", void 0)
|
|
1248
|
+
], WebGLRenderingContext.prototype, "blendFuncSeparate", null);
|
|
1249
|
+
__decorate([
|
|
1250
|
+
profile,
|
|
1251
|
+
__metadata("design:type", Function),
|
|
1252
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1253
|
+
__metadata("design:returntype", void 0)
|
|
1254
|
+
], WebGLRenderingContext.prototype, "blendFunc", null);
|
|
1255
|
+
__decorate([
|
|
1256
|
+
profile,
|
|
1257
|
+
__metadata("design:type", Function),
|
|
1258
|
+
__metadata("design:paramtypes", [Object, Object, Object]),
|
|
1259
|
+
__metadata("design:returntype", void 0)
|
|
1260
|
+
], WebGLRenderingContext.prototype, "bufferData", null);
|
|
1261
|
+
__decorate([
|
|
1262
|
+
profile,
|
|
1263
|
+
__metadata("design:type", Function),
|
|
1264
|
+
__metadata("design:paramtypes", [Number, Number, Object]),
|
|
1265
|
+
__metadata("design:returntype", void 0)
|
|
1266
|
+
], WebGLRenderingContext.prototype, "bufferSubData", null);
|
|
1267
|
+
__decorate([
|
|
1268
|
+
profile,
|
|
1269
|
+
__metadata("design:type", Function),
|
|
1270
|
+
__metadata("design:paramtypes", [Number]),
|
|
1271
|
+
__metadata("design:returntype", Number)
|
|
1272
|
+
], WebGLRenderingContext.prototype, "checkFramebufferStatus", null);
|
|
1273
|
+
__decorate([
|
|
1274
|
+
profile,
|
|
1275
|
+
__metadata("design:type", Function),
|
|
1276
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1277
|
+
__metadata("design:returntype", void 0)
|
|
1278
|
+
], WebGLRenderingContext.prototype, "clearColor", null);
|
|
1279
|
+
__decorate([
|
|
1280
|
+
profile,
|
|
1281
|
+
__metadata("design:type", Function),
|
|
1282
|
+
__metadata("design:paramtypes", [Number]),
|
|
1283
|
+
__metadata("design:returntype", void 0)
|
|
1284
|
+
], WebGLRenderingContext.prototype, "clearDepth", null);
|
|
1285
|
+
__decorate([
|
|
1286
|
+
profile,
|
|
1287
|
+
__metadata("design:type", Function),
|
|
1288
|
+
__metadata("design:paramtypes", [Number]),
|
|
1289
|
+
__metadata("design:returntype", void 0)
|
|
1290
|
+
], WebGLRenderingContext.prototype, "clearStencil", null);
|
|
1291
|
+
__decorate([
|
|
1292
|
+
profile,
|
|
1293
|
+
__metadata("design:type", Function),
|
|
1294
|
+
__metadata("design:paramtypes", [Number]),
|
|
1295
|
+
__metadata("design:returntype", void 0)
|
|
1296
|
+
], WebGLRenderingContext.prototype, "clear", null);
|
|
1297
|
+
__decorate([
|
|
1298
|
+
profile,
|
|
1299
|
+
__metadata("design:type", Function),
|
|
1300
|
+
__metadata("design:paramtypes", [Boolean, Boolean, Boolean, Boolean]),
|
|
1301
|
+
__metadata("design:returntype", void 0)
|
|
1302
|
+
], WebGLRenderingContext.prototype, "colorMask", null);
|
|
1303
|
+
__decorate([
|
|
1304
|
+
profile,
|
|
1305
|
+
__metadata("design:type", Function),
|
|
1306
|
+
__metadata("design:paramtypes", []),
|
|
1307
|
+
__metadata("design:returntype", void 0)
|
|
1308
|
+
], WebGLRenderingContext.prototype, "commit", null);
|
|
1309
|
+
__decorate([
|
|
1310
|
+
profile,
|
|
1311
|
+
__metadata("design:type", Function),
|
|
1312
|
+
__metadata("design:paramtypes", [WebGLShader]),
|
|
1313
|
+
__metadata("design:returntype", void 0)
|
|
1314
|
+
], WebGLRenderingContext.prototype, "compileShader", null);
|
|
1315
|
+
__decorate([
|
|
1316
|
+
profile,
|
|
1317
|
+
__metadata("design:type", Function),
|
|
1318
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Object]),
|
|
1319
|
+
__metadata("design:returntype", void 0)
|
|
1320
|
+
], WebGLRenderingContext.prototype, "compressedTexImage2D", null);
|
|
1321
|
+
__decorate([
|
|
1322
|
+
profile,
|
|
1323
|
+
__metadata("design:type", Function),
|
|
1324
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Object]),
|
|
1325
|
+
__metadata("design:returntype", void 0)
|
|
1326
|
+
], WebGLRenderingContext.prototype, "compressedTexSubImage2D", null);
|
|
1327
|
+
__decorate([
|
|
1328
|
+
profile,
|
|
1329
|
+
__metadata("design:type", Function),
|
|
1330
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Number]),
|
|
1331
|
+
__metadata("design:returntype", void 0)
|
|
1332
|
+
], WebGLRenderingContext.prototype, "copyTexImage2D", null);
|
|
1333
|
+
__decorate([
|
|
1334
|
+
profile,
|
|
1335
|
+
__metadata("design:type", Function),
|
|
1336
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Number]),
|
|
1337
|
+
__metadata("design:returntype", void 0)
|
|
1338
|
+
], WebGLRenderingContext.prototype, "copyTexSubImage2D", null);
|
|
1339
|
+
__decorate([
|
|
1340
|
+
profile,
|
|
1341
|
+
__metadata("design:type", Function),
|
|
1342
|
+
__metadata("design:paramtypes", []),
|
|
1343
|
+
__metadata("design:returntype", WebGLBuffer)
|
|
1344
|
+
], WebGLRenderingContext.prototype, "createBuffer", null);
|
|
1345
|
+
__decorate([
|
|
1346
|
+
profile,
|
|
1347
|
+
__metadata("design:type", Function),
|
|
1348
|
+
__metadata("design:paramtypes", []),
|
|
1349
|
+
__metadata("design:returntype", WebGLFramebuffer)
|
|
1350
|
+
], WebGLRenderingContext.prototype, "createFramebuffer", null);
|
|
1351
|
+
__decorate([
|
|
1352
|
+
profile,
|
|
1353
|
+
__metadata("design:type", Function),
|
|
1354
|
+
__metadata("design:paramtypes", []),
|
|
1355
|
+
__metadata("design:returntype", WebGLProgram)
|
|
1356
|
+
], WebGLRenderingContext.prototype, "createProgram", null);
|
|
1357
|
+
__decorate([
|
|
1358
|
+
profile,
|
|
1359
|
+
__metadata("design:type", Function),
|
|
1360
|
+
__metadata("design:paramtypes", []),
|
|
1361
|
+
__metadata("design:returntype", WebGLRenderbuffer)
|
|
1362
|
+
], WebGLRenderingContext.prototype, "createRenderbuffer", null);
|
|
1363
|
+
__decorate([
|
|
1364
|
+
profile,
|
|
1365
|
+
__metadata("design:type", Function),
|
|
1366
|
+
__metadata("design:paramtypes", [Number]),
|
|
1367
|
+
__metadata("design:returntype", WebGLShader)
|
|
1368
|
+
], WebGLRenderingContext.prototype, "createShader", null);
|
|
1369
|
+
__decorate([
|
|
1370
|
+
profile,
|
|
1371
|
+
__metadata("design:type", Function),
|
|
1372
|
+
__metadata("design:paramtypes", []),
|
|
1373
|
+
__metadata("design:returntype", WebGLTexture)
|
|
1374
|
+
], WebGLRenderingContext.prototype, "createTexture", null);
|
|
1375
|
+
__decorate([
|
|
1376
|
+
profile,
|
|
1377
|
+
__metadata("design:type", Function),
|
|
1378
|
+
__metadata("design:paramtypes", [Number]),
|
|
1379
|
+
__metadata("design:returntype", void 0)
|
|
1380
|
+
], WebGLRenderingContext.prototype, "cullFace", null);
|
|
1381
|
+
__decorate([
|
|
1382
|
+
profile,
|
|
1383
|
+
__metadata("design:type", Function),
|
|
1384
|
+
__metadata("design:paramtypes", [WebGLBuffer]),
|
|
1385
|
+
__metadata("design:returntype", void 0)
|
|
1386
|
+
], WebGLRenderingContext.prototype, "deleteBuffer", null);
|
|
1387
|
+
__decorate([
|
|
1388
|
+
profile,
|
|
1389
|
+
__metadata("design:type", Function),
|
|
1390
|
+
__metadata("design:paramtypes", [WebGLFramebuffer]),
|
|
1391
|
+
__metadata("design:returntype", void 0)
|
|
1392
|
+
], WebGLRenderingContext.prototype, "deleteFramebuffer", null);
|
|
1393
|
+
__decorate([
|
|
1394
|
+
profile,
|
|
1395
|
+
__metadata("design:type", Function),
|
|
1396
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1397
|
+
__metadata("design:returntype", void 0)
|
|
1398
|
+
], WebGLRenderingContext.prototype, "deleteProgram", null);
|
|
1399
|
+
__decorate([
|
|
1400
|
+
profile,
|
|
1401
|
+
__metadata("design:type", Function),
|
|
1402
|
+
__metadata("design:paramtypes", [WebGLRenderbuffer]),
|
|
1403
|
+
__metadata("design:returntype", void 0)
|
|
1404
|
+
], WebGLRenderingContext.prototype, "deleteRenderbuffer", null);
|
|
1405
|
+
__decorate([
|
|
1406
|
+
profile,
|
|
1407
|
+
__metadata("design:type", Function),
|
|
1408
|
+
__metadata("design:paramtypes", [WebGLRenderbuffer]),
|
|
1409
|
+
__metadata("design:returntype", void 0)
|
|
1410
|
+
], WebGLRenderingContext.prototype, "deleteShader", null);
|
|
1411
|
+
__decorate([
|
|
1412
|
+
profile,
|
|
1413
|
+
__metadata("design:type", Function),
|
|
1414
|
+
__metadata("design:paramtypes", [WebGLTexture]),
|
|
1415
|
+
__metadata("design:returntype", void 0)
|
|
1416
|
+
], WebGLRenderingContext.prototype, "deleteTexture", null);
|
|
1417
|
+
__decorate([
|
|
1418
|
+
profile,
|
|
1419
|
+
__metadata("design:type", Function),
|
|
1420
|
+
__metadata("design:paramtypes", [Number]),
|
|
1421
|
+
__metadata("design:returntype", void 0)
|
|
1422
|
+
], WebGLRenderingContext.prototype, "depthFunc", null);
|
|
1423
|
+
__decorate([
|
|
1424
|
+
profile,
|
|
1425
|
+
__metadata("design:type", Function),
|
|
1426
|
+
__metadata("design:paramtypes", [Boolean]),
|
|
1427
|
+
__metadata("design:returntype", void 0)
|
|
1428
|
+
], WebGLRenderingContext.prototype, "depthMask", null);
|
|
1429
|
+
__decorate([
|
|
1430
|
+
profile,
|
|
1431
|
+
__metadata("design:type", Function),
|
|
1432
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1433
|
+
__metadata("design:returntype", void 0)
|
|
1434
|
+
], WebGLRenderingContext.prototype, "depthRange", null);
|
|
1435
|
+
__decorate([
|
|
1436
|
+
profile,
|
|
1437
|
+
__metadata("design:type", Function),
|
|
1438
|
+
__metadata("design:paramtypes", [WebGLProgram, WebGLShader]),
|
|
1439
|
+
__metadata("design:returntype", void 0)
|
|
1440
|
+
], WebGLRenderingContext.prototype, "detachShader", null);
|
|
1441
|
+
__decorate([
|
|
1442
|
+
profile,
|
|
1443
|
+
__metadata("design:type", Function),
|
|
1444
|
+
__metadata("design:paramtypes", [Number]),
|
|
1445
|
+
__metadata("design:returntype", void 0)
|
|
1446
|
+
], WebGLRenderingContext.prototype, "disableVertexAttribArray", null);
|
|
1447
|
+
__decorate([
|
|
1448
|
+
profile,
|
|
1449
|
+
__metadata("design:type", Function),
|
|
1450
|
+
__metadata("design:paramtypes", [Number]),
|
|
1451
|
+
__metadata("design:returntype", void 0)
|
|
1452
|
+
], WebGLRenderingContext.prototype, "disable", null);
|
|
1453
|
+
__decorate([
|
|
1454
|
+
profile,
|
|
1455
|
+
__metadata("design:type", Function),
|
|
1456
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1457
|
+
__metadata("design:returntype", void 0)
|
|
1458
|
+
], WebGLRenderingContext.prototype, "drawArrays", null);
|
|
1459
|
+
__decorate([
|
|
1460
|
+
profile,
|
|
1461
|
+
__metadata("design:type", Function),
|
|
1462
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1463
|
+
__metadata("design:returntype", void 0)
|
|
1464
|
+
], WebGLRenderingContext.prototype, "drawElements", null);
|
|
1465
|
+
__decorate([
|
|
1466
|
+
profile,
|
|
1467
|
+
__metadata("design:type", Function),
|
|
1468
|
+
__metadata("design:paramtypes", [Number]),
|
|
1469
|
+
__metadata("design:returntype", void 0)
|
|
1470
|
+
], WebGLRenderingContext.prototype, "enableVertexAttribArray", null);
|
|
1471
|
+
__decorate([
|
|
1472
|
+
profile,
|
|
1473
|
+
__metadata("design:type", Function),
|
|
1474
|
+
__metadata("design:paramtypes", [Number]),
|
|
1475
|
+
__metadata("design:returntype", void 0)
|
|
1476
|
+
], WebGLRenderingContext.prototype, "enable", null);
|
|
1477
|
+
__decorate([
|
|
1478
|
+
profile,
|
|
1479
|
+
__metadata("design:type", Function),
|
|
1480
|
+
__metadata("design:paramtypes", []),
|
|
1481
|
+
__metadata("design:returntype", void 0)
|
|
1482
|
+
], WebGLRenderingContext.prototype, "finish", null);
|
|
1483
|
+
__decorate([
|
|
1484
|
+
profile,
|
|
1485
|
+
__metadata("design:type", Function),
|
|
1486
|
+
__metadata("design:paramtypes", []),
|
|
1487
|
+
__metadata("design:returntype", void 0)
|
|
1488
|
+
], WebGLRenderingContext.prototype, "flush", null);
|
|
1489
|
+
__decorate([
|
|
1490
|
+
profile,
|
|
1491
|
+
__metadata("design:type", Function),
|
|
1492
|
+
__metadata("design:paramtypes", [Number, Number, Number, WebGLRenderbuffer]),
|
|
1493
|
+
__metadata("design:returntype", void 0)
|
|
1494
|
+
], WebGLRenderingContext.prototype, "framebufferRenderbuffer", null);
|
|
1495
|
+
__decorate([
|
|
1496
|
+
profile,
|
|
1497
|
+
__metadata("design:type", Function),
|
|
1498
|
+
__metadata("design:paramtypes", [Number, Number, Number, WebGLTexture, Number]),
|
|
1499
|
+
__metadata("design:returntype", void 0)
|
|
1500
|
+
], WebGLRenderingContext.prototype, "framebufferTexture2D", null);
|
|
1501
|
+
__decorate([
|
|
1502
|
+
profile,
|
|
1503
|
+
__metadata("design:type", Function),
|
|
1504
|
+
__metadata("design:paramtypes", [Number]),
|
|
1505
|
+
__metadata("design:returntype", void 0)
|
|
1506
|
+
], WebGLRenderingContext.prototype, "frontFace", null);
|
|
1507
|
+
__decorate([
|
|
1508
|
+
profile,
|
|
1509
|
+
__metadata("design:type", Function),
|
|
1510
|
+
__metadata("design:paramtypes", [Number]),
|
|
1511
|
+
__metadata("design:returntype", void 0)
|
|
1512
|
+
], WebGLRenderingContext.prototype, "generateMipmap", null);
|
|
1513
|
+
__decorate([
|
|
1514
|
+
profile,
|
|
1515
|
+
__metadata("design:type", Function),
|
|
1516
|
+
__metadata("design:paramtypes", [WebGLProgram, Number]),
|
|
1517
|
+
__metadata("design:returntype", WebGLActiveInfo)
|
|
1518
|
+
], WebGLRenderingContext.prototype, "getActiveAttrib", null);
|
|
1519
|
+
__decorate([
|
|
1520
|
+
profile,
|
|
1521
|
+
__metadata("design:type", Function),
|
|
1522
|
+
__metadata("design:paramtypes", [WebGLProgram, Number]),
|
|
1523
|
+
__metadata("design:returntype", WebGLActiveInfo)
|
|
1524
|
+
], WebGLRenderingContext.prototype, "getActiveUniform", null);
|
|
1525
|
+
__decorate([
|
|
1526
|
+
profile,
|
|
1527
|
+
__metadata("design:type", Function),
|
|
1528
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1529
|
+
__metadata("design:returntype", Array)
|
|
1530
|
+
], WebGLRenderingContext.prototype, "getAttachedShaders", null);
|
|
1531
|
+
__decorate([
|
|
1532
|
+
profile,
|
|
1533
|
+
__metadata("design:type", Function),
|
|
1534
|
+
__metadata("design:paramtypes", [WebGLProgram, String]),
|
|
1535
|
+
__metadata("design:returntype", Number)
|
|
1536
|
+
], WebGLRenderingContext.prototype, "getAttribLocation", null);
|
|
1537
|
+
__decorate([
|
|
1538
|
+
profile,
|
|
1539
|
+
__metadata("design:type", Function),
|
|
1540
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1541
|
+
__metadata("design:returntype", Number)
|
|
1542
|
+
], WebGLRenderingContext.prototype, "getBufferParameter", null);
|
|
1543
|
+
__decorate([
|
|
1544
|
+
profile,
|
|
1545
|
+
__metadata("design:type", Function),
|
|
1546
|
+
__metadata("design:paramtypes", []),
|
|
1547
|
+
__metadata("design:returntype", Object)
|
|
1548
|
+
], WebGLRenderingContext.prototype, "getContextAttributes", null);
|
|
1549
|
+
__decorate([
|
|
1550
|
+
profile,
|
|
1551
|
+
__metadata("design:type", Function),
|
|
1552
|
+
__metadata("design:paramtypes", []),
|
|
1553
|
+
__metadata("design:returntype", Number)
|
|
1554
|
+
], WebGLRenderingContext.prototype, "getError", null);
|
|
1555
|
+
__decorate([
|
|
1556
|
+
profile,
|
|
1557
|
+
__metadata("design:type", Function),
|
|
1558
|
+
__metadata("design:paramtypes", [String]),
|
|
1559
|
+
__metadata("design:returntype", void 0)
|
|
1560
|
+
], WebGLRenderingContext.prototype, "getExtension", null);
|
|
1561
|
+
__decorate([
|
|
1562
|
+
profile,
|
|
1563
|
+
__metadata("design:type", Function),
|
|
1564
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1565
|
+
__metadata("design:returntype", Object)
|
|
1566
|
+
], WebGLRenderingContext.prototype, "getFramebufferAttachmentParameter", null);
|
|
1567
|
+
__decorate([
|
|
1568
|
+
profile,
|
|
1569
|
+
__metadata("design:type", Function),
|
|
1570
|
+
__metadata("design:paramtypes", [Number]),
|
|
1571
|
+
__metadata("design:returntype", Object)
|
|
1572
|
+
], WebGLRenderingContext.prototype, "getParameter", null);
|
|
1573
|
+
__decorate([
|
|
1574
|
+
profile,
|
|
1575
|
+
__metadata("design:type", Function),
|
|
1576
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1577
|
+
__metadata("design:returntype", String)
|
|
1578
|
+
], WebGLRenderingContext.prototype, "getProgramInfoLog", null);
|
|
1579
|
+
__decorate([
|
|
1580
|
+
profile,
|
|
1581
|
+
__metadata("design:type", Function),
|
|
1582
|
+
__metadata("design:paramtypes", [WebGLProgram, Number]),
|
|
1583
|
+
__metadata("design:returntype", Object)
|
|
1584
|
+
], WebGLRenderingContext.prototype, "getProgramParameter", null);
|
|
1585
|
+
__decorate([
|
|
1586
|
+
profile,
|
|
1587
|
+
__metadata("design:type", Function),
|
|
1588
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1589
|
+
__metadata("design:returntype", Number)
|
|
1590
|
+
], WebGLRenderingContext.prototype, "getRenderbufferParameter", null);
|
|
1591
|
+
__decorate([
|
|
1592
|
+
profile,
|
|
1593
|
+
__metadata("design:type", Function),
|
|
1594
|
+
__metadata("design:paramtypes", [WebGLShader]),
|
|
1595
|
+
__metadata("design:returntype", String)
|
|
1596
|
+
], WebGLRenderingContext.prototype, "getShaderInfoLog", null);
|
|
1597
|
+
__decorate([
|
|
1598
|
+
profile,
|
|
1599
|
+
__metadata("design:type", Function),
|
|
1600
|
+
__metadata("design:paramtypes", [WebGLShader, Number]),
|
|
1601
|
+
__metadata("design:returntype", Object)
|
|
1602
|
+
], WebGLRenderingContext.prototype, "getShaderParameter", null);
|
|
1603
|
+
__decorate([
|
|
1604
|
+
profile,
|
|
1605
|
+
__metadata("design:type", Function),
|
|
1606
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1607
|
+
__metadata("design:returntype", WebGLShaderPrecisionFormat)
|
|
1608
|
+
], WebGLRenderingContext.prototype, "getShaderPrecisionFormat", null);
|
|
1609
|
+
__decorate([
|
|
1610
|
+
profile,
|
|
1611
|
+
__metadata("design:type", Function),
|
|
1612
|
+
__metadata("design:paramtypes", [WebGLShader]),
|
|
1613
|
+
__metadata("design:returntype", String)
|
|
1614
|
+
], WebGLRenderingContext.prototype, "getShaderSource", null);
|
|
1615
|
+
__decorate([
|
|
1616
|
+
profile,
|
|
1617
|
+
__metadata("design:type", Function),
|
|
1618
|
+
__metadata("design:paramtypes", []),
|
|
1619
|
+
__metadata("design:returntype", Array)
|
|
1620
|
+
], WebGLRenderingContext.prototype, "getSupportedExtensions", null);
|
|
1621
|
+
__decorate([
|
|
1622
|
+
profile,
|
|
1623
|
+
__metadata("design:type", Function),
|
|
1624
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1625
|
+
__metadata("design:returntype", Number)
|
|
1626
|
+
], WebGLRenderingContext.prototype, "getTexParameter", null);
|
|
1627
|
+
__decorate([
|
|
1628
|
+
profile,
|
|
1629
|
+
__metadata("design:type", Function),
|
|
1630
|
+
__metadata("design:paramtypes", [WebGLProgram, String]),
|
|
1631
|
+
__metadata("design:returntype", WebGLUniformLocation)
|
|
1632
|
+
], WebGLRenderingContext.prototype, "getUniformLocation", null);
|
|
1633
|
+
__decorate([
|
|
1634
|
+
profile,
|
|
1635
|
+
__metadata("design:type", Function),
|
|
1636
|
+
__metadata("design:paramtypes", [WebGLProgram, WebGLUniformLocation]),
|
|
1637
|
+
__metadata("design:returntype", Object)
|
|
1638
|
+
], WebGLRenderingContext.prototype, "getUniform", null);
|
|
1639
|
+
__decorate([
|
|
1640
|
+
profile,
|
|
1641
|
+
__metadata("design:type", Function),
|
|
1642
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1643
|
+
__metadata("design:returntype", Number)
|
|
1644
|
+
], WebGLRenderingContext.prototype, "getVertexAttribOffset", null);
|
|
1645
|
+
__decorate([
|
|
1646
|
+
profile,
|
|
1647
|
+
__metadata("design:type", Function),
|
|
1648
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1649
|
+
__metadata("design:returntype", Object)
|
|
1650
|
+
], WebGLRenderingContext.prototype, "getVertexAttrib", null);
|
|
1651
|
+
__decorate([
|
|
1652
|
+
profile,
|
|
1653
|
+
__metadata("design:type", Function),
|
|
1654
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1655
|
+
__metadata("design:returntype", void 0)
|
|
1656
|
+
], WebGLRenderingContext.prototype, "hint", null);
|
|
1657
|
+
__decorate([
|
|
1658
|
+
profile,
|
|
1659
|
+
__metadata("design:type", Function),
|
|
1660
|
+
__metadata("design:paramtypes", [WebGLBuffer]),
|
|
1661
|
+
__metadata("design:returntype", Boolean)
|
|
1662
|
+
], WebGLRenderingContext.prototype, "isBuffer", null);
|
|
1663
|
+
__decorate([
|
|
1664
|
+
profile,
|
|
1665
|
+
__metadata("design:type", Function),
|
|
1666
|
+
__metadata("design:paramtypes", []),
|
|
1667
|
+
__metadata("design:returntype", Boolean)
|
|
1668
|
+
], WebGLRenderingContext.prototype, "isContextLost", null);
|
|
1669
|
+
__decorate([
|
|
1670
|
+
profile,
|
|
1671
|
+
__metadata("design:type", Function),
|
|
1672
|
+
__metadata("design:paramtypes", [Number]),
|
|
1673
|
+
__metadata("design:returntype", Boolean)
|
|
1674
|
+
], WebGLRenderingContext.prototype, "isEnabled", null);
|
|
1675
|
+
__decorate([
|
|
1676
|
+
profile,
|
|
1677
|
+
__metadata("design:type", Function),
|
|
1678
|
+
__metadata("design:paramtypes", [WebGLFramebuffer]),
|
|
1679
|
+
__metadata("design:returntype", Boolean)
|
|
1680
|
+
], WebGLRenderingContext.prototype, "isFramebuffer", null);
|
|
1681
|
+
__decorate([
|
|
1682
|
+
profile,
|
|
1683
|
+
__metadata("design:type", Function),
|
|
1684
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1685
|
+
__metadata("design:returntype", Boolean)
|
|
1686
|
+
], WebGLRenderingContext.prototype, "isProgram", null);
|
|
1687
|
+
__decorate([
|
|
1688
|
+
profile,
|
|
1689
|
+
__metadata("design:type", Function),
|
|
1690
|
+
__metadata("design:paramtypes", [WebGLRenderbuffer]),
|
|
1691
|
+
__metadata("design:returntype", Boolean)
|
|
1692
|
+
], WebGLRenderingContext.prototype, "isRenderbuffer", null);
|
|
1693
|
+
__decorate([
|
|
1694
|
+
profile,
|
|
1695
|
+
__metadata("design:type", Function),
|
|
1696
|
+
__metadata("design:paramtypes", [WebGLShader]),
|
|
1697
|
+
__metadata("design:returntype", Boolean)
|
|
1698
|
+
], WebGLRenderingContext.prototype, "isShader", null);
|
|
1699
|
+
__decorate([
|
|
1700
|
+
profile,
|
|
1701
|
+
__metadata("design:type", Function),
|
|
1702
|
+
__metadata("design:paramtypes", [WebGLTexture]),
|
|
1703
|
+
__metadata("design:returntype", Boolean)
|
|
1704
|
+
], WebGLRenderingContext.prototype, "isTexture", null);
|
|
1705
|
+
__decorate([
|
|
1706
|
+
profile,
|
|
1707
|
+
__metadata("design:type", Function),
|
|
1708
|
+
__metadata("design:paramtypes", [Number]),
|
|
1709
|
+
__metadata("design:returntype", void 0)
|
|
1710
|
+
], WebGLRenderingContext.prototype, "lineWidth", null);
|
|
1711
|
+
__decorate([
|
|
1712
|
+
profile,
|
|
1713
|
+
__metadata("design:type", Function),
|
|
1714
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1715
|
+
__metadata("design:returntype", void 0)
|
|
1716
|
+
], WebGLRenderingContext.prototype, "linkProgram", null);
|
|
1717
|
+
__decorate([
|
|
1718
|
+
profile,
|
|
1719
|
+
__metadata("design:type", Function),
|
|
1720
|
+
__metadata("design:paramtypes", [Number, Object]),
|
|
1721
|
+
__metadata("design:returntype", void 0)
|
|
1722
|
+
], WebGLRenderingContext.prototype, "pixelStorei", null);
|
|
1723
|
+
__decorate([
|
|
1724
|
+
profile,
|
|
1725
|
+
__metadata("design:type", Function),
|
|
1726
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1727
|
+
__metadata("design:returntype", void 0)
|
|
1728
|
+
], WebGLRenderingContext.prototype, "polygonOffset", null);
|
|
1729
|
+
__decorate([
|
|
1730
|
+
profile,
|
|
1731
|
+
__metadata("design:type", Function),
|
|
1732
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Object]),
|
|
1733
|
+
__metadata("design:returntype", void 0)
|
|
1734
|
+
], WebGLRenderingContext.prototype, "readPixels", null);
|
|
1735
|
+
__decorate([
|
|
1736
|
+
profile,
|
|
1737
|
+
__metadata("design:type", Function),
|
|
1738
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1739
|
+
__metadata("design:returntype", void 0)
|
|
1740
|
+
], WebGLRenderingContext.prototype, "renderbufferStorage", null);
|
|
1741
|
+
__decorate([
|
|
1742
|
+
profile,
|
|
1743
|
+
__metadata("design:type", Function),
|
|
1744
|
+
__metadata("design:paramtypes", [Number, Boolean]),
|
|
1745
|
+
__metadata("design:returntype", void 0)
|
|
1746
|
+
], WebGLRenderingContext.prototype, "sampleCoverage", null);
|
|
1747
|
+
__decorate([
|
|
1748
|
+
profile,
|
|
1749
|
+
__metadata("design:type", Function),
|
|
1750
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1751
|
+
__metadata("design:returntype", void 0)
|
|
1752
|
+
], WebGLRenderingContext.prototype, "scissor", null);
|
|
1753
|
+
__decorate([
|
|
1754
|
+
profile,
|
|
1755
|
+
__metadata("design:type", Function),
|
|
1756
|
+
__metadata("design:paramtypes", [WebGLShader, String]),
|
|
1757
|
+
__metadata("design:returntype", void 0)
|
|
1758
|
+
], WebGLRenderingContext.prototype, "shaderSource", null);
|
|
1759
|
+
__decorate([
|
|
1760
|
+
profile,
|
|
1761
|
+
__metadata("design:type", Function),
|
|
1762
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1763
|
+
__metadata("design:returntype", void 0)
|
|
1764
|
+
], WebGLRenderingContext.prototype, "stencilFuncSeparate", null);
|
|
1765
|
+
__decorate([
|
|
1766
|
+
profile,
|
|
1767
|
+
__metadata("design:type", Function),
|
|
1768
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1769
|
+
__metadata("design:returntype", void 0)
|
|
1770
|
+
], WebGLRenderingContext.prototype, "stencilFunc", null);
|
|
1771
|
+
__decorate([
|
|
1772
|
+
profile,
|
|
1773
|
+
__metadata("design:type", Function),
|
|
1774
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1775
|
+
__metadata("design:returntype", void 0)
|
|
1776
|
+
], WebGLRenderingContext.prototype, "stencilMaskSeparate", null);
|
|
1777
|
+
__decorate([
|
|
1778
|
+
profile,
|
|
1779
|
+
__metadata("design:type", Function),
|
|
1780
|
+
__metadata("design:paramtypes", [Number]),
|
|
1781
|
+
__metadata("design:returntype", void 0)
|
|
1782
|
+
], WebGLRenderingContext.prototype, "stencilMask", null);
|
|
1783
|
+
__decorate([
|
|
1784
|
+
profile,
|
|
1785
|
+
__metadata("design:type", Function),
|
|
1786
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1787
|
+
__metadata("design:returntype", void 0)
|
|
1788
|
+
], WebGLRenderingContext.prototype, "stencilOpSeparate", null);
|
|
1789
|
+
__decorate([
|
|
1790
|
+
profile,
|
|
1791
|
+
__metadata("design:type", Function),
|
|
1792
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1793
|
+
__metadata("design:returntype", void 0)
|
|
1794
|
+
], WebGLRenderingContext.prototype, "stencilOp", null);
|
|
1795
|
+
__decorate([
|
|
1796
|
+
profile,
|
|
1797
|
+
__metadata("design:type", Function),
|
|
1798
|
+
__metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, Object, Object, Object]),
|
|
1799
|
+
__metadata("design:returntype", void 0)
|
|
1800
|
+
], WebGLRenderingContext.prototype, "texImage2D", null);
|
|
1801
|
+
__decorate([
|
|
1802
|
+
profile,
|
|
1803
|
+
__metadata("design:type", Function),
|
|
1804
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1805
|
+
__metadata("design:returntype", void 0)
|
|
1806
|
+
], WebGLRenderingContext.prototype, "texParameterf", null);
|
|
1807
|
+
__decorate([
|
|
1808
|
+
profile,
|
|
1809
|
+
__metadata("design:type", Function),
|
|
1810
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1811
|
+
__metadata("design:returntype", void 0)
|
|
1812
|
+
], WebGLRenderingContext.prototype, "texParameteri", null);
|
|
1813
|
+
__decorate([
|
|
1814
|
+
profile,
|
|
1815
|
+
__metadata("design:type", Function),
|
|
1816
|
+
__metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, Object, Object, Object]),
|
|
1817
|
+
__metadata("design:returntype", void 0)
|
|
1818
|
+
], WebGLRenderingContext.prototype, "texSubImage2D", null);
|
|
1819
|
+
__decorate([
|
|
1820
|
+
profile,
|
|
1821
|
+
__metadata("design:type", Function),
|
|
1822
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number]),
|
|
1823
|
+
__metadata("design:returntype", void 0)
|
|
1824
|
+
], WebGLRenderingContext.prototype, "uniform1f", null);
|
|
1825
|
+
__decorate([
|
|
1826
|
+
profile,
|
|
1827
|
+
__metadata("design:type", Function),
|
|
1828
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1829
|
+
__metadata("design:returntype", void 0)
|
|
1830
|
+
], WebGLRenderingContext.prototype, "uniform1iv", null);
|
|
1831
|
+
__decorate([
|
|
1832
|
+
profile,
|
|
1833
|
+
__metadata("design:type", Function),
|
|
1834
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1835
|
+
__metadata("design:returntype", void 0)
|
|
1836
|
+
], WebGLRenderingContext.prototype, "uniform1fv", null);
|
|
1837
|
+
__decorate([
|
|
1838
|
+
profile,
|
|
1839
|
+
__metadata("design:type", Function),
|
|
1840
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number]),
|
|
1841
|
+
__metadata("design:returntype", void 0)
|
|
1842
|
+
], WebGLRenderingContext.prototype, "uniform1i", null);
|
|
1843
|
+
__decorate([
|
|
1844
|
+
profile,
|
|
1845
|
+
__metadata("design:type", Function),
|
|
1846
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number, Number]),
|
|
1847
|
+
__metadata("design:returntype", void 0)
|
|
1848
|
+
], WebGLRenderingContext.prototype, "uniform2f", null);
|
|
1849
|
+
__decorate([
|
|
1850
|
+
profile,
|
|
1851
|
+
__metadata("design:type", Function),
|
|
1852
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1853
|
+
__metadata("design:returntype", void 0)
|
|
1854
|
+
], WebGLRenderingContext.prototype, "uniform2iv", null);
|
|
1855
|
+
__decorate([
|
|
1856
|
+
profile,
|
|
1857
|
+
__metadata("design:type", Function),
|
|
1858
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1859
|
+
__metadata("design:returntype", void 0)
|
|
1860
|
+
], WebGLRenderingContext.prototype, "uniform2fv", null);
|
|
1861
|
+
__decorate([
|
|
1862
|
+
profile,
|
|
1863
|
+
__metadata("design:type", Function),
|
|
1864
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number, Number]),
|
|
1865
|
+
__metadata("design:returntype", void 0)
|
|
1866
|
+
], WebGLRenderingContext.prototype, "uniform2i", null);
|
|
1867
|
+
__decorate([
|
|
1868
|
+
profile,
|
|
1869
|
+
__metadata("design:type", Function),
|
|
1870
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number]),
|
|
1871
|
+
__metadata("design:returntype", void 0)
|
|
1872
|
+
], WebGLRenderingContext.prototype, "uniform3f", null);
|
|
1873
|
+
__decorate([
|
|
1874
|
+
profile,
|
|
1875
|
+
__metadata("design:type", Function),
|
|
1876
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1877
|
+
__metadata("design:returntype", void 0)
|
|
1878
|
+
], WebGLRenderingContext.prototype, "uniform3iv", null);
|
|
1879
|
+
__decorate([
|
|
1880
|
+
profile,
|
|
1881
|
+
__metadata("design:type", Function),
|
|
1882
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1883
|
+
__metadata("design:returntype", void 0)
|
|
1884
|
+
], WebGLRenderingContext.prototype, "uniform3fv", null);
|
|
1885
|
+
__decorate([
|
|
1886
|
+
profile,
|
|
1887
|
+
__metadata("design:type", Function),
|
|
1888
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number]),
|
|
1889
|
+
__metadata("design:returntype", void 0)
|
|
1890
|
+
], WebGLRenderingContext.prototype, "uniform3i", null);
|
|
1891
|
+
__decorate([
|
|
1892
|
+
profile,
|
|
1893
|
+
__metadata("design:type", Function),
|
|
1894
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number, Number]),
|
|
1895
|
+
__metadata("design:returntype", void 0)
|
|
1896
|
+
], WebGLRenderingContext.prototype, "uniform4f", null);
|
|
1897
|
+
__decorate([
|
|
1898
|
+
profile,
|
|
1899
|
+
__metadata("design:type", Function),
|
|
1900
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1901
|
+
__metadata("design:returntype", void 0)
|
|
1902
|
+
], WebGLRenderingContext.prototype, "uniform4iv", null);
|
|
1903
|
+
__decorate([
|
|
1904
|
+
profile,
|
|
1905
|
+
__metadata("design:type", Function),
|
|
1906
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Array]),
|
|
1907
|
+
__metadata("design:returntype", void 0)
|
|
1908
|
+
], WebGLRenderingContext.prototype, "uniform4fv", null);
|
|
1909
|
+
__decorate([
|
|
1910
|
+
profile,
|
|
1911
|
+
__metadata("design:type", Function),
|
|
1912
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number, Number]),
|
|
1913
|
+
__metadata("design:returntype", void 0)
|
|
1914
|
+
], WebGLRenderingContext.prototype, "uniform4i", null);
|
|
1915
|
+
__decorate([
|
|
1916
|
+
profile,
|
|
1917
|
+
__metadata("design:type", Function),
|
|
1918
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Array]),
|
|
1919
|
+
__metadata("design:returntype", void 0)
|
|
1920
|
+
], WebGLRenderingContext.prototype, "uniformMatrix2fv", null);
|
|
1921
|
+
__decorate([
|
|
1922
|
+
profile,
|
|
1923
|
+
__metadata("design:type", Function),
|
|
1924
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Array]),
|
|
1925
|
+
__metadata("design:returntype", void 0)
|
|
1926
|
+
], WebGLRenderingContext.prototype, "uniformMatrix3fv", null);
|
|
1927
|
+
__decorate([
|
|
1928
|
+
profile,
|
|
1929
|
+
__metadata("design:type", Function),
|
|
1930
|
+
__metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Array]),
|
|
1931
|
+
__metadata("design:returntype", void 0)
|
|
1932
|
+
], WebGLRenderingContext.prototype, "uniformMatrix4fv", null);
|
|
1933
|
+
__decorate([
|
|
1934
|
+
profile,
|
|
1935
|
+
__metadata("design:type", Function),
|
|
1936
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1937
|
+
__metadata("design:returntype", void 0)
|
|
1938
|
+
], WebGLRenderingContext.prototype, "useProgram", null);
|
|
1939
|
+
__decorate([
|
|
1940
|
+
profile,
|
|
1941
|
+
__metadata("design:type", Function),
|
|
1942
|
+
__metadata("design:paramtypes", [WebGLProgram]),
|
|
1943
|
+
__metadata("design:returntype", void 0)
|
|
1944
|
+
], WebGLRenderingContext.prototype, "validateProgram", null);
|
|
1945
|
+
__decorate([
|
|
1946
|
+
profile,
|
|
1947
|
+
__metadata("design:type", Function),
|
|
1948
|
+
__metadata("design:paramtypes", [Number, Number]),
|
|
1949
|
+
__metadata("design:returntype", void 0)
|
|
1950
|
+
], WebGLRenderingContext.prototype, "vertexAttrib1f", null);
|
|
1951
|
+
__decorate([
|
|
1952
|
+
profile,
|
|
1953
|
+
__metadata("design:type", Function),
|
|
1954
|
+
__metadata("design:paramtypes", [Number, Array]),
|
|
1955
|
+
__metadata("design:returntype", void 0)
|
|
1956
|
+
], WebGLRenderingContext.prototype, "vertexAttrib1fv", null);
|
|
1957
|
+
__decorate([
|
|
1958
|
+
profile,
|
|
1959
|
+
__metadata("design:type", Function),
|
|
1960
|
+
__metadata("design:paramtypes", [Number, Number, Number]),
|
|
1961
|
+
__metadata("design:returntype", void 0)
|
|
1962
|
+
], WebGLRenderingContext.prototype, "vertexAttrib2f", null);
|
|
1963
|
+
__decorate([
|
|
1964
|
+
profile,
|
|
1965
|
+
__metadata("design:type", Function),
|
|
1966
|
+
__metadata("design:paramtypes", [Number, Array]),
|
|
1967
|
+
__metadata("design:returntype", void 0)
|
|
1968
|
+
], WebGLRenderingContext.prototype, "vertexAttrib2fv", null);
|
|
1969
|
+
__decorate([
|
|
1970
|
+
profile,
|
|
1971
|
+
__metadata("design:type", Function),
|
|
1972
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
1973
|
+
__metadata("design:returntype", void 0)
|
|
1974
|
+
], WebGLRenderingContext.prototype, "vertexAttrib3f", null);
|
|
1975
|
+
__decorate([
|
|
1976
|
+
profile,
|
|
1977
|
+
__metadata("design:type", Function),
|
|
1978
|
+
__metadata("design:paramtypes", [Number, Array]),
|
|
1979
|
+
__metadata("design:returntype", void 0)
|
|
1980
|
+
], WebGLRenderingContext.prototype, "vertexAttrib3fv", null);
|
|
1981
|
+
__decorate([
|
|
1982
|
+
profile,
|
|
1983
|
+
__metadata("design:type", Function),
|
|
1984
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number]),
|
|
1985
|
+
__metadata("design:returntype", void 0)
|
|
1986
|
+
], WebGLRenderingContext.prototype, "vertexAttrib4f", null);
|
|
1987
|
+
__decorate([
|
|
1988
|
+
profile,
|
|
1989
|
+
__metadata("design:type", Function),
|
|
1990
|
+
__metadata("design:paramtypes", [Number, Array]),
|
|
1991
|
+
__metadata("design:returntype", void 0)
|
|
1992
|
+
], WebGLRenderingContext.prototype, "vertexAttrib4fv", null);
|
|
1993
|
+
__decorate([
|
|
1994
|
+
profile,
|
|
1995
|
+
__metadata("design:type", Function),
|
|
1996
|
+
__metadata("design:paramtypes", [Number, Number, Number, Boolean, Number, Number]),
|
|
1997
|
+
__metadata("design:returntype", void 0)
|
|
1998
|
+
], WebGLRenderingContext.prototype, "vertexAttribPointer", null);
|
|
1999
|
+
__decorate([
|
|
2000
|
+
profile,
|
|
2001
|
+
__metadata("design:type", Function),
|
|
2002
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number]),
|
|
2003
|
+
__metadata("design:returntype", void 0)
|
|
2004
|
+
], WebGLRenderingContext.prototype, "viewport", null);
|
|
1184
2005
|
//# sourceMappingURL=index.android.js.map
|