Enumeration MASK_TYPES

Constants for mask implementations. We use type suffix because it leads to very different behaviours

Memberof

PIXI

Static

Enumeration Members

Enumeration Members

COLOR: 4

Color mask (RGBA)

Default

4
NONE: 0

Mask is ignored

Default

0
SCISSOR: 1

Scissor mask, rectangle on screen, cheap

Default

1
SPRITE: 3

Mask that uses SpriteMaskFilter, uses temporary RenderTexture

Default

3
STENCIL: 2

Stencil mask, 1-bit, medium, works only if renderer supports stencil

Default

2

Generated using TypeDoc