import type { WebGLRenderer } from '../../core'; import type { EffectProperties, Node, Viewport } from '../main'; import type { Texture2D } from '../resources'; import { Color } from '../../core'; import { Effect } from '../main/Effect'; import { Material } from '../resources'; export type CheckerboardStyle = 'grid' | 'dot'; export interface DrawboardEffectProperties extends EffectProperties { checkerboard?: boolean; checkerboardStyle?: CheckerboardStyle; pixelGrid?: boolean; /** 底纹底色(网格底格 / 点阵底)。颜色字符串,可为主题 token;缺省浅色。 */ checkerboardColor?: string; /** 点阵圆点色。缺省浅灰。 */ checkerboardDotColor?: string; /** 放大时圆点的额外提亮量(0..1)。 */ dotColorDiff?: number; watermark?: string; watermarkWidth?: number; watermarkAlpha?: number; watermarkRotation?: number; } export declare class DrawboardEffect extends Effect { checkerboard: boolean; checkerboardStyle: CheckerboardStyle; pixelGrid: boolean; checkerboardColor: string; checkerboardDotColor: string; dotColorDiff: number; watermark?: string; watermarkWidth: number; watermarkAlpha: number; watermarkRotation: number; protected _watermark?: Texture2D; protected _color: Color; protected _dotColor: Color; static material: Material; constructor(properties?: Partial, children?: Node[]); protected _updateProperty(key: string, value: any, oldValue: any): void; protected _loadWatermark(value?: string): Promise; protected _checkerboardStyleMap: Record; apply(renderer: WebGLRenderer, source: Viewport): void; }