import { taaPixels } from "../../PostProcessPass.js";
import { applyThreeCompatPixelKernel, createThreeCompatHistoryProxy } from "./PostProcessTypes.js";
export class TAAPassThreeCompat {
    name = "TAAPass";
    enabled = true;
    apply(frame) {
        return applyThreeCompatPixelKernel({ ...frame, sharpness: frame.sharpness + 0.18 }, this.name, (pixels, width, height) => taaPixels(pixels, width, height, { history: frame.history ?? createThreeCompatHistoryProxy(pixels, width, height), blend: 0.22 }).pixels, "taaPixels kernel");
    }
}
//# sourceMappingURL=TAAPass.js.map