BloomOptions

actual class BloomOptions

Options to control the bloom post-processing effect.

Bloom allows bright areas to glow and bleed into surrounding areas, creating a luminous quality. The effect can be enhanced with lens flare, lens artifacts, and customizable bloom color and spread.

expect class BloomOptions

Options to control the bloom post-processing effect.

Bloom allows bright areas to glow and bleed into surrounding areas, creating a luminous quality. The effect can be enhanced with lens flare, lens artifacts, and customizable bloom color and spread.

actual class BloomOptions

Options to control the bloom post-processing effect.

Bloom allows bright areas to glow and bleed into surrounding areas, creating a luminous quality. The effect can be enhanced with lens flare, lens artifacts, and customizable bloom color and spread.

actual class BloomOptions

Options to control the bloom post-processing effect.

Bloom allows bright areas to glow and bleed into surrounding areas, creating a luminous quality. The effect can be enhanced with lens flare, lens artifacts, and customizable bloom color and spread.

actual class BloomOptions

Options to control the bloom post-processing effect.

Bloom allows bright areas to glow and bleed into surrounding areas, creating a luminous quality. The effect can be enhanced with lens flare, lens artifacts, and customizable bloom color and spread.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
constructor()
actual constructor()
actual constructor()

Types

Link copied to clipboard

Bloom blending mode.

Bloom blending mode.

Bloom blending mode.

Bloom blending mode.

Bloom blending mode.

Properties

Link copied to clipboard

How the bloom effect is applied.

How the bloom effect is applied.

How the bloom effect is applied.

How the bloom effect is applied.

How the bloom effect is applied.

Link copied to clipboard

Amount of chromatic aberration in the lens flare effect. Default: 0.005.

Amount of chromatic aberration in the lens flare effect. Default: 0.005.

Amount of chromatic aberration in the lens flare effect. Default: 0.005.

Amount of chromatic aberration in the lens flare effect. Default: 0.005.

Amount of chromatic aberration in the lens flare effect. Default: 0.005.

Link copied to clipboard
actual var dirt: Texture?

A dirt/scratch/smudges texture (RGB) which gets added to the bloom effect. Smudges are visible where bloom occurs. Threshold must be enabled for the dirt effect to work properly. Default: null.

expect var dirt: Texture?

A dirt/scratch/smudges texture (RGB) which gets added to the bloom effect. Smudges are visible where bloom occurs. Threshold must be enabled for the dirt effect to work properly. Default: null.

actual var dirt: Texture?

A dirt/scratch/smudges texture (RGB) which gets added to the bloom effect. Smudges are visible where bloom occurs. Threshold must be enabled for the dirt effect to work properly. Default: null.

actual var dirt: Texture?

A dirt/scratch/smudges texture (RGB) which gets added to the bloom effect. Smudges are visible where bloom occurs. Threshold must be enabled for the dirt effect to work properly. Default: null.

actual var dirt: Texture?

A dirt/scratch/smudges texture (RGB) which gets added to the bloom effect. Smudges are visible where bloom occurs. Threshold must be enabled for the dirt effect to work properly. Default: null.

Link copied to clipboard
actual var dirtStrength: Float

Strength of the dirt texture. Default: 0.2.

expect var dirtStrength: Float

Strength of the dirt texture. Default: 0.2.

actual var dirtStrength: Float

Strength of the dirt texture. Default: 0.2.

actual var dirtStrength: Float

Strength of the dirt texture. Default: 0.2.

actual var dirtStrength: Float

Strength of the dirt texture. Default: 0.2.

Link copied to clipboard
actual var enabled: Boolean

Enable or disable the bloom post-processing effect. Default: false.

expect var enabled: Boolean

Enable or disable the bloom post-processing effect. Default: false.

actual var enabled: Boolean

Enable or disable the bloom post-processing effect. Default: false.

actual var enabled: Boolean

Enable or disable the bloom post-processing effect. Default: false.

actual var enabled: Boolean

Enable or disable the bloom post-processing effect. Default: false.

Link copied to clipboard
actual var ghostCount: Int

Number of flare "ghosts" (lens artifacts). Default: 4.

expect var ghostCount: Int

Number of flare "ghosts" (lens artifacts). Default: 4.

actual var ghostCount: Int

Number of flare "ghosts" (lens artifacts). Default: 4.

actual var ghostCount: Int

Number of flare "ghosts" (lens artifacts). Default: 4.

actual var ghostCount: Int

Number of flare "ghosts" (lens artifacts). Default: 4.

Link copied to clipboard
actual var ghostSpacing: Float

Spacing of the ghost in screen units [0, 1). Default: 0.6.

expect var ghostSpacing: Float

Spacing of the ghost in screen units [0, 1). Default: 0.6.

actual var ghostSpacing: Float

Spacing of the ghost in screen units [0, 1). Default: 0.6.

actual var ghostSpacing: Float

Spacing of the ghost in screen units [0, 1). Default: 0.6.

actual var ghostSpacing: Float

Spacing of the ghost in screen units [0, 1). Default: 0.6.

Link copied to clipboard
actual var ghostThreshold: Float

HDR threshold for the ghosts. Default: 10.0.

expect var ghostThreshold: Float

HDR threshold for the ghosts. Default: 10.0.

actual var ghostThreshold: Float

HDR threshold for the ghosts. Default: 10.0.

actual var ghostThreshold: Float

HDR threshold for the ghosts. Default: 10.0.

actual var ghostThreshold: Float

HDR threshold for the ghosts. Default: 10.0.

Link copied to clipboard
actual var haloRadius: Float

Radius of halo in vertical screen units 0, 0.5. Default: 0.4.

expect var haloRadius: Float

Radius of halo in vertical screen units 0, 0.5. Default: 0.4.

actual var haloRadius: Float

Radius of halo in vertical screen units 0, 0.5. Default: 0.4.

actual var haloRadius: Float

Radius of halo in vertical screen units 0, 0.5. Default: 0.4.

actual var haloRadius: Float

Radius of halo in vertical screen units 0, 0.5. Default: 0.4.

Link copied to clipboard
actual var haloThickness: Float

Thickness of halo in vertical screen units, 0 to disable. Default: 0.1.

expect var haloThickness: Float

Thickness of halo in vertical screen units, 0 to disable. Default: 0.1.

actual var haloThickness: Float

Thickness of halo in vertical screen units, 0 to disable. Default: 0.1.

actual var haloThickness: Float

Thickness of halo in vertical screen units, 0 to disable. Default: 0.1.

actual var haloThickness: Float

Thickness of halo in vertical screen units, 0 to disable. Default: 0.1.

Link copied to clipboard
actual var haloThreshold: Float

HDR threshold for the halo. Default: 10.0.

expect var haloThreshold: Float

HDR threshold for the halo. Default: 10.0.

actual var haloThreshold: Float

HDR threshold for the halo. Default: 10.0.

actual var haloThreshold: Float

HDR threshold for the halo. Default: 10.0.

actual var haloThreshold: Float

HDR threshold for the halo. Default: 10.0.

Link copied to clipboard
actual var highlight: Float

Limit highlights to this value before bloom, range 10, +inf. Default: 1000.0.

expect var highlight: Float

Limit highlights to this value before bloom, range 10, +inf. Default: 1000.0.

actual var highlight: Float

Limit highlights to this value before bloom, range 10, +inf. Default: 1000.0.

actual var highlight: Float

Limit highlights to this value before bloom, range 10, +inf. Default: 1000.0.

actual var highlight: Float

Limit highlights to this value before bloom, range 10, +inf. Default: 1000.0.

Link copied to clipboard
actual var lensFlare: Boolean

Enable screen-space lens flare effect. Default: false.

expect var lensFlare: Boolean

Enable screen-space lens flare effect. Default: false.

actual var lensFlare: Boolean

Enable screen-space lens flare effect. Default: false.

actual var lensFlare: Boolean

Enable screen-space lens flare effect. Default: false.

actual var lensFlare: Boolean

Enable screen-space lens flare effect. Default: false.

Link copied to clipboard
actual var levels: Int

Number of successive blurs to achieve the blur effect. Minimum is 3 and maximum is 12. This value together with resolution influences the spread of the blur effect. This value can be silently reduced to accommodate the original image size. Default: 6.

expect var levels: Int

Number of successive blurs to achieve the blur effect. Minimum is 3 and maximum is 12. This value together with resolution influences the spread of the blur effect. This value can be silently reduced to accommodate the original image size. Default: 6.

actual var levels: Int

Number of successive blurs to achieve the blur effect. Minimum is 3 and maximum is 12. This value together with resolution influences the spread of the blur effect. This value can be silently reduced to accommodate the original image size. Default: 6.

actual var levels: Int

Number of successive blurs to achieve the blur effect. Minimum is 3 and maximum is 12. This value together with resolution influences the spread of the blur effect. This value can be silently reduced to accommodate the original image size. Default: 6.

actual var levels: Int

Number of successive blurs to achieve the blur effect. Minimum is 3 and maximum is 12. This value together with resolution influences the spread of the blur effect. This value can be silently reduced to accommodate the original image size. Default: 6.

Link copied to clipboard
val native: View.BloomOptions
Link copied to clipboard
actual var quality: View.Quality

Bloom quality level.

expect var quality: View.Quality

Bloom quality level.

actual var quality: View.Quality

Bloom quality level.

actual var quality: View.Quality

Bloom quality level.

actual var quality: View.Quality

Bloom quality level.

Link copied to clipboard
actual var resolution: Int

Resolution of bloom's minor axis. Minimum value is 2^levels and maximum is lower of the original resolution and 4096. This parameter is silently clamped to the minimum and maximum. Default: 384.

expect var resolution: Int

Resolution of bloom's minor axis. Minimum value is 2^levels and maximum is lower of the original resolution and 4096. This parameter is silently clamped to the minimum and maximum. Default: 384.

actual var resolution: Int

Resolution of bloom's minor axis. Minimum value is 2^levels and maximum is lower of the original resolution and 4096. This parameter is silently clamped to the minimum and maximum. Default: 384.

actual var resolution: Int

Resolution of bloom's minor axis. Minimum value is 2^levels and maximum is lower of the original resolution and 4096. This parameter is silently clamped to the minimum and maximum. Default: 384.

actual var resolution: Int

Resolution of bloom's minor axis. Minimum value is 2^levels and maximum is lower of the original resolution and 4096. This parameter is silently clamped to the minimum and maximum. Default: 384.

Link copied to clipboard
actual var starburst: Boolean

Enable starburst effect on lens flare. Default: true.

expect var starburst: Boolean

Enable starburst effect on lens flare. Default: true.

actual var starburst: Boolean

Enable starburst effect on lens flare. Default: true.

actual var starburst: Boolean

Enable starburst effect on lens flare. Default: true.

actual var starburst: Boolean

Enable starburst effect on lens flare. Default: true.

Link copied to clipboard
actual var strength: Float

How much of the bloom is added to the original image, between 0 and 1. Default: 0.10.

expect var strength: Float

How much of the bloom is added to the original image, between 0 and 1. Default: 0.10.

actual var strength: Float

How much of the bloom is added to the original image, between 0 and 1. Default: 0.10.

actual var strength: Float

How much of the bloom is added to the original image, between 0 and 1. Default: 0.10.

actual var strength: Float

How much of the bloom is added to the original image, between 0 and 1. Default: 0.10.

Link copied to clipboard
actual var threshold: Boolean

When enabled, a threshold at 1.0 is applied on the source image, useful for artistic reasons and usually needed when a dirt texture is used. Default: true.

expect var threshold: Boolean

When enabled, a threshold at 1.0 is applied on the source image, useful for artistic reasons and usually needed when a dirt texture is used. Default: true.

actual var threshold: Boolean

When enabled, a threshold at 1.0 is applied on the source image, useful for artistic reasons and usually needed when a dirt texture is used. Default: true.

actual var threshold: Boolean

When enabled, a threshold at 1.0 is applied on the source image, useful for artistic reasons and usually needed when a dirt texture is used. Default: true.

actual var threshold: Boolean

When enabled, a threshold at 1.0 is applied on the source image, useful for artistic reasons and usually needed when a dirt texture is used. Default: true.