fxaaPostProcess.d.ts 1.0 KB

12345678910111213141516171819202122232425
  1. import type { Nullable } from "../types";
  2. import type { Camera } from "../Cameras/camera";
  3. import type { PostProcessOptions } from "./postProcess";
  4. import { PostProcess } from "./postProcess";
  5. import type { AbstractEngine } from "../Engines/abstractEngine";
  6. import "../Shaders/fxaa.fragment";
  7. import "../Shaders/fxaa.vertex";
  8. import type { Scene } from "../scene";
  9. /**
  10. * Fxaa post process
  11. * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/usePostProcesses#fxaa
  12. */
  13. export declare class FxaaPostProcess extends PostProcess {
  14. /**
  15. * Gets a string identifying the name of the class
  16. * @returns "FxaaPostProcess" string
  17. */
  18. getClassName(): string;
  19. constructor(name: string, options: number | PostProcessOptions, camera?: Nullable<Camera>, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean, textureType?: number);
  20. private _getDefines;
  21. /**
  22. * @internal
  23. */
  24. static _Parse(parsedPostProcess: any, targetCamera: Camera, scene: Scene, rootUrl: string): FxaaPostProcess;
  25. }