UNPKG

modern-canvas

Version:

A JavaScript WebGL rendering engine. only the ESM.

20 lines (19 loc) 671 B
import type { GlRenderer } from '../../core'; import type { EffectProperties, Node, Viewport } from '../main'; import { Effect } from '../main/Effect'; import { Material } from '../resources'; export interface ZoomBlurEffectProperties extends EffectProperties { center?: number[]; innerRadius: number; radius: number; strength: number; } export declare class ZoomBlurEffect extends Effect { static material: Material; center?: number[]; innerRadius: number; radius: number; strength: number; constructor(properties?: Partial<ZoomBlurEffectProperties>, children?: Node[]); apply(renderer: GlRenderer, source: Viewport): void; }