@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
25 lines • 952 B
TypeScript
import { TgdFilter } from "./filter";
export interface TgdFilterChromaticAberrationOptions {
/**
* 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;
}
export declare class TgdFilterChromaticAberration 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<TgdFilterChromaticAberrationOptions>);
}
//# sourceMappingURL=chromatic-aberration.d.ts.map