1 | import type { Renderer } from '../Renderer';
|
2 | import type { ISystem } from '../system/ISystem';
|
3 | import type { MaskData } from './MaskData';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class AbstractMaskSystem implements ISystem {
|
9 | |
10 |
|
11 |
|
12 |
|
13 | protected maskStack: Array<MaskData>;
|
14 | |
15 |
|
16 |
|
17 |
|
18 | protected glConst: number;
|
19 | protected renderer: Renderer;
|
20 | |
21 |
|
22 |
|
23 | constructor(renderer: Renderer);
|
24 | /** Gets count of masks of certain type. */
|
25 | getStackLength(): number;
|
26 | /**
|
27 | * Changes the mask stack that is used by this System.
|
28 | * @param {PIXI.MaskData[]} maskStack - The mask stack
|
29 | */
|
30 | setMaskStack(maskStack: Array<MaskData>): void;
|
31 | |
32 |
|
33 |
|
34 |
|
35 | protected _useCurrent(): void;
|
36 |
|
37 | destroy(): void;
|
38 | }
|