Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MASK_TYPES

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

name

MASK_TYPES

memberof

PIXI

static
property

{number} NONE - Mask is ignored

property

{number} SCISSOR - Scissor mask, rectangle on screen, cheap

property

{number} STENCIL - Stencil mask, 1-bit, medium, works only if renderer supports stencil

property

{number} SPRITE - Mask that uses SpriteMaskFilter, uses temporary RenderTexture

Index

Enumeration members

Enumeration members

NONE

NONE: = 0

SCISSOR

SCISSOR: = 1

SPRITE

SPRITE: = 3

STENCIL

STENCIL: = 2

Generated using TypeDoc