API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceFilterPassOptions
@codexo/exojs / rendering / stable
Options for FilterPass.
4
props
0
methods
0
events
Import
import { FilterPassOptions } from '@codexo/exojs'Options for FilterPass.
Properties4
enabled?: booleanInitial enabled state. Default true. Toggle later via the RenderPass.enabled field.
label?: stringOptional debug label for the inspector / logging. Default: the constructor name. Display only - not an identity.
resolution?: numberDevice pixels per logical unit of the textures this pass runs on, passed to every filter. Filters express their parameters in logical units, so a chain on targets allocated at twice the logical size needs 2 here or every effect comes out half as wide. The default is 1 because the textures are the caller's and nothing about them states a density - the same reason Filter.apply documents 1 as the honest answer for a hand-rolled chain.
Off-screen destination. null or omitted writes the active target (the canvas unless a parent redirected it). Caller-owned and stable across frames; never allocated, pooled, resized or destroyed by the pass. May be the source texture, in which case the chain runs through borrowed intermediates and the result is blitted back.
Source