UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

17 lines 615 B
import { TgdFilter } from "./filter"; export interface TgdFilterAntiAliasingOptions { strength: number; } export declare class TgdFilterAntiAliasing extends TgdFilter { /** * Percentage of displacement of the color or the border of the image. * The blue is push await from the center, and the red is pulled to * the center. But if you use a negative `strength`, the process is * reversed. * * Default to 1.0 (means 1% of displacement). */ strength: number; constructor(options?: Partial<TgdFilterAntiAliasingOptions>); } //# sourceMappingURL=anti-aliasing.d.ts.map