Constants for mask implementations. We use type suffix because it leads to very different behaviours
type
MASK_TYPES
PIXI
{number} NONE - Mask is ignored
{number} SCISSOR - Scissor mask, rectangle on screen, cheap
{number} STENCIL - Stencil mask, 1-bit, medium, works only if renderer supports stencil
{number} SPRITE - Mask that uses SpriteMaskFilter, uses temporary RenderTexture
Generated using TypeDoc
Constants for mask implementations. We use
type
suffix because it leads to very different behavioursMASK_TYPES
PIXI
{number} NONE - Mask is ignored
{number} SCISSOR - Scissor mask, rectangle on screen, cheap
{number} STENCIL - Stencil mask, 1-bit, medium, works only if renderer supports stencil
{number} SPRITE - Mask that uses SpriteMaskFilter, uses temporary RenderTexture