API Docs for: 2.2.1
Show:

FilterTexture Class

Constructor

FilterTexture

(
  • gl
  • width
  • height
  • scaleMode
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

  • width Float

    the horizontal range of the filter

  • height Float

    the vertical range of the filter

  • scaleMode Int

    Should be one of the PIXI.scaleMode consts

Item Index

Methods

Methods

clear

()

Clears the filter texture

destroy

()

Destroys the filter texture

resize

(
  • width
  • height
)

Resizes the texture to the specified width and height

Parameters:

  • width Number

    the new width of the texture

  • height Number

    the new height of the texture