pixi.js 6.5.8 → 6.5.9
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/dist/browser/pixi.js +127 -132
- package/dist/browser/pixi.js.map +1 -1
- package/dist/browser/pixi.min.js +3 -3
- package/dist/browser/pixi.min.js.map +1 -1
- package/dist/browser/pixi.min.mjs +3 -3
- package/dist/browser/pixi.min.mjs.map +1 -1
- package/dist/browser/pixi.mjs +127 -132
- package/dist/browser/pixi.mjs.map +1 -1
- package/dist/cjs/pixi.js +2 -2
- package/dist/cjs/pixi.min.js +2 -2
- package/dist/esm/pixi.min.mjs +2 -2
- package/dist/esm/pixi.mjs +2 -2
- package/package.json +38 -38
package/dist/browser/pixi.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* pixi.js - v6.5.
|
|
3
|
-
* Compiled
|
|
2
|
+
* pixi.js - v6.5.9
|
|
3
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
4
4
|
*
|
|
5
5
|
* pixi.js is licensed under the MIT License.
|
|
6
6
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -423,8 +423,8 @@ var PIXI = (function (exports) {
|
|
|
423
423
|
};
|
|
424
424
|
|
|
425
425
|
/*!
|
|
426
|
-
* @pixi/polyfill - v6.5.
|
|
427
|
-
* Compiled
|
|
426
|
+
* @pixi/polyfill - v6.5.9
|
|
427
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
428
428
|
*
|
|
429
429
|
* @pixi/polyfill is licensed under the MIT License.
|
|
430
430
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -547,8 +547,8 @@ var PIXI = (function (exports) {
|
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
/*!
|
|
550
|
-
* @pixi/constants - v6.5.
|
|
551
|
-
* Compiled
|
|
550
|
+
* @pixi/constants - v6.5.9
|
|
551
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
552
552
|
*
|
|
553
553
|
* @pixi/constants is licensed under the MIT License.
|
|
554
554
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -1061,8 +1061,8 @@ var PIXI = (function (exports) {
|
|
|
1061
1061
|
})(exports.BUFFER_TYPE || (exports.BUFFER_TYPE = {}));
|
|
1062
1062
|
|
|
1063
1063
|
/*!
|
|
1064
|
-
* @pixi/settings - v6.5.
|
|
1065
|
-
* Compiled
|
|
1064
|
+
* @pixi/settings - v6.5.9
|
|
1065
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
1066
1066
|
*
|
|
1067
1067
|
* @pixi/settings is licensed under the MIT License.
|
|
1068
1068
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -3996,8 +3996,8 @@ var PIXI = (function (exports) {
|
|
|
3996
3996
|
};
|
|
3997
3997
|
|
|
3998
3998
|
/*!
|
|
3999
|
-
* @pixi/utils - v6.5.
|
|
4000
|
-
* Compiled
|
|
3999
|
+
* @pixi/utils - v6.5.9
|
|
4000
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
4001
4001
|
*
|
|
4002
4002
|
* @pixi/utils is licensed under the MIT License.
|
|
4003
4003
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -4578,7 +4578,7 @@ var PIXI = (function (exports) {
|
|
|
4578
4578
|
settings.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = false;
|
|
4579
4579
|
|
|
4580
4580
|
var saidHello = false;
|
|
4581
|
-
var VERSION$1 = '6.5.
|
|
4581
|
+
var VERSION$1 = '6.5.9';
|
|
4582
4582
|
/**
|
|
4583
4583
|
* Skips the hello message of renderers that are created after this is run.
|
|
4584
4584
|
* @function skipHello
|
|
@@ -5710,8 +5710,8 @@ var PIXI = (function (exports) {
|
|
|
5710
5710
|
};
|
|
5711
5711
|
|
|
5712
5712
|
/*!
|
|
5713
|
-
* @pixi/math - v6.5.
|
|
5714
|
-
* Compiled
|
|
5713
|
+
* @pixi/math - v6.5.9
|
|
5714
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
5715
5715
|
*
|
|
5716
5716
|
* @pixi/math is licensed under the MIT License.
|
|
5717
5717
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -7293,8 +7293,8 @@ var PIXI = (function (exports) {
|
|
|
7293
7293
|
}());
|
|
7294
7294
|
|
|
7295
7295
|
/*!
|
|
7296
|
-
* @pixi/display - v6.5.
|
|
7297
|
-
* Compiled
|
|
7296
|
+
* @pixi/display - v6.5.9
|
|
7297
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
7298
7298
|
*
|
|
7299
7299
|
* @pixi/display is licensed under the MIT License.
|
|
7300
7300
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -9067,8 +9067,8 @@ var PIXI = (function (exports) {
|
|
|
9067
9067
|
Container.prototype.containerUpdateTransform = Container.prototype.updateTransform;
|
|
9068
9068
|
|
|
9069
9069
|
/*!
|
|
9070
|
-
* @pixi/extensions - v6.5.
|
|
9071
|
-
* Compiled
|
|
9070
|
+
* @pixi/extensions - v6.5.9
|
|
9071
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
9072
9072
|
*
|
|
9073
9073
|
* @pixi/extensions is licensed under the MIT License.
|
|
9074
9074
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -9254,6 +9254,9 @@ var PIXI = (function (exports) {
|
|
|
9254
9254
|
handleByList: function (type, list) {
|
|
9255
9255
|
return this.handle(type, function (extension) {
|
|
9256
9256
|
var _a, _b;
|
|
9257
|
+
if (list.includes(extension.ref)) {
|
|
9258
|
+
return;
|
|
9259
|
+
}
|
|
9257
9260
|
list.push(extension.ref);
|
|
9258
9261
|
// TODO: remove me later, only added for @pixi/loaders
|
|
9259
9262
|
if (type === exports.ExtensionType.Loader) {
|
|
@@ -9269,8 +9272,8 @@ var PIXI = (function (exports) {
|
|
|
9269
9272
|
};
|
|
9270
9273
|
|
|
9271
9274
|
/*!
|
|
9272
|
-
* @pixi/runner - v6.5.
|
|
9273
|
-
* Compiled
|
|
9275
|
+
* @pixi/runner - v6.5.9
|
|
9276
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
9274
9277
|
*
|
|
9275
9278
|
* @pixi/runner is licensed under the MIT License.
|
|
9276
9279
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -9453,8 +9456,8 @@ var PIXI = (function (exports) {
|
|
|
9453
9456
|
});
|
|
9454
9457
|
|
|
9455
9458
|
/*!
|
|
9456
|
-
* @pixi/ticker - v6.5.
|
|
9457
|
-
* Compiled
|
|
9459
|
+
* @pixi/ticker - v6.5.9
|
|
9460
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
9458
9461
|
*
|
|
9459
9462
|
* @pixi/ticker is licensed under the MIT License.
|
|
9460
9463
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -10160,8 +10163,8 @@ var PIXI = (function (exports) {
|
|
|
10160
10163
|
}());
|
|
10161
10164
|
|
|
10162
10165
|
/*!
|
|
10163
|
-
* @pixi/core - v6.5.
|
|
10164
|
-
* Compiled
|
|
10166
|
+
* @pixi/core - v6.5.9
|
|
10167
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
10165
10168
|
*
|
|
10166
10169
|
* @pixi/core is licensed under the MIT License.
|
|
10167
10170
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -14409,10 +14412,6 @@ var PIXI = (function (exports) {
|
|
|
14409
14412
|
this.gl = gl;
|
|
14410
14413
|
this.renderer.gl = gl;
|
|
14411
14414
|
this.renderer.CONTEXT_UID = CONTEXT_UID_COUNTER++;
|
|
14412
|
-
// restore a context if it was previously lost
|
|
14413
|
-
if (gl.isContextLost() && gl.getExtension('WEBGL_lose_context')) {
|
|
14414
|
-
gl.getExtension('WEBGL_lose_context').restoreContext();
|
|
14415
|
-
}
|
|
14416
14415
|
};
|
|
14417
14416
|
/**
|
|
14418
14417
|
* Initializes the context.
|
|
@@ -14469,6 +14468,7 @@ var PIXI = (function (exports) {
|
|
|
14469
14468
|
// time to set up default extensions that Pixi uses.
|
|
14470
14469
|
var gl = this.gl;
|
|
14471
14470
|
var common = {
|
|
14471
|
+
loseContext: gl.getExtension('WEBGL_lose_context'),
|
|
14472
14472
|
anisotropicFiltering: gl.getExtension('EXT_texture_filter_anisotropic'),
|
|
14473
14473
|
floatTextureLinear: gl.getExtension('OES_texture_float_linear'),
|
|
14474
14474
|
s3tc: gl.getExtension('WEBGL_compressed_texture_s3tc'),
|
|
@@ -14484,7 +14484,6 @@ var PIXI = (function (exports) {
|
|
|
14484
14484
|
Object.assign(this.extensions, common, {
|
|
14485
14485
|
drawBuffers: gl.getExtension('WEBGL_draw_buffers'),
|
|
14486
14486
|
depthTexture: gl.getExtension('WEBGL_depth_texture'),
|
|
14487
|
-
loseContext: gl.getExtension('WEBGL_lose_context'),
|
|
14488
14487
|
vertexArrayObject: gl.getExtension('OES_vertex_array_object')
|
|
14489
14488
|
|| gl.getExtension('MOZ_OES_vertex_array_object')
|
|
14490
14489
|
|| gl.getExtension('WEBKIT_OES_vertex_array_object'),
|
|
@@ -14508,7 +14507,15 @@ var PIXI = (function (exports) {
|
|
|
14508
14507
|
* @param {WebGLContextEvent} event - The context lost event.
|
|
14509
14508
|
*/
|
|
14510
14509
|
ContextSystem.prototype.handleContextLost = function (event) {
|
|
14510
|
+
var _this = this;
|
|
14511
|
+
// Prevent default to be able to restore the context
|
|
14511
14512
|
event.preventDefault();
|
|
14513
|
+
// Restore the context after this event has exited
|
|
14514
|
+
setTimeout(function () {
|
|
14515
|
+
if (_this.gl.isContextLost() && _this.extensions.loseContext) {
|
|
14516
|
+
_this.extensions.loseContext.restoreContext();
|
|
14517
|
+
}
|
|
14518
|
+
}, 0);
|
|
14512
14519
|
};
|
|
14513
14520
|
/** Handles a restored webgl context. */
|
|
14514
14521
|
ContextSystem.prototype.handleContextRestored = function () {
|
|
@@ -14594,13 +14601,13 @@ var PIXI = (function (exports) {
|
|
|
14594
14601
|
}
|
|
14595
14602
|
/** Sets up the renderer context and necessary buffers. */
|
|
14596
14603
|
FramebufferSystem.prototype.contextChange = function () {
|
|
14604
|
+
this.disposeAll(true);
|
|
14597
14605
|
var gl = this.gl = this.renderer.gl;
|
|
14598
14606
|
this.CONTEXT_UID = this.renderer.CONTEXT_UID;
|
|
14599
14607
|
this.current = this.unknownFramebuffer;
|
|
14600
14608
|
this.viewport = new Rectangle();
|
|
14601
14609
|
this.hasMRT = true;
|
|
14602
14610
|
this.writeDepthTexture = true;
|
|
14603
|
-
this.disposeAll(true);
|
|
14604
14611
|
// webgl2
|
|
14605
14612
|
if (this.renderer.context.webGLVersion === 1) {
|
|
14606
14613
|
// webgl 1!
|
|
@@ -18883,6 +18890,8 @@ var PIXI = (function (exports) {
|
|
|
18883
18890
|
* @param {number} [options.backgroundColor=0x000000] - The background color of the rendered area
|
|
18884
18891
|
* (shown if not transparent).
|
|
18885
18892
|
* @param {number} [options.backgroundAlpha=1] - Value from 0 (fully transparent) to 1 (fully opaque).
|
|
18893
|
+
* @param {boolean} [options.transparent] - **Deprecated**. `true` sets backgroundAlpha to 0,
|
|
18894
|
+
* `false` sets backgroundAlpha to 1.
|
|
18886
18895
|
*/
|
|
18887
18896
|
function AbstractRenderer(type, options) {
|
|
18888
18897
|
if (type === void 0) { type = exports.RENDERER_TYPE.UNKNOWN; }
|
|
@@ -19343,6 +19352,8 @@ var PIXI = (function (exports) {
|
|
|
19343
19352
|
* @param {number} [options.backgroundColor=0x000000] - The background color of the rendered area
|
|
19344
19353
|
* (shown if not transparent).
|
|
19345
19354
|
* @param {number} [options.backgroundAlpha=1] - Value from 0 (fully transparent) to 1 (fully opaque).
|
|
19355
|
+
* @param {boolean} [options.transparent] - **Deprecated**. `true` sets backgroundAlpha to 0,
|
|
19356
|
+
* `false` sets backgroundAlpha to 1.
|
|
19346
19357
|
* @param {string} [options.powerPreference] - Parameter passed to WebGL context, set to "high-performance"
|
|
19347
19358
|
* for devices with dual graphics card.
|
|
19348
19359
|
* @param {object} [options.context] - If WebGL context already exists, all parameters must be taken from it.
|
|
@@ -20466,11 +20477,11 @@ var PIXI = (function (exports) {
|
|
|
20466
20477
|
* String of the current PIXI version.
|
|
20467
20478
|
* @memberof PIXI
|
|
20468
20479
|
*/
|
|
20469
|
-
var VERSION = '6.5.
|
|
20480
|
+
var VERSION = '6.5.9';
|
|
20470
20481
|
|
|
20471
20482
|
/*!
|
|
20472
|
-
* @pixi/accessibility - v6.5.
|
|
20473
|
-
* Compiled
|
|
20483
|
+
* @pixi/accessibility - v6.5.9
|
|
20484
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
20474
20485
|
*
|
|
20475
20486
|
* @pixi/accessibility is licensed under the MIT License.
|
|
20476
20487
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -20994,8 +21005,8 @@ var PIXI = (function (exports) {
|
|
|
20994
21005
|
}());
|
|
20995
21006
|
|
|
20996
21007
|
/*!
|
|
20997
|
-
* @pixi/interaction - v6.5.
|
|
20998
|
-
* Compiled
|
|
21008
|
+
* @pixi/interaction - v6.5.9
|
|
21009
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
20999
21010
|
*
|
|
21000
21011
|
* @pixi/interaction is licensed under the MIT License.
|
|
21001
21012
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -22823,8 +22834,8 @@ var PIXI = (function (exports) {
|
|
|
22823
22834
|
}(eventemitter3));
|
|
22824
22835
|
|
|
22825
22836
|
/*!
|
|
22826
|
-
* @pixi/extract - v6.5.
|
|
22827
|
-
* Compiled
|
|
22837
|
+
* @pixi/extract - v6.5.9
|
|
22838
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
22828
22839
|
*
|
|
22829
22840
|
* @pixi/extract is licensed under the MIT License.
|
|
22830
22841
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -22892,60 +22903,22 @@ var PIXI = (function (exports) {
|
|
|
22892
22903
|
* @returns - A Canvas element with the texture rendered on.
|
|
22893
22904
|
*/
|
|
22894
22905
|
Extract.prototype.canvas = function (target, frame) {
|
|
22895
|
-
var
|
|
22896
|
-
var resolution;
|
|
22897
|
-
var flipY = false;
|
|
22898
|
-
var renderTexture;
|
|
22899
|
-
var generated = false;
|
|
22900
|
-
if (target) {
|
|
22901
|
-
if (target instanceof RenderTexture) {
|
|
22902
|
-
renderTexture = target;
|
|
22903
|
-
}
|
|
22904
|
-
else {
|
|
22905
|
-
renderTexture = this.renderer.generateTexture(target);
|
|
22906
|
-
generated = true;
|
|
22907
|
-
}
|
|
22908
|
-
}
|
|
22909
|
-
if (renderTexture) {
|
|
22910
|
-
resolution = renderTexture.baseTexture.resolution;
|
|
22911
|
-
frame = frame !== null && frame !== void 0 ? frame : renderTexture.frame;
|
|
22912
|
-
flipY = false;
|
|
22913
|
-
renderer.renderTexture.bind(renderTexture);
|
|
22914
|
-
}
|
|
22915
|
-
else {
|
|
22916
|
-
resolution = renderer.resolution;
|
|
22917
|
-
if (!frame) {
|
|
22918
|
-
frame = TEMP_RECT;
|
|
22919
|
-
frame.width = renderer.width;
|
|
22920
|
-
frame.height = renderer.height;
|
|
22921
|
-
}
|
|
22922
|
-
flipY = true;
|
|
22923
|
-
renderer.renderTexture.bind(null);
|
|
22924
|
-
}
|
|
22925
|
-
var width = Math.round(frame.width * resolution);
|
|
22926
|
-
var height = Math.round(frame.height * resolution);
|
|
22906
|
+
var _a = this._rawPixels(target, frame), pixels = _a.pixels, width = _a.width, height = _a.height, flipY = _a.flipY;
|
|
22927
22907
|
var canvasBuffer = new CanvasRenderTarget(width, height, 1);
|
|
22928
|
-
|
|
22929
|
-
// read pixels to the array
|
|
22930
|
-
var gl = renderer.gl;
|
|
22931
|
-
gl.readPixels(Math.round(frame.x * resolution), Math.round(frame.y * resolution), width, height, gl.RGBA, gl.UNSIGNED_BYTE, webglPixels);
|
|
22932
|
-
// add the pixels to the canvas
|
|
22908
|
+
// Add the pixels to the canvas
|
|
22933
22909
|
var canvasData = canvasBuffer.context.getImageData(0, 0, width, height);
|
|
22934
|
-
Extract.arrayPostDivide(
|
|
22910
|
+
Extract.arrayPostDivide(pixels, canvasData.data);
|
|
22935
22911
|
canvasBuffer.context.putImageData(canvasData, 0, 0);
|
|
22936
|
-
//
|
|
22912
|
+
// Flipping pixels
|
|
22937
22913
|
if (flipY) {
|
|
22938
22914
|
var target_1 = new CanvasRenderTarget(canvasBuffer.width, canvasBuffer.height, 1);
|
|
22939
22915
|
target_1.context.scale(1, -1);
|
|
22940
|
-
//
|
|
22916
|
+
// We can't render to itself because we should be empty before render.
|
|
22941
22917
|
target_1.context.drawImage(canvasBuffer.canvas, 0, -height);
|
|
22942
22918
|
canvasBuffer.destroy();
|
|
22943
22919
|
canvasBuffer = target_1;
|
|
22944
22920
|
}
|
|
22945
|
-
|
|
22946
|
-
renderTexture.destroy(true);
|
|
22947
|
-
}
|
|
22948
|
-
// send the canvas back..
|
|
22921
|
+
// Send the canvas back
|
|
22949
22922
|
return canvasBuffer.canvas;
|
|
22950
22923
|
};
|
|
22951
22924
|
/**
|
|
@@ -22957,8 +22930,14 @@ var PIXI = (function (exports) {
|
|
|
22957
22930
|
* @returns - One-dimensional array containing the pixel data of the entire texture
|
|
22958
22931
|
*/
|
|
22959
22932
|
Extract.prototype.pixels = function (target, frame) {
|
|
22933
|
+
var pixels = this._rawPixels(target, frame).pixels;
|
|
22934
|
+
Extract.arrayPostDivide(pixels, pixels);
|
|
22935
|
+
return pixels;
|
|
22936
|
+
};
|
|
22937
|
+
Extract.prototype._rawPixels = function (target, frame) {
|
|
22960
22938
|
var renderer = this.renderer;
|
|
22961
22939
|
var resolution;
|
|
22940
|
+
var flipY = false;
|
|
22962
22941
|
var renderTexture;
|
|
22963
22942
|
var generated = false;
|
|
22964
22943
|
if (target) {
|
|
@@ -22966,13 +22945,27 @@ var PIXI = (function (exports) {
|
|
|
22966
22945
|
renderTexture = target;
|
|
22967
22946
|
}
|
|
22968
22947
|
else {
|
|
22969
|
-
|
|
22948
|
+
var multisample = renderer.context.webGLVersion >= 2 ? renderer.multisample : exports.MSAA_QUALITY.NONE;
|
|
22949
|
+
renderTexture = this.renderer.generateTexture(target, { multisample: multisample });
|
|
22950
|
+
if (multisample !== exports.MSAA_QUALITY.NONE) {
|
|
22951
|
+
// Resolve the multisampled texture to a non-multisampled texture
|
|
22952
|
+
var resolvedTexture = RenderTexture.create({
|
|
22953
|
+
width: renderTexture.width,
|
|
22954
|
+
height: renderTexture.height,
|
|
22955
|
+
});
|
|
22956
|
+
renderer.framebuffer.bind(renderTexture.framebuffer);
|
|
22957
|
+
renderer.framebuffer.blit(resolvedTexture.framebuffer);
|
|
22958
|
+
renderer.framebuffer.bind(null);
|
|
22959
|
+
renderTexture.destroy(true);
|
|
22960
|
+
renderTexture = resolvedTexture;
|
|
22961
|
+
}
|
|
22970
22962
|
generated = true;
|
|
22971
22963
|
}
|
|
22972
22964
|
}
|
|
22973
22965
|
if (renderTexture) {
|
|
22974
22966
|
resolution = renderTexture.baseTexture.resolution;
|
|
22975
22967
|
frame = frame !== null && frame !== void 0 ? frame : renderTexture.frame;
|
|
22968
|
+
flipY = false;
|
|
22976
22969
|
renderer.renderTexture.bind(renderTexture);
|
|
22977
22970
|
}
|
|
22978
22971
|
else {
|
|
@@ -22982,19 +22975,19 @@ var PIXI = (function (exports) {
|
|
|
22982
22975
|
frame.width = renderer.width;
|
|
22983
22976
|
frame.height = renderer.height;
|
|
22984
22977
|
}
|
|
22978
|
+
flipY = true;
|
|
22985
22979
|
renderer.renderTexture.bind(null);
|
|
22986
22980
|
}
|
|
22987
22981
|
var width = Math.round(frame.width * resolution);
|
|
22988
22982
|
var height = Math.round(frame.height * resolution);
|
|
22989
|
-
var
|
|
22990
|
-
//
|
|
22983
|
+
var pixels = new Uint8Array(BYTES_PER_PIXEL * width * height);
|
|
22984
|
+
// Read pixels to the array
|
|
22991
22985
|
var gl = renderer.gl;
|
|
22992
|
-
gl.readPixels(Math.round(frame.x * resolution), Math.round(frame.y * resolution), width, height, gl.RGBA, gl.UNSIGNED_BYTE,
|
|
22986
|
+
gl.readPixels(Math.round(frame.x * resolution), Math.round(frame.y * resolution), width, height, gl.RGBA, gl.UNSIGNED_BYTE, pixels);
|
|
22993
22987
|
if (generated) {
|
|
22994
22988
|
renderTexture.destroy(true);
|
|
22995
22989
|
}
|
|
22996
|
-
|
|
22997
|
-
return webglPixels;
|
|
22990
|
+
return { pixels: pixels, width: width, height: height, flipY: flipY };
|
|
22998
22991
|
};
|
|
22999
22992
|
/** Destroys the extract. */
|
|
23000
22993
|
Extract.prototype.destroy = function () {
|
|
@@ -23030,8 +23023,8 @@ var PIXI = (function (exports) {
|
|
|
23030
23023
|
}());
|
|
23031
23024
|
|
|
23032
23025
|
/*!
|
|
23033
|
-
* @pixi/loaders - v6.5.
|
|
23034
|
-
* Compiled
|
|
23026
|
+
* @pixi/loaders - v6.5.9
|
|
23027
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
23035
23028
|
*
|
|
23036
23029
|
* @pixi/loaders is licensed under the MIT License.
|
|
23037
23030
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -24964,8 +24957,8 @@ var PIXI = (function (exports) {
|
|
|
24964
24957
|
extensions.add(TextureLoader, ParsingLoader);
|
|
24965
24958
|
|
|
24966
24959
|
/*!
|
|
24967
|
-
* @pixi/compressed-textures - v6.5.
|
|
24968
|
-
* Compiled
|
|
24960
|
+
* @pixi/compressed-textures - v6.5.9
|
|
24961
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
24969
24962
|
*
|
|
24970
24963
|
* @pixi/compressed-textures is licensed under the MIT License.
|
|
24971
24964
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -26329,8 +26322,8 @@ var PIXI = (function (exports) {
|
|
|
26329
26322
|
}());
|
|
26330
26323
|
|
|
26331
26324
|
/*!
|
|
26332
|
-
* @pixi/particle-container - v6.5.
|
|
26333
|
-
* Compiled
|
|
26325
|
+
* @pixi/particle-container - v6.5.9
|
|
26326
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
26334
26327
|
*
|
|
26335
26328
|
* @pixi/particle-container is licensed under the MIT License.
|
|
26336
26329
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -26991,8 +26984,8 @@ var PIXI = (function (exports) {
|
|
|
26991
26984
|
}(ObjectRenderer));
|
|
26992
26985
|
|
|
26993
26986
|
/*!
|
|
26994
|
-
* @pixi/graphics - v6.5.
|
|
26995
|
-
* Compiled
|
|
26987
|
+
* @pixi/graphics - v6.5.9
|
|
26988
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
26996
26989
|
*
|
|
26997
26990
|
* @pixi/graphics is licensed under the MIT License.
|
|
26998
26991
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -29897,8 +29890,8 @@ var PIXI = (function (exports) {
|
|
|
29897
29890
|
};
|
|
29898
29891
|
|
|
29899
29892
|
/*!
|
|
29900
|
-
* @pixi/sprite - v6.5.
|
|
29901
|
-
* Compiled
|
|
29893
|
+
* @pixi/sprite - v6.5.9
|
|
29894
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
29902
29895
|
*
|
|
29903
29896
|
* @pixi/sprite is licensed under the MIT License.
|
|
29904
29897
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -30343,8 +30336,8 @@ var PIXI = (function (exports) {
|
|
|
30343
30336
|
}(Container));
|
|
30344
30337
|
|
|
30345
30338
|
/*!
|
|
30346
|
-
* @pixi/text - v6.5.
|
|
30347
|
-
* Compiled
|
|
30339
|
+
* @pixi/text - v6.5.9
|
|
30340
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
30348
30341
|
*
|
|
30349
30342
|
* @pixi/text is licensed under the MIT License.
|
|
30350
30343
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -32249,8 +32242,8 @@ var PIXI = (function (exports) {
|
|
|
32249
32242
|
}(Sprite));
|
|
32250
32243
|
|
|
32251
32244
|
/*!
|
|
32252
|
-
* @pixi/prepare - v6.5.
|
|
32253
|
-
* Compiled
|
|
32245
|
+
* @pixi/prepare - v6.5.9
|
|
32246
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
32254
32247
|
*
|
|
32255
32248
|
* @pixi/prepare is licensed under the MIT License.
|
|
32256
32249
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -32782,8 +32775,8 @@ var PIXI = (function (exports) {
|
|
|
32782
32775
|
}());
|
|
32783
32776
|
|
|
32784
32777
|
/*!
|
|
32785
|
-
* @pixi/spritesheet - v6.5.
|
|
32786
|
-
* Compiled
|
|
32778
|
+
* @pixi/spritesheet - v6.5.9
|
|
32779
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
32787
32780
|
*
|
|
32788
32781
|
* @pixi/spritesheet is licensed under the MIT License.
|
|
32789
32782
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -33104,8 +33097,8 @@ var PIXI = (function (exports) {
|
|
|
33104
33097
|
}());
|
|
33105
33098
|
|
|
33106
33099
|
/*!
|
|
33107
|
-
* @pixi/sprite-tiling - v6.5.
|
|
33108
|
-
* Compiled
|
|
33100
|
+
* @pixi/sprite-tiling - v6.5.9
|
|
33101
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
33109
33102
|
*
|
|
33110
33103
|
* @pixi/sprite-tiling is licensed under the MIT License.
|
|
33111
33104
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -33458,8 +33451,8 @@ var PIXI = (function (exports) {
|
|
|
33458
33451
|
}(ObjectRenderer));
|
|
33459
33452
|
|
|
33460
33453
|
/*!
|
|
33461
|
-
* @pixi/mesh - v6.5.
|
|
33462
|
-
* Compiled
|
|
33454
|
+
* @pixi/mesh - v6.5.9
|
|
33455
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
33463
33456
|
*
|
|
33464
33457
|
* @pixi/mesh is licensed under the MIT License.
|
|
33465
33458
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -34029,8 +34022,8 @@ var PIXI = (function (exports) {
|
|
|
34029
34022
|
}(Geometry));
|
|
34030
34023
|
|
|
34031
34024
|
/*!
|
|
34032
|
-
* @pixi/text-bitmap - v6.5.
|
|
34033
|
-
* Compiled
|
|
34025
|
+
* @pixi/text-bitmap - v6.5.9
|
|
34026
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
34034
34027
|
*
|
|
34035
34028
|
* @pixi/text-bitmap is licensed under the MIT License.
|
|
34036
34029
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -35653,8 +35646,8 @@ var PIXI = (function (exports) {
|
|
|
35653
35646
|
}());
|
|
35654
35647
|
|
|
35655
35648
|
/*!
|
|
35656
|
-
* @pixi/filter-alpha - v6.5.
|
|
35657
|
-
* Compiled
|
|
35649
|
+
* @pixi/filter-alpha - v6.5.9
|
|
35650
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
35658
35651
|
*
|
|
35659
35652
|
* @pixi/filter-alpha is licensed under the MIT License.
|
|
35660
35653
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -35734,8 +35727,8 @@ var PIXI = (function (exports) {
|
|
|
35734
35727
|
}(Filter));
|
|
35735
35728
|
|
|
35736
35729
|
/*!
|
|
35737
|
-
* @pixi/filter-blur - v6.5.
|
|
35738
|
-
* Compiled
|
|
35730
|
+
* @pixi/filter-blur - v6.5.9
|
|
35731
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
35739
35732
|
*
|
|
35740
35733
|
* @pixi/filter-blur is licensed under the MIT License.
|
|
35741
35734
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36101,8 +36094,8 @@ var PIXI = (function (exports) {
|
|
|
36101
36094
|
}(Filter));
|
|
36102
36095
|
|
|
36103
36096
|
/*!
|
|
36104
|
-
* @pixi/filter-color-matrix - v6.5.
|
|
36105
|
-
* Compiled
|
|
36097
|
+
* @pixi/filter-color-matrix - v6.5.9
|
|
36098
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
36106
36099
|
*
|
|
36107
36100
|
* @pixi/filter-color-matrix is licensed under the MIT License.
|
|
36108
36101
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36614,8 +36607,8 @@ var PIXI = (function (exports) {
|
|
|
36614
36607
|
ColorMatrixFilter.prototype.grayscale = ColorMatrixFilter.prototype.greyscale;
|
|
36615
36608
|
|
|
36616
36609
|
/*!
|
|
36617
|
-
* @pixi/filter-displacement - v6.5.
|
|
36618
|
-
* Compiled
|
|
36610
|
+
* @pixi/filter-displacement - v6.5.9
|
|
36611
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
36619
36612
|
*
|
|
36620
36613
|
* @pixi/filter-displacement is licensed under the MIT License.
|
|
36621
36614
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36737,8 +36730,8 @@ var PIXI = (function (exports) {
|
|
|
36737
36730
|
}(Filter));
|
|
36738
36731
|
|
|
36739
36732
|
/*!
|
|
36740
|
-
* @pixi/filter-fxaa - v6.5.
|
|
36741
|
-
* Compiled
|
|
36733
|
+
* @pixi/filter-fxaa - v6.5.9
|
|
36734
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
36742
36735
|
*
|
|
36743
36736
|
* @pixi/filter-fxaa is licensed under the MIT License.
|
|
36744
36737
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36793,8 +36786,8 @@ var PIXI = (function (exports) {
|
|
|
36793
36786
|
}(Filter));
|
|
36794
36787
|
|
|
36795
36788
|
/*!
|
|
36796
|
-
* @pixi/filter-noise - v6.5.
|
|
36797
|
-
* Compiled
|
|
36789
|
+
* @pixi/filter-noise - v6.5.9
|
|
36790
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
36798
36791
|
*
|
|
36799
36792
|
* @pixi/filter-noise is licensed under the MIT License.
|
|
36800
36793
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -36884,8 +36877,8 @@ var PIXI = (function (exports) {
|
|
|
36884
36877
|
}(Filter));
|
|
36885
36878
|
|
|
36886
36879
|
/*!
|
|
36887
|
-
* @pixi/mixin-cache-as-bitmap - v6.5.
|
|
36888
|
-
* Compiled
|
|
36880
|
+
* @pixi/mixin-cache-as-bitmap - v6.5.9
|
|
36881
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
36889
36882
|
*
|
|
36890
36883
|
* @pixi/mixin-cache-as-bitmap is licensed under the MIT License.
|
|
36891
36884
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37257,8 +37250,8 @@ var PIXI = (function (exports) {
|
|
|
37257
37250
|
};
|
|
37258
37251
|
|
|
37259
37252
|
/*!
|
|
37260
|
-
* @pixi/mixin-get-child-by-name - v6.5.
|
|
37261
|
-
* Compiled
|
|
37253
|
+
* @pixi/mixin-get-child-by-name - v6.5.9
|
|
37254
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
37262
37255
|
*
|
|
37263
37256
|
* @pixi/mixin-get-child-by-name is licensed under the MIT License.
|
|
37264
37257
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37302,8 +37295,8 @@ var PIXI = (function (exports) {
|
|
|
37302
37295
|
};
|
|
37303
37296
|
|
|
37304
37297
|
/*!
|
|
37305
|
-
* @pixi/mixin-get-global-position - v6.5.
|
|
37306
|
-
* Compiled
|
|
37298
|
+
* @pixi/mixin-get-global-position - v6.5.9
|
|
37299
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
37307
37300
|
*
|
|
37308
37301
|
* @pixi/mixin-get-global-position is licensed under the MIT License.
|
|
37309
37302
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37333,8 +37326,8 @@ var PIXI = (function (exports) {
|
|
|
37333
37326
|
};
|
|
37334
37327
|
|
|
37335
37328
|
/*!
|
|
37336
|
-
* @pixi/app - v6.5.
|
|
37337
|
-
* Compiled
|
|
37329
|
+
* @pixi/app - v6.5.9
|
|
37330
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
37338
37331
|
*
|
|
37339
37332
|
* @pixi/app is licensed under the MIT License.
|
|
37340
37333
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -37495,6 +37488,8 @@ var PIXI = (function (exports) {
|
|
|
37495
37488
|
* @param {number} [options.backgroundColor=0x000000] - The background color of the rendered area
|
|
37496
37489
|
* (shown if not transparent).
|
|
37497
37490
|
* @param {number} [options.backgroundAlpha=1] - Value from 0 (fully transparent) to 1 (fully opaque).
|
|
37491
|
+
* @param {boolean} [options.transparent] - **Deprecated**. `true` sets backgroundAlpha to 0,
|
|
37492
|
+
* `false` sets backgroundAlpha to 1.
|
|
37498
37493
|
* @param {boolean} [options.clearBeforeRender=true] - This sets if the renderer will clear the canvas or
|
|
37499
37494
|
* not before the new render pass.
|
|
37500
37495
|
* @param {string} [options.powerPreference] - Parameter passed to webgl context, set to "high-performance"
|
|
@@ -37598,8 +37593,8 @@ var PIXI = (function (exports) {
|
|
|
37598
37593
|
extensions.add(ResizePlugin);
|
|
37599
37594
|
|
|
37600
37595
|
/*!
|
|
37601
|
-
* @pixi/mesh-extras - v6.5.
|
|
37602
|
-
* Compiled
|
|
37596
|
+
* @pixi/mesh-extras - v6.5.9
|
|
37597
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
37603
37598
|
*
|
|
37604
37599
|
* @pixi/mesh-extras is licensed under the MIT License.
|
|
37605
37600
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -38222,8 +38217,8 @@ var PIXI = (function (exports) {
|
|
|
38222
38217
|
}(SimplePlane));
|
|
38223
38218
|
|
|
38224
38219
|
/*!
|
|
38225
|
-
* @pixi/sprite-animated - v6.5.
|
|
38226
|
-
* Compiled
|
|
38220
|
+
* @pixi/sprite-animated - v6.5.9
|
|
38221
|
+
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
|
|
38227
38222
|
*
|
|
38228
38223
|
* @pixi/sprite-animated is licensed under the MIT License.
|
|
38229
38224
|
* http://www.opensource.org/licenses/mit-license
|