Skip to content

Supports

engine.supports: what node.filters can do on this renderer and tier.

flag.filters = engine.supports.shaders ? [wave] : [brightness(1.1)]

readonly filters: boolean

Colour filters, blur and drop shadows draw (WebGL; Canvas 2D with ctx.filter). tint() draws everywhere.


readonly blur: boolean

blur() and soft drop shadows draw: filters, and the tier’s maxBlur above 0 (not on the low tier).


readonly shaders: boolean

shader() filters draw: WebGL only.


readonly maxBlur: number

The largest blur radius on the current tier, stage units (bigger ones are drawn at it; 0: off).


readonly tiers: Readonly<Record<TierName, { maxBlur: number; }>>

The limits of each tier (the tier can drop during play).