ExtractBrightnessFilter
private class ExtractBrightnessFilter extends PIXI.Filter
Internal filter for AdvancedBloomFilter to get brightness.
Constructor
new ExtractBrightnessFilter(threshold: number) → {}
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| threshold | number |
<optional> |
0.5 |
Defines how bright a color needs to be extracted. |
Summary
Properties from ExtractBrightnessFilter
| number |
Defines how bright a color needs to be extracted. |
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
threshold: number = 0.5
Defines how bright a color needs to be extracted.