Options
All
  • Public
  • Public/Protected
  • All
Menu

This class defines an interface for masked custom filters

interface

Hierarchy

Index

Constructors

Methods

  • apply(filterManager: any, input: any, output: any, clear: any, currentState: any): void
  • override

    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

    • uniforms: any = {}

    Returns AbstractBaseFilter

    The constructed AbstractFilter instance.

Accessors

  • get resolution(): number
  • set resolution(value: number): void
  • Always target the resolution of the render texture or renderer

    Returns number

  • Always target the resolution of the render texture or renderer

    Parameters

    • value: number

    Returns void

  • get multisample(): MSAA_QUALITY
  • set multisample(value: MSAA_QUALITY): void
  • Always target the MSAA level of the render texture or renderer

    Returns MSAA_QUALITY

  • Always target the MSAA level of the render texture or renderer

    Parameters

    • value: MSAA_QUALITY

    Returns void

Properties

vertexShader: string = ...

The default vertex shader used by all instances of AbstractBaseMaskFilter

defaultUniforms: any = {}

The default uniforms used by the filter

fragmentShader: string = undefined

The fragment shader which renders this filter.