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

20
node_modules/pixi.js/lib/scene/container/Effect.d.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import type { Point } from '../../maths/point/Point';
import type { PointData } from '../../maths/point/PointData';
import type { Bounds } from './bounds/Bounds';
import type { Container } from './Container';
/**
* An effect that can be applied to a container. This is used to create effects such as filters/masks etc.
* @memberof rendering
*/
export interface Effect {
pipe: string;
priority: number;
addBounds?(bounds: Bounds, skipUpdateTransform?: boolean): void;
addLocalBounds?(bounds: Bounds, localRoot: Container): void;
containsPoint?(point: PointData, hitTestFn: (container: Container, point: Point) => boolean): boolean;
destroy(): void;
}
export interface EffectConstructor {
new (options?: any): Effect;
test?(options: any): boolean;
}