pixi.js
    Preparing search index...

    Class StencilMaskAdvanced

    A mask that uses the stencil buffer to clip the rendering of a container. This is useful for complex masks that cannot be achieved with simple shapes. It is more performant than using a Graphics mask, but requires WebGL support. It is also useful for masking with Container objects that have complex shapes.

    Implements

    Index

    Constructors

    Properties

    mask: Container
    pipe: string = 'stencilMask'
    priority: number = 0
    extension: ExtensionMetadata = ExtensionType.MaskEffect

    Methods

    • Parameters

      • bounds: Bounds
      • skipUpdateTransform: boolean

      Returns void

    • Parameters

      Returns void

    • Returns void

    • Parameters

      • mask: any

      Returns boolean