PIXI.filters.BloomFilter
class BloomFilter extends PIXI.Filter
The BloomFilter applies a Gaussian blur to an object.
The strength of the blur can be set for x- and y-axis separately.


Constructor
new PIXI.filters.BloomFilter(blur: number | PIXI.Point | Array<number>, quality: number, resolution: number, kernelSize: number) → {}
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| blur | number | PIXI.Point | Array<number> |
<optional> |
2 |
Sets the strength of both the blurX and blurY properties simultaneously |
| quality | number |
<optional> |
4 |
The quality of the blurX & blurY filter. |
| resolution | number |
<optional> |
PIXI.settings.FILTER_RESOLUTION |
The resolution of the blurX & blurY filter. |
| kernelSize | number |
<optional> |
5 |
The kernelSize of the blurX & blurY filter.Options: 5, 7, 9, 11, 13, 15. |
Summary
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
blur: number = 2
Sets the strength of both the blurX and blurY properties simultaneously