API Docs for: 2.0.0
Show:

FilterTexture Class

Constructor

FilterTexture

(
  • gl
  • width
  • height
  • scaleMode
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

  • width Number

    the horizontal range of the filter

  • height Number

    the vertical range of the filter

  • scaleMode Number

    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