UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

23 lines (22 loc) 1.12 kB
import { ExtensionType } from '../../../extensions/Extensions'; import type { Container } from '../../../scene/container/Container'; import type { Effect } from '../../../scene/container/Effect'; import type { InstructionSet } from '../../renderers/shared/instructions/InstructionSet'; import type { InstructionPipe } from '../../renderers/shared/instructions/RenderPipe'; import type { Renderer } from '../../renderers/types'; import type { StencilMaskInstruction } from './StencilMaskTypes'; /** @internal */ export declare class StencilMaskPipe implements InstructionPipe<StencilMaskInstruction> { static extension: { readonly type: readonly [ExtensionType.WebGLPipes, ExtensionType.WebGPUPipes]; readonly name: "stencilMask"; }; private _renderer; private _maskStackHash; private _maskHash; constructor(renderer: Renderer); push(mask: Effect, _container: Container, instructionSet: InstructionSet): void; pop(mask: Effect, _container: Container, instructionSet: InstructionSet): void; execute(instruction: StencilMaskInstruction): void; destroy(): void; }