API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classFilter
Abstract base class for post-process filters applied to a drawable's render output. Filters are rendered into a temporary RenderTexture (the `output`) that is composited back onto the scene after all filters in the chain have been applied. Subclasses implement apply to run their shader pass. Stock implementations: BlurFilter, ColorFilter. User-supplied GLSL/WGSL shaders: WebGl2ShaderFilter, WebGpuShaderFilter.
import { Filter } from '@codexo/exojs' Abstract base class for post-process filters applied to a drawable's render output.
Filters are rendered into a temporary RenderTexture (the `output`) that is composited back onto the scene after all filters in the chain have been applied. Subclasses implement apply to run their shader pass. Stock implementations: BlurFilter, ColorFilter. User-supplied GLSL/WGSL shaders: WebGl2ShaderFilter, WebGpuShaderFilter.
new(): Filter apply(backend: RenderBackend, input: RenderTexture, output: RenderTexture): void destroy(): void