pixi.js
    Preparing search index...

    Type Alias MaskChannel

    MaskChannel: "red" | "alpha"

    The channel to use for masking.

    • 'red' - Uses the red channel of the mask texture (default). Suitable for grayscale mask textures.
    • 'alpha' - Uses the alpha channel of the mask texture. Suitable for sprites with transparency.