Creates a complete bloom effect expression with all required render passes.
The bloom effect consists of three main stages:
Configuration object for the bloom effect
Bloom effect parameters
OptionalgaussianBlurLevelHighLuminance?: numberNumber of blur levels to apply (default: 4)
OptionalgaussianKernelSize?: numberSize of the Gaussian blur kernel (default: 10)
OptionalgaussianVariance?: numberVariance of the Gaussian distribution (default: 10)
OptionalluminanceCriterion?: numberThreshold for detecting high luminance areas (default: 1.0)
OptionalsynthesizeCoefficient?: [number, number, number, number, number, number]Blend coefficients for combining blur levels (default: computed array)
The source texture to apply bloom effect to
Object containing the bloom expression and the final render target texture
Destroys all 3D API resources used by this Bloom instance.
This method cleans up all cached framebuffers and their associated GPU resources. It should be called when the Bloom instance is no longer needed to prevent memory leaks and properly release graphics resources.
Constructor for the Bloom helper.