BlendFilter
class BlendFilter extends BackdropFilter
A blend filter is a special kind of BackdropFilter that is used to implement additional blend modes.
The blend filter takes in a IBlendShaderParts and integrates that code in its shader template to blend the source and destination colors.
The backdrop texture uniform for blend filters is "uBackdrop".
Constructor
new BlendFilter(shaderParts: IBlendShaderParts) → {}
| Name | Type | Description |
|---|---|---|
| shaderParts | IBlendShaderParts |
The blending code shader part. |
Summary
Properties inherited 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 |
|