initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$global$globalHooks = function(global, require, module, exports) {
|
||||
global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions");
|
||||
var _const = require("module$node_modules$pixi_DOT_js$lib$utils$const");
|
||||
"use strict";
|
||||
class ApplicationInitHook {
|
||||
static init() {
|
||||
globalThis.__PIXI_APP_INIT__?.(this, _const.VERSION);
|
||||
}
|
||||
static destroy() {
|
||||
}
|
||||
}
|
||||
ApplicationInitHook.extension = global.ExtensionType.Application;
|
||||
class RendererInitHook {
|
||||
constructor(renderer) {
|
||||
this._renderer = renderer;
|
||||
}
|
||||
init() {
|
||||
globalThis.__PIXI_RENDERER_INIT__?.(this._renderer, _const.VERSION);
|
||||
}
|
||||
destroy() {
|
||||
this._renderer = null;
|
||||
}
|
||||
}
|
||||
RendererInitHook.extension = {type:[global.ExtensionType.WebGLSystem, global.ExtensionType.WebGPUSystem], name:"initHook", priority:-10};
|
||||
exports.ApplicationInitHook = ApplicationInitHook;
|
||||
exports.RendererInitHook = RendererInitHook;
|
||||
};
|
||||
|
||||
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$global$globalHooks.js.map
|
||||
Reference in New Issue
Block a user