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

39
node_modules/pixi.js/lib/culling/Culler.d.ts generated vendored Normal file
View File

@@ -0,0 +1,39 @@
import type { Container } from '../scene/container/Container';
type RectangleLike = {
x: number;
y: number;
width: number;
height: number;
};
/**
* The Culler class is responsible for managing and culling containers.
*
*
* Culled containers will not be rendered, and their children will not be processed. This can be useful for
* performance optimization when dealing with large scenes.
* @example
* import { Culler, Container } from 'pixi.js';
*
* const culler = new Culler();
* const stage = new Container();
*
* ... set up stage ...
*
* culler.cull(stage, { x: 0, y: 0, width: 800, height: 600 });
* renderer.render(stage);
* @memberof scene
*/
export declare class Culler {
/**
* Culls the children of a specific container based on the given view. This will also cull items that are not
* being explicitly managed by the culler.
* @param container - The container to cull.
* @param view - The view rectangle.
* @param skipUpdateTransform - Whether to skip updating the transform.
*/
cull(container: Container, view: RectangleLike, skipUpdateTransform?: boolean): void;
private _cullRecursive;
/** A shared instance of the Culler class. */
static shared: Culler;
}
export {};

38
node_modules/pixi.js/lib/culling/Culler.js generated vendored Normal file
View File

@@ -0,0 +1,38 @@
'use strict';
var Bounds = require('../scene/container/bounds/Bounds.js');
var getGlobalBounds = require('../scene/container/bounds/getGlobalBounds.js');
"use strict";
const tempBounds = new Bounds.Bounds();
const _Culler = class _Culler {
/**
* Culls the children of a specific container based on the given view. This will also cull items that are not
* being explicitly managed by the culler.
* @param container - The container to cull.
* @param view - The view rectangle.
* @param skipUpdateTransform - Whether to skip updating the transform.
*/
cull(container, view, skipUpdateTransform = true) {
this._cullRecursive(container, view, skipUpdateTransform);
}
_cullRecursive(container, view, skipUpdateTransform = true) {
if (container.cullable && container.measurable && container.includeInBuild) {
const bounds = container.cullArea ?? getGlobalBounds.getGlobalBounds(container, skipUpdateTransform, tempBounds);
container.culled = bounds.x >= view.x + view.width || bounds.y >= view.y + view.height || bounds.x + bounds.width <= view.x || bounds.y + bounds.height <= view.y;
} else {
container.culled = false;
}
if (!container.cullableChildren || container.culled || !container.renderable || !container.measurable || !container.includeInBuild)
return;
for (let i = 0; i < container.children.length; i++) {
this._cullRecursive(container.children[i], view, skipUpdateTransform);
}
}
};
/** A shared instance of the Culler class. */
_Culler.shared = new _Culler();
let Culler = _Culler;
exports.Culler = Culler;
//# sourceMappingURL=Culler.js.map

1
node_modules/pixi.js/lib/culling/Culler.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"Culler.js","sources":["../../src/culling/Culler.ts"],"sourcesContent":["import { Bounds } from '../scene/container/bounds/Bounds';\nimport { getGlobalBounds } from '../scene/container/bounds/getGlobalBounds';\n\nimport type { Container } from '../scene/container/Container';\n\nconst tempBounds = new Bounds();\n\ntype RectangleLike = {x: number, y: number, width: number, height: number};\n\n/**\n * The Culler class is responsible for managing and culling containers.\n *\n *\n * Culled containers will not be rendered, and their children will not be processed. This can be useful for\n * performance optimization when dealing with large scenes.\n * @example\n * import { Culler, Container } from 'pixi.js';\n *\n * const culler = new Culler();\n * const stage = new Container();\n *\n * ... set up stage ...\n *\n * culler.cull(stage, { x: 0, y: 0, width: 800, height: 600 });\n * renderer.render(stage);\n * @memberof scene\n */\nexport class Culler\n{\n /**\n * Culls the children of a specific container based on the given view. This will also cull items that are not\n * being explicitly managed by the culler.\n * @param container - The container to cull.\n * @param view - The view rectangle.\n * @param skipUpdateTransform - Whether to skip updating the transform.\n */\n public cull(container: Container, view: RectangleLike, skipUpdateTransform = true)\n {\n this._cullRecursive(container, view, skipUpdateTransform);\n }\n\n private _cullRecursive(container: Container, view: RectangleLike, skipUpdateTransform = true)\n {\n if (container.cullable && container.measurable && container.includeInBuild)\n {\n const bounds = container.cullArea ?? getGlobalBounds(container, skipUpdateTransform, tempBounds);\n\n // check view intersection..\n container.culled = bounds.x >= view.x + view.width\n || bounds.y >= view.y + view.height\n || bounds.x + bounds.width <= view.x\n || bounds.y + bounds.height <= view.y;\n }\n else\n {\n container.culled = false;\n }\n\n // dont process children if not needed\n if (\n !container.cullableChildren\n || container.culled\n || !container.renderable\n || !container.measurable\n || !container.includeInBuild\n ) return;\n\n for (let i = 0; i < container.children.length; i++)\n {\n this._cullRecursive(container.children[i], view, skipUpdateTransform);\n }\n }\n\n /** A shared instance of the Culler class. */\n public static shared = new Culler();\n}\n"],"names":["Bounds","getGlobalBounds"],"mappings":";;;;;;AAKA,MAAM,UAAA,GAAa,IAAIA,aAAO,EAAA,CAAA;AAsBvB,MAAM,OAAA,GAAN,MAAM,OACb,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQW,IAAK,CAAA,SAAA,EAAsB,IAAqB,EAAA,mBAAA,GAAsB,IAC7E,EAAA;AACI,IAAK,IAAA,CAAA,cAAA,CAAe,SAAW,EAAA,IAAA,EAAM,mBAAmB,CAAA,CAAA;AAAA,GAC5D;AAAA,EAEQ,cAAe,CAAA,SAAA,EAAsB,IAAqB,EAAA,mBAAA,GAAsB,IACxF,EAAA;AACI,IAAA,IAAI,SAAU,CAAA,QAAA,IAAY,SAAU,CAAA,UAAA,IAAc,UAAU,cAC5D,EAAA;AACI,MAAA,MAAM,SAAS,SAAU,CAAA,QAAA,IAAYC,+BAAgB,CAAA,SAAA,EAAW,qBAAqB,UAAU,CAAA,CAAA;AAG/F,MAAU,SAAA,CAAA,MAAA,GAAS,OAAO,CAAK,IAAA,IAAA,CAAK,IAAI,IAAK,CAAA,KAAA,IACtC,MAAO,CAAA,CAAA,IAAK,IAAK,CAAA,CAAA,GAAI,KAAK,MAC1B,IAAA,MAAA,CAAO,CAAI,GAAA,MAAA,CAAO,KAAS,IAAA,IAAA,CAAK,KAChC,MAAO,CAAA,CAAA,GAAI,MAAO,CAAA,MAAA,IAAU,IAAK,CAAA,CAAA,CAAA;AAAA,KAG5C,MAAA;AACI,MAAA,SAAA,CAAU,MAAS,GAAA,KAAA,CAAA;AAAA,KACvB;AAGA,IAAA,IACI,CAAC,SAAA,CAAU,gBACR,IAAA,SAAA,CAAU,MACV,IAAA,CAAC,SAAU,CAAA,UAAA,IACX,CAAC,SAAA,CAAU,UACX,IAAA,CAAC,SAAU,CAAA,cAAA;AAChB,MAAA,OAAA;AAEF,IAAA,KAAA,IAAS,IAAI,CAAG,EAAA,CAAA,GAAI,SAAU,CAAA,QAAA,CAAS,QAAQ,CAC/C,EAAA,EAAA;AACI,MAAA,IAAA,CAAK,eAAe,SAAU,CAAA,QAAA,CAAS,CAAC,CAAA,EAAG,MAAM,mBAAmB,CAAA,CAAA;AAAA,KACxE;AAAA,GACJ;AAIJ,CAAA,CAAA;AAAA;AAhDa,OA+CK,CAAA,MAAA,GAAS,IAAI,OAAO,EAAA,CAAA;AA/C/B,IAAM,MAAN,GAAA;;;;"}

36
node_modules/pixi.js/lib/culling/Culler.mjs generated vendored Normal file
View File

@@ -0,0 +1,36 @@
import { Bounds } from '../scene/container/bounds/Bounds.mjs';
import { getGlobalBounds } from '../scene/container/bounds/getGlobalBounds.mjs';
"use strict";
const tempBounds = new Bounds();
const _Culler = class _Culler {
/**
* Culls the children of a specific container based on the given view. This will also cull items that are not
* being explicitly managed by the culler.
* @param container - The container to cull.
* @param view - The view rectangle.
* @param skipUpdateTransform - Whether to skip updating the transform.
*/
cull(container, view, skipUpdateTransform = true) {
this._cullRecursive(container, view, skipUpdateTransform);
}
_cullRecursive(container, view, skipUpdateTransform = true) {
if (container.cullable && container.measurable && container.includeInBuild) {
const bounds = container.cullArea ?? getGlobalBounds(container, skipUpdateTransform, tempBounds);
container.culled = bounds.x >= view.x + view.width || bounds.y >= view.y + view.height || bounds.x + bounds.width <= view.x || bounds.y + bounds.height <= view.y;
} else {
container.culled = false;
}
if (!container.cullableChildren || container.culled || !container.renderable || !container.measurable || !container.includeInBuild)
return;
for (let i = 0; i < container.children.length; i++) {
this._cullRecursive(container.children[i], view, skipUpdateTransform);
}
}
};
/** A shared instance of the Culler class. */
_Culler.shared = new _Culler();
let Culler = _Culler;
export { Culler };
//# sourceMappingURL=Culler.mjs.map

1
node_modules/pixi.js/lib/culling/Culler.mjs.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"Culler.mjs","sources":["../../src/culling/Culler.ts"],"sourcesContent":["import { Bounds } from '../scene/container/bounds/Bounds';\nimport { getGlobalBounds } from '../scene/container/bounds/getGlobalBounds';\n\nimport type { Container } from '../scene/container/Container';\n\nconst tempBounds = new Bounds();\n\ntype RectangleLike = {x: number, y: number, width: number, height: number};\n\n/**\n * The Culler class is responsible for managing and culling containers.\n *\n *\n * Culled containers will not be rendered, and their children will not be processed. This can be useful for\n * performance optimization when dealing with large scenes.\n * @example\n * import { Culler, Container } from 'pixi.js';\n *\n * const culler = new Culler();\n * const stage = new Container();\n *\n * ... set up stage ...\n *\n * culler.cull(stage, { x: 0, y: 0, width: 800, height: 600 });\n * renderer.render(stage);\n * @memberof scene\n */\nexport class Culler\n{\n /**\n * Culls the children of a specific container based on the given view. This will also cull items that are not\n * being explicitly managed by the culler.\n * @param container - The container to cull.\n * @param view - The view rectangle.\n * @param skipUpdateTransform - Whether to skip updating the transform.\n */\n public cull(container: Container, view: RectangleLike, skipUpdateTransform = true)\n {\n this._cullRecursive(container, view, skipUpdateTransform);\n }\n\n private _cullRecursive(container: Container, view: RectangleLike, skipUpdateTransform = true)\n {\n if (container.cullable && container.measurable && container.includeInBuild)\n {\n const bounds = container.cullArea ?? getGlobalBounds(container, skipUpdateTransform, tempBounds);\n\n // check view intersection..\n container.culled = bounds.x >= view.x + view.width\n || bounds.y >= view.y + view.height\n || bounds.x + bounds.width <= view.x\n || bounds.y + bounds.height <= view.y;\n }\n else\n {\n container.culled = false;\n }\n\n // dont process children if not needed\n if (\n !container.cullableChildren\n || container.culled\n || !container.renderable\n || !container.measurable\n || !container.includeInBuild\n ) return;\n\n for (let i = 0; i < container.children.length; i++)\n {\n this._cullRecursive(container.children[i], view, skipUpdateTransform);\n }\n }\n\n /** A shared instance of the Culler class. */\n public static shared = new Culler();\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,UAAA,GAAa,IAAI,MAAO,EAAA,CAAA;AAsBvB,MAAM,OAAA,GAAN,MAAM,OACb,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQW,IAAK,CAAA,SAAA,EAAsB,IAAqB,EAAA,mBAAA,GAAsB,IAC7E,EAAA;AACI,IAAK,IAAA,CAAA,cAAA,CAAe,SAAW,EAAA,IAAA,EAAM,mBAAmB,CAAA,CAAA;AAAA,GAC5D;AAAA,EAEQ,cAAe,CAAA,SAAA,EAAsB,IAAqB,EAAA,mBAAA,GAAsB,IACxF,EAAA;AACI,IAAA,IAAI,SAAU,CAAA,QAAA,IAAY,SAAU,CAAA,UAAA,IAAc,UAAU,cAC5D,EAAA;AACI,MAAA,MAAM,SAAS,SAAU,CAAA,QAAA,IAAY,eAAgB,CAAA,SAAA,EAAW,qBAAqB,UAAU,CAAA,CAAA;AAG/F,MAAU,SAAA,CAAA,MAAA,GAAS,OAAO,CAAK,IAAA,IAAA,CAAK,IAAI,IAAK,CAAA,KAAA,IACtC,MAAO,CAAA,CAAA,IAAK,IAAK,CAAA,CAAA,GAAI,KAAK,MAC1B,IAAA,MAAA,CAAO,CAAI,GAAA,MAAA,CAAO,KAAS,IAAA,IAAA,CAAK,KAChC,MAAO,CAAA,CAAA,GAAI,MAAO,CAAA,MAAA,IAAU,IAAK,CAAA,CAAA,CAAA;AAAA,KAG5C,MAAA;AACI,MAAA,SAAA,CAAU,MAAS,GAAA,KAAA,CAAA;AAAA,KACvB;AAGA,IAAA,IACI,CAAC,SAAA,CAAU,gBACR,IAAA,SAAA,CAAU,MACV,IAAA,CAAC,SAAU,CAAA,UAAA,IACX,CAAC,SAAA,CAAU,UACX,IAAA,CAAC,SAAU,CAAA,cAAA;AAChB,MAAA,OAAA;AAEF,IAAA,KAAA,IAAS,IAAI,CAAG,EAAA,CAAA,GAAI,SAAU,CAAA,QAAA,CAAS,QAAQ,CAC/C,EAAA,EAAA;AACI,MAAA,IAAA,CAAK,eAAe,SAAU,CAAA,QAAA,CAAS,CAAC,CAAA,EAAG,MAAM,mBAAmB,CAAA,CAAA;AAAA,KACxE;AAAA,GACJ;AAIJ,CAAA,CAAA;AAAA;AAhDa,OA+CK,CAAA,MAAA,GAAS,IAAI,OAAO,EAAA,CAAA;AA/C/B,IAAM,MAAN,GAAA;;;;"}

22
node_modules/pixi.js/lib/culling/CullerPlugin.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
import type { ExtensionMetadata } from '../extensions/Extensions';
import type { Renderer } from '../rendering/renderers/types';
import type { Container } from '../scene/container/Container';
/**
* An {@link app.Application} plugin that will automatically cull your stage using the renderers screen size.
* @example
* import { extensions, CullerPlugin } from 'pixi.js';
*
* extensions.add(CullerPlugin);
* @memberof app
* @see {@link scene.Culler}
*/
export declare class CullerPlugin {
/** @ignore */
static extension: ExtensionMetadata;
static renderer: Renderer;
static stage: Container;
static render: () => void;
private static _renderRef;
static init(): void;
static destroy(): void;
}

27
node_modules/pixi.js/lib/culling/CullerPlugin.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
'use strict';
var Extensions = require('../extensions/Extensions.js');
var Culler = require('./Culler.js');
"use strict";
class CullerPlugin {
static init() {
this._renderRef = this.render.bind(this);
this.render = () => {
Culler.Culler.shared.cull(this.stage, this.renderer.screen);
this.renderer.render({ container: this.stage });
};
}
static destroy() {
this.render = this._renderRef;
}
}
/** @ignore */
CullerPlugin.extension = {
priority: 10,
type: Extensions.ExtensionType.Application,
name: "culler"
};
exports.CullerPlugin = CullerPlugin;
//# sourceMappingURL=CullerPlugin.js.map

1
node_modules/pixi.js/lib/culling/CullerPlugin.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"CullerPlugin.js","sources":["../../src/culling/CullerPlugin.ts"],"sourcesContent":["import { ExtensionType } from '../extensions/Extensions';\nimport { Culler } from './Culler';\n\nimport type { ExtensionMetadata } from '../extensions/Extensions';\nimport type { Renderer } from '../rendering/renderers/types';\nimport type { Container } from '../scene/container/Container';\n\n/**\n * An {@link app.Application} plugin that will automatically cull your stage using the renderers screen size.\n * @example\n * import { extensions, CullerPlugin } from 'pixi.js';\n *\n * extensions.add(CullerPlugin);\n * @memberof app\n * @see {@link scene.Culler}\n */\nexport class CullerPlugin\n{\n /** @ignore */\n public static extension: ExtensionMetadata = {\n priority: 10,\n type: ExtensionType.Application,\n name: 'culler',\n };\n\n public static renderer: Renderer;\n public static stage: Container;\n public static render: () => void;\n private static _renderRef: () => void;\n\n public static init(): void\n {\n this._renderRef = this.render.bind(this);\n\n this.render = (): void =>\n {\n Culler.shared.cull(this.stage, this.renderer.screen);\n this.renderer.render({ container: this.stage });\n };\n }\n\n public static destroy(): void\n {\n this.render = this._renderRef;\n }\n}\n"],"names":["Culler","ExtensionType"],"mappings":";;;;;;AAgBO,MAAM,YACb,CAAA;AAAA,EAaI,OAAc,IACd,GAAA;AACI,IAAA,IAAA,CAAK,UAAa,GAAA,IAAA,CAAK,MAAO,CAAA,IAAA,CAAK,IAAI,CAAA,CAAA;AAEvC,IAAA,IAAA,CAAK,SAAS,MACd;AACI,MAAAA,aAAA,CAAO,OAAO,IAAK,CAAA,IAAA,CAAK,KAAO,EAAA,IAAA,CAAK,SAAS,MAAM,CAAA,CAAA;AACnD,MAAA,IAAA,CAAK,SAAS,MAAO,CAAA,EAAE,SAAW,EAAA,IAAA,CAAK,OAAO,CAAA,CAAA;AAAA,KAClD,CAAA;AAAA,GACJ;AAAA,EAEA,OAAc,OACd,GAAA;AACI,IAAA,IAAA,CAAK,SAAS,IAAK,CAAA,UAAA,CAAA;AAAA,GACvB;AACJ,CAAA;AAAA;AA7Ba,YAAA,CAGK,SAA+B,GAAA;AAAA,EACzC,QAAU,EAAA,EAAA;AAAA,EACV,MAAMC,wBAAc,CAAA,WAAA;AAAA,EACpB,IAAM,EAAA,QAAA;AACV,CAAA;;;;"}

25
node_modules/pixi.js/lib/culling/CullerPlugin.mjs generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import { ExtensionType } from '../extensions/Extensions.mjs';
import { Culler } from './Culler.mjs';
"use strict";
class CullerPlugin {
static init() {
this._renderRef = this.render.bind(this);
this.render = () => {
Culler.shared.cull(this.stage, this.renderer.screen);
this.renderer.render({ container: this.stage });
};
}
static destroy() {
this.render = this._renderRef;
}
}
/** @ignore */
CullerPlugin.extension = {
priority: 10,
type: ExtensionType.Application,
name: "culler"
};
export { CullerPlugin };
//# sourceMappingURL=CullerPlugin.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CullerPlugin.mjs","sources":["../../src/culling/CullerPlugin.ts"],"sourcesContent":["import { ExtensionType } from '../extensions/Extensions';\nimport { Culler } from './Culler';\n\nimport type { ExtensionMetadata } from '../extensions/Extensions';\nimport type { Renderer } from '../rendering/renderers/types';\nimport type { Container } from '../scene/container/Container';\n\n/**\n * An {@link app.Application} plugin that will automatically cull your stage using the renderers screen size.\n * @example\n * import { extensions, CullerPlugin } from 'pixi.js';\n *\n * extensions.add(CullerPlugin);\n * @memberof app\n * @see {@link scene.Culler}\n */\nexport class CullerPlugin\n{\n /** @ignore */\n public static extension: ExtensionMetadata = {\n priority: 10,\n type: ExtensionType.Application,\n name: 'culler',\n };\n\n public static renderer: Renderer;\n public static stage: Container;\n public static render: () => void;\n private static _renderRef: () => void;\n\n public static init(): void\n {\n this._renderRef = this.render.bind(this);\n\n this.render = (): void =>\n {\n Culler.shared.cull(this.stage, this.renderer.screen);\n this.renderer.render({ container: this.stage });\n };\n }\n\n public static destroy(): void\n {\n this.render = this._renderRef;\n }\n}\n"],"names":[],"mappings":";;;;AAgBO,MAAM,YACb,CAAA;AAAA,EAaI,OAAc,IACd,GAAA;AACI,IAAA,IAAA,CAAK,UAAa,GAAA,IAAA,CAAK,MAAO,CAAA,IAAA,CAAK,IAAI,CAAA,CAAA;AAEvC,IAAA,IAAA,CAAK,SAAS,MACd;AACI,MAAA,MAAA,CAAO,OAAO,IAAK,CAAA,IAAA,CAAK,KAAO,EAAA,IAAA,CAAK,SAAS,MAAM,CAAA,CAAA;AACnD,MAAA,IAAA,CAAK,SAAS,MAAO,CAAA,EAAE,SAAW,EAAA,IAAA,CAAK,OAAO,CAAA,CAAA;AAAA,KAClD,CAAA;AAAA,GACJ;AAAA,EAEA,OAAc,OACd,GAAA;AACI,IAAA,IAAA,CAAK,SAAS,IAAK,CAAA,UAAA,CAAA;AAAA,GACvB;AACJ,CAAA;AAAA;AA7Ba,YAAA,CAGK,SAA+B,GAAA;AAAA,EACzC,QAAU,EAAA,EAAA;AAAA,EACV,MAAM,aAAc,CAAA,WAAA;AAAA,EACpB,IAAM,EAAA,QAAA;AACV,CAAA;;;;"}

12
node_modules/pixi.js/lib/culling/CullingMixins.d.ts generated vendored Normal file
View File

@@ -0,0 +1,12 @@
declare global
{
namespace PixiMixins
{
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Container extends Partial<import('./cullingMixin').CullingMixinConstructor> {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface ContainerOptions extends Partial<import('./cullingMixin').CullingMixinConstructor> {}
}
}
export {};

27
node_modules/pixi.js/lib/culling/cullingMixin.d.ts generated vendored Normal file
View File

@@ -0,0 +1,27 @@
import type { Rectangle } from '../maths/shapes/Rectangle';
export interface CullingMixinConstructor {
/**
* If set, this shape is used for culling instead of the bounds of this object.
* It can improve the culling performance of objects with many children.
* The culling area is defined in local space.
* @memberof scene.Container#
*/
cullArea: Rectangle;
/**
* Should this object be rendered if the bounds of this object are out of frame?
*
* Culling has no effect on whether updateTransform is called.
* @default false
* @memberof scene.Container#
*/
cullable: boolean;
/**
* Determines if the children to the container can be culled
* Setting this to false allows PixiJS to bypass a recursive culling function
* Which can help to optimize very complex scenes
* @default true
* @memberof scene.Container#
*/
cullableChildren: boolean;
}
export declare const cullingMixin: CullingMixinConstructor;

11
node_modules/pixi.js/lib/culling/cullingMixin.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
'use strict';
"use strict";
const cullingMixin = {
cullArea: null,
cullable: false,
cullableChildren: true
};
exports.cullingMixin = cullingMixin;
//# sourceMappingURL=cullingMixin.js.map

1
node_modules/pixi.js/lib/culling/cullingMixin.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"cullingMixin.js","sources":["../../src/culling/cullingMixin.ts"],"sourcesContent":["import type { Rectangle } from '../maths/shapes/Rectangle';\n\nexport interface CullingMixinConstructor\n{\n /**\n * If set, this shape is used for culling instead of the bounds of this object.\n * It can improve the culling performance of objects with many children.\n * The culling area is defined in local space.\n * @memberof scene.Container#\n */\n cullArea: Rectangle,\n /**\n * Should this object be rendered if the bounds of this object are out of frame?\n *\n * Culling has no effect on whether updateTransform is called.\n * @default false\n * @memberof scene.Container#\n */\n cullable: boolean,\n /**\n * Determines if the children to the container can be culled\n * Setting this to false allows PixiJS to bypass a recursive culling function\n * Which can help to optimize very complex scenes\n * @default true\n * @memberof scene.Container#\n */\n cullableChildren: boolean,\n}\n\nexport const cullingMixin: CullingMixinConstructor = {\n cullArea: null,\n cullable: false,\n cullableChildren: true,\n};\n"],"names":[],"mappings":";;;AA6BO,MAAM,YAAwC,GAAA;AAAA,EACjD,QAAU,EAAA,IAAA;AAAA,EACV,QAAU,EAAA,KAAA;AAAA,EACV,gBAAkB,EAAA,IAAA;AACtB;;;;"}

9
node_modules/pixi.js/lib/culling/cullingMixin.mjs generated vendored Normal file
View File

@@ -0,0 +1,9 @@
"use strict";
const cullingMixin = {
cullArea: null,
cullable: false,
cullableChildren: true
};
export { cullingMixin };
//# sourceMappingURL=cullingMixin.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"cullingMixin.mjs","sources":["../../src/culling/cullingMixin.ts"],"sourcesContent":["import type { Rectangle } from '../maths/shapes/Rectangle';\n\nexport interface CullingMixinConstructor\n{\n /**\n * If set, this shape is used for culling instead of the bounds of this object.\n * It can improve the culling performance of objects with many children.\n * The culling area is defined in local space.\n * @memberof scene.Container#\n */\n cullArea: Rectangle,\n /**\n * Should this object be rendered if the bounds of this object are out of frame?\n *\n * Culling has no effect on whether updateTransform is called.\n * @default false\n * @memberof scene.Container#\n */\n cullable: boolean,\n /**\n * Determines if the children to the container can be culled\n * Setting this to false allows PixiJS to bypass a recursive culling function\n * Which can help to optimize very complex scenes\n * @default true\n * @memberof scene.Container#\n */\n cullableChildren: boolean,\n}\n\nexport const cullingMixin: CullingMixinConstructor = {\n cullArea: null,\n cullable: false,\n cullableChildren: true,\n};\n"],"names":[],"mappings":";AA6BO,MAAM,YAAwC,GAAA;AAAA,EACjD,QAAU,EAAA,IAAA;AAAA,EACV,QAAU,EAAA,KAAA;AAAA,EACV,gBAAkB,EAAA,IAAA;AACtB;;;;"}

3
node_modules/pixi.js/lib/culling/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export * from './Culler';
export * from './CullerPlugin';
export * from './cullingMixin';

12
node_modules/pixi.js/lib/culling/index.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
var Culler = require('./Culler.js');
var CullerPlugin = require('./CullerPlugin.js');
var cullingMixin = require('./cullingMixin.js');
"use strict";
exports.Culler = Culler.Culler;
exports.CullerPlugin = CullerPlugin.CullerPlugin;
exports.cullingMixin = cullingMixin.cullingMixin;
//# sourceMappingURL=index.js.map

1
node_modules/pixi.js/lib/culling/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}

6
node_modules/pixi.js/lib/culling/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,6 @@
export { Culler } from './Culler.mjs';
export { CullerPlugin } from './CullerPlugin.mjs';
export { cullingMixin } from './cullingMixin.mjs';
"use strict";
//# sourceMappingURL=index.mjs.map

1
node_modules/pixi.js/lib/culling/index.mjs.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}