Constants for mask implementations. We use type suffix because it leads to very different behaviours
type
PIXI
Color mask (RGBA)
4 Copy
4
Mask is ignored
0 Copy
0
Scissor mask, rectangle on screen, cheap
1 Copy
1
Mask that uses SpriteMaskFilter, uses temporary RenderTexture
3 Copy
3
Stencil mask, 1-bit, medium, works only if renderer supports stencil
2 Copy
2
Constants for mask implementations. We use
type
suffix because it leads to very different behavioursMemberof
PIXI
Static