FilterTexture Class
Constructor
FilterTexture
(
-
gl -
width -
height -
scaleMode
Parameters:
-
glWebGLContextthe current WebGL drawing context
-
widthNumberthe horizontal range of the filter
-
heightNumberthe vertical range of the filter
-
scaleModeNumberShould 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:
-
widthNumberthe new width of the texture
-
heightNumberthe new height of the texture
