FilterTexture Class
Constructor
FilterTexture
(
-
gl
-
width
-
height
-
scaleMode
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
-
width
Numberthe horizontal range of the filter
-
height
Numberthe vertical range of the filter
-
scaleMode
NumberShould be one of the PIXI.scaleMode consts
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
Numberthe new width of the texture
-
height
Numberthe new height of the texture