docs/android/dokka/filament-android/com.google.android.filament/-view/-bloom-options/index.md
//filament-android/com.google.android.filament/View/BloomOptions
[main]
open class BloomOptions
Options to control the bloom effect
| BloomOptions | [main] |
| constructor() |
| Name | Summary |
|---|---|
| BlendMode | [main] |
| enum BlendMode |
| Name | Summary |
|---|---|
| blendMode | [main] |
| open var blendMode: View.BloomOptions.BlendMode | |
| how the bloom effect is applied | |
| chromaticAberration | [main] |
| open var chromaticAberration: Float | |
| amount of chromatic aberration | |
| dirt | [main] |
| open var dirt: Texture | |
| user provided dirt texture | |
| dirtStrength | [main] |
| open var dirtStrength: Float | |
| strength of the dirt texture | |
| enabled | [main] |
| open var enabled: Boolean | |
| enable or disable bloom | |
| ghostCount | [main] |
| open var ghostCount: Int | |
| number of flare "ghosts" | |
| ghostSpacing | [main] |
| open var ghostSpacing: Float | |
| spacing of the ghost in screen units [0, 1[ | |
| ghostThreshold | [main] |
| open var ghostThreshold: Float | |
| hdr threshold for the ghosts | |
| haloRadius | [main] |
| open var haloRadius: Float | |
| radius of halo in vertical screen units [0, 0. | |
| haloThickness | [main] |
| open var haloThickness: Float | |
| thickness of halo in vertical screen units, 0 to disable | |
| haloThreshold | [main] |
| open var haloThreshold: Float | |
| hdr threshold for the halo | |
| highlight | [main] |
| open var highlight: Float | |
| limit highlights to this value before bloom [10, +inf] | |
| lensFlare | [main] |
| open var lensFlare: Boolean | |
| enable screen-space lens flare | |
| levels | [main] |
| open var levels: Int | |
| number of blur levels (1 to 11) | |
| quality | [main] |
| open var quality: View.QualityLevel | |
| Bloom quality level. | |
| resolution | [main] |
| open var resolution: Int | |
| resolution of vertical axis (2^levels to 2048) | |
| starburst | [main] |
| open var starburst: Boolean | |
| enable starburst effect on lens flare | |
| strength | [main] |
| open var strength: Float | |
| bloom's strength between 0.0 and 1. | |
| threshold | [main] |
| open var threshold: Boolean | |
| whether to threshold the source |