FilterTexture Class
Constructor
FilterTexture
(
private
-
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
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:
-
widthNumberthe new width of the texture
-
heightNumberthe new height of the texture
