Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Filter: { pixiFilter: PIXI.Filter; updateBooleanParameter: any; updateDoubleParameter: any; updatePreRender: any; updateStringParameter: any }

The type of a filter used to manipulate a Pixi filter.

Type declaration

  • pixiFilter: PIXI.Filter

    The PIXI filter

  • updateBooleanParameter:function
    • updateBooleanParameter(filter: Filter, parameterName: string, value: boolean): void
  • updateDoubleParameter:function
    • updateDoubleParameter(filter: Filter, parameterName: string, value: number): void
  • updatePreRender:function
  • updateStringParameter:function
    • updateStringParameter(filter: Filter, parameterName: string, value: string): void
FilterCreator: { makePIXIFilter: any; updateBooleanParameter: any; updateDoubleParameter: any; updatePreRender: any; updateStringParameter: any }

A wrapper allowing to create a PIXI filter and update it using a common interface

Type declaration

Functions

  • clampKernelSize(value: any, min: any, max: any): any
  • clampValue(value: any, min: any, max: any): number
  • enableEffect(filter: Filter, value: boolean): void
  • isEffectEnabled(filter: Filter): boolean
  • registerFilterCreator(filterName: string, filterCreator: FilterCreator): void
  • rgbOrHexToHexNumber(value: string): number

Generated using TypeDoc