PIXI.MASK_TYPES

MASK_TYPES

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

Summary


Properties from MASK_TYPES

Public Properties


COLOR index.ts:464
static COLOR: number

Color mask (RGBA)

NONE index.ts:464
static NONE: number

Mask is ignored

SCISSOR index.ts:464
static SCISSOR: number

Scissor mask, rectangle on screen, cheap

SPRITE index.ts:464
static SPRITE: number

Mask that uses SpriteMaskFilter, uses temporary RenderTexture

STENCIL index.ts:464
static STENCIL: number

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


Powered by webdoc!