WebGLMaskManager Class
Constructor
WebGLMaskManager
    
        
            (
    
    
    
    
        private
    
    
    
    
    
    
    - 
                    
                        gl
Parameters:
- 
                    
                        glWebGLContextthe current WebGL drawing context 
Item Index
Methods
Methods
destroy
    
        ()
    
    
    
    
    
    
    
    
    
    Destroys the mask stack
popMask
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        renderSession
Removes the last filter from the filter stack and doesn't return it
Parameters:
- 
                    
                        renderSessionRenderSessionan object containing all the useful parameters 
pushMask
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        maskData
- 
                    
                        renderSession
Applies the Mask and adds it to the current filter stack
Parameters:
- 
                    
                        maskDataArray
- 
                    
                        renderSessionRenderSession
setBlendMode
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        blendMode
Sets-up the given blendMode from WebGL's point of view
Parameters:
- 
                    
                        blendModeNumberthe blendMode, should be a Pixi const, such as PIXI.BlendModes.ADD 
setContext
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        gl
Sets the drawing context to the one given in parameter
Parameters:
- 
                    
                        glWebGLContextthe current WebGL drawing context 
