UNPKG

modern-canvas

Version:

A JavaScript WebGL rendering engine. only the ESM.

17 lines (16 loc) 622 B
import type { GlRenderer } from '../../core'; import type { EffectProperties, Node, Viewport } from '../main'; import { Effect } from '../main/Effect'; import { Material } from '../resources'; export interface GaussianBlurEffectProperties extends EffectProperties { strength: number; quality: number; } export declare class GaussianBlurEffect extends Effect { static materialX: Material; static materialY: Material; strength: number; quality: number; constructor(properties?: Partial<GaussianBlurEffectProperties>, children?: Node[]); apply(renderer: GlRenderer, source: Viewport): void; }