API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classBlurFilter
Box-blur Filter implemented as multiple additive sprite passes. The blur is approximated by rendering the input texture `quality * 2 + 1` times offset symmetrically along each axis by up to ±`radius` pixels and blending them additively. Higher `quality` values add more samples and produce a smoother result at the cost of additional draw calls.
import { BlurFilter } from '@codexo/exojs' Box-blur Filter implemented as multiple additive sprite passes.
The blur is approximated by rendering the input texture `quality * 2 + 1` times offset symmetrically along each axis by up to ±`radius` pixels and blending them additively. Higher `quality` values add more samples and produce a smoother result at the cost of additional draw calls.
new(options: BlurFilterOptions): BlurFilter apply(backend: RenderBackend, input: RenderTexture, output: RenderTexture): void destroy(): void quality: number radius: number