FilterTexture Class
Constructor
FilterTexture
(
private
-
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
Item Index
Methods
clear
()
Clears the filter texture
destroy
()
Destroys the shader
destroy
()
Destroys the filter texture
init
()
Initialises the shader
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