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">

21 lines (20 loc) 639 B
/** * The stencil state for the GPU renderer. * This is used to define how the stencil buffer should be configured. * @category rendering * @advanced */ export interface StencilState { stencilWriteMask?: number; stencilReadMask?: number; stencilFront?: { compare: 'always' | 'equal' | 'not-equal'; passOp: 'increment-clamp' | 'decrement-clamp' | 'keep' | 'replace'; }; stencilBack?: { compare: 'always' | 'equal' | 'not-equal'; passOp: 'increment-clamp' | 'decrement-clamp' | 'keep' | 'replace'; }; } /** @internal */ export declare const GpuStencilModesToPixi: StencilState[];