Supports
engine.supports: what node.filters can do on this renderer and tier.
Example
Section titled “Example”flag.filters = engine.supports.shaders ? [wave] : [brightness(1.1)]Properties
Section titled “Properties”filters
Section titled “filters”
readonlyfilters:boolean
Colour filters, blur and drop shadows draw (WebGL; Canvas 2D with ctx.filter). tint() draws everywhere.
readonlyblur:boolean
blur() and soft drop shadows draw: filters, and the tier’s maxBlur above 0 (not on the low tier).
shaders
Section titled “shaders”
readonlyshaders:boolean
shader() filters draw: WebGL only.
maxBlur
Section titled “maxBlur”
readonlymaxBlur:number
The largest blur radius on the current tier, stage units (bigger ones are drawn at it; 0: off).
readonlytiers:Readonly<Record<TierName, {maxBlur:number; }>>
The limits of each tier (the tier can drop during play).