shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$RenderableGCSystem = function(global, require, module, exports) { global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions"); var deprecation = require("module$node_modules$pixi_DOT_js$lib$utils$logging$deprecation"); "use strict"; const node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$RenderableGCSystem$classdecl$var19 = class { constructor(renderer) { this._renderer = renderer; } init(options) { options = {...node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$RenderableGCSystem$classdecl$var19.defaultOptions, ...options}; this.maxUnusedTime = options.renderableGCMaxUnusedTime; } get enabled() { deprecation.deprecation("8.15.0", "RenderableGCSystem.enabled is deprecated, please use the GCSystem.enabled instead."); return this._renderer.gc.enabled; } set enabled(value) { deprecation.deprecation("8.15.0", "RenderableGCSystem.enabled is deprecated, please use the GCSystem.enabled instead."); this._renderer.gc.enabled = value; } addManagedHash(context, hash) { deprecation.deprecation("8.15.0", "RenderableGCSystem.addManagedHash is deprecated, please use the GCSystem.addCollection instead."); this._renderer.gc.addCollection(context, hash, "hash"); } addManagedArray(context, hash) { deprecation.deprecation("8.15.0", "RenderableGCSystem.addManagedArray is deprecated, please use the GCSystem.addCollection instead."); this._renderer.gc.addCollection(context, hash, "array"); } addRenderable(_renderable) { deprecation.deprecation("8.15.0", "RenderableGCSystem.addRenderable is deprecated, please use the GCSystem instead."); this._renderer.gc.addResource(_renderable, "renderable"); } run() { deprecation.deprecation("8.15.0", "RenderableGCSystem.run is deprecated, please use the GCSystem instead."); this._renderer.gc.run(); } destroy() { this._renderer = null; } }; require = node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$RenderableGCSystem$classdecl$var19; require.extension = {type:[global.ExtensionType.WebGLSystem, global.ExtensionType.WebGPUSystem, global.ExtensionType.CanvasSystem], name:"renderableGC", priority:0}; require.defaultOptions = {renderableGCActive:!0, renderableGCMaxUnusedTime:6e4, renderableGCFrequency:3e4}; exports.RenderableGCSystem = require; }; //# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$RenderableGCSystem.js.map