BackdropFilter
class BackdropFilter extends PIXI.FilterThis filter uses a backdrop texture to calculate the output colors.
A backdrop filter can use existing colors in the destination framebuffer to calculate the output colors. It does not need to rely on in-built blend modes to do those calculations.
Constructor
new BackdropFilter() → {}This filter uses a backdrop texture to calculate the output colors.
Summary
Properties from BackdropFilter
| string | The name of the uniform for the backdrop texture. | 
| Float32Array | If non-null, @pixi/picture will clear the filter's output framebuffer with this RGBA color. | 
Properties inherited from Filter
| boolean |  | 
| PIXI.BLEND_MODES |  | 
| boolean | If enabled is true the filter is applied, if false it will not. | 
| boolean |  | 
| PIXI.MSAA_QUALITY | The samples of the filter. | 
| number |  | 
| number |  | 
| PIXI.State | The WebGL state the filter requires to render. | 
Properties inherited from Shader
| PIXI.Program | Program that the shader uses. | 
| Dict<any> |  | 
Methods inherited from Filter
| void |  | 
Public Properties
backdropUniformName: string = undefinedThe name of the uniform for the backdrop texture.
clearColor: Float32Array = undefinedIf non-null, @pixi/picture will clear the filter's output framebuffer with this RGBA color.