This class defines an interface for masked custom filters

Hierarchy (view full)

Properties

vertexShader: string = ...

The default vertex shader used by all instances of AbstractBaseMaskFilter

defaultUniforms: object = {}

The default uniforms used by the filter

fragmentShader: string = undefined

The fragment shader which renders this filter.

Methods

  • Parameters

    • filterManager: any
    • input: any
    • output: any
    • clear: any
    • currentState: any

    Returns void

  • A factory method for creating the filter using its defined default values.

    Parameters

    • Optional initialUniforms: object = {}

      Initial uniform values which override filter defaults

    Returns AbstractBaseFilter

    The constructed AbstractFilter instance.