19 lines
980 B
JavaScript
19 lines
980 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$container$container_mixins$cacheAsTextureMixin = function(global, require, module, exports) {
|
|
var deprecation = require("module$node_modules$pixi_DOT_js$lib$utils$logging$deprecation");
|
|
"use strict";
|
|
exports.cacheAsTextureMixin = {get isCachedAsTexture() {
|
|
return !!this.renderGroup?.isCachedAsTexture;
|
|
}, cacheAsTexture(val) {
|
|
"boolean" === typeof val && !1 === val ? this.disableRenderGroup() : (this.enableRenderGroup(), this.renderGroup.enableCacheAsTexture(!0 === val ? {} : val));
|
|
}, updateCacheTexture() {
|
|
this.renderGroup?.updateCacheTexture();
|
|
}, get cacheAsBitmap() {
|
|
return this.isCachedAsTexture;
|
|
}, set cacheAsBitmap(val) {
|
|
deprecation.deprecation("v8.6.0", "cacheAsBitmap is deprecated, use cacheAsTexture instead.");
|
|
this.cacheAsTexture(val);
|
|
}};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$container$container_mixins$cacheAsTextureMixin.js.map
|