This commit is contained in:
Akko
2025-08-04 18:57:35 +02:00
parent 8cf6e78a79
commit 9495868c2e
5030 changed files with 518594 additions and 17609 deletions

34
node_modules/pixi.js/lib/utils/global/globalHooks.d.ts generated vendored Normal file
View File

@@ -0,0 +1,34 @@
import { type ExtensionMetadata, ExtensionType } from '../../extensions/Extensions';
import type { Application } from '../../app/Application';
import type { System } from '../../rendering/renderers/shared/system/System';
import type { Renderer } from '../../rendering/renderers/types';
declare global {
var __PIXI_APP_INIT__: undefined | ((arg: Application | Renderer, version: string) => void);
var __PIXI_RENDERER_INIT__: undefined | ((arg: Application | Renderer, version: string) => void);
}
/**
* Calls global __PIXI_APP_INIT__ hook with the application instance, after the application is initialized.
* @memberof app
*/
export declare class ApplicationInitHook {
/** @ignore */
static extension: ExtensionMetadata;
static init(): void;
static destroy(): void;
}
/**
* Calls global __PIXI_RENDERER_INIT__ hook with the renderer instance, after the renderer is initialized.
* @memberof rendering
*/
export declare class RendererInitHook implements System {
/** @ignore */
static extension: {
readonly type: readonly [ExtensionType.WebGLSystem, ExtensionType.WebGPUSystem];
readonly name: "initHook";
readonly priority: -10;
};
private _renderer;
constructor(renderer: Renderer);
init(): void;
destroy(): void;
}