| Name | Type | Description | 
|---|---|---|
renderer | 
            
            PIXI.Renderer | 
                 The renderer this System works for.  | 
        
Implements
Members
Flag to enable scissor masking.
- Default Value:
 - true
 
Current index of alpha mask pool.
- Default Value:
 - 0
 
alphaMaskPool Array<PIXI.SpriteMaskFilter[]> protectedreadonly
Pool of used sprite mask filters.
Methods
Sets type of MaskData based on its maskObject.
| Name | Type | Description | 
|---|---|---|
maskData | 
            
            PIXI.MaskData | 
Removes the last mask from the mask stack and doesn't return it.
NOTE: The batch renderer should be flushed beforehand to render the masked contents before the mask is removed.
| Name | Type | Description | 
|---|---|---|
target | 
            
            PIXI.IMaskTarget | 
                 Display Object to pop the mask from  | 
        
Pops the color mask.
| Name | Type | Description | 
|---|---|---|
maskData | 
            
            PIXI.MaskData | 
                 The mask data  | 
        
Removes the last filter from the filter stack and doesn't return it.
| Name | Type | Description | 
|---|---|---|
maskData | 
            
            PIXI.MaskData | 
                 Sprite to be used as the mask.  | 
        
Enables the mask and appends it to the current mask stack.
NOTE: The batch renderer should be flushed beforehand to prevent pending renders from being masked.
| Name | Type | Description | 
|---|---|---|
target | 
            
            PIXI.DisplayObject | 
                 Display Object to push the mask to  | 
        
maskDataOrTarget | 
            
            PIXI.MaskData | PIXI.Sprite | PIXI.Graphics | PIXI.DisplayObject | 
                 The masking data.  | 
        
Pushes the color mask.
| Name | Type | Description | 
|---|---|---|
maskData | 
            
            PIXI.MaskData | 
                 The mask data  | 
        
Applies the Mask and adds it to the current filter stack.
| Name | Type | Description | 
|---|---|---|
maskData | 
            
            PIXI.MaskData | 
                 Sprite to be used as the mask.  | 
        
Changes the mask stack that is used by this System.
| Name | Type | Description | 
|---|---|---|
maskStack | 
            
            Array<PIXI.MaskData> | 
                 The mask stack  |