module BABYLON {
    export class FilterPostProcess extends PostProcess {
        constructor(name: string, public kernelMatrix: Matrix, ratio: number, camera?: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean) {
            super(name, "filter", ["kernelMatrix"], null, ratio, camera, samplingMode, engine, reusable);

            this.onApply = (effect: Effect) => {
                effect.setMatrix("kernelMatrix", this.kernelMatrix);
            }
        }
    }
}