anaglyphPostProcess.d.ts 1.1 KB

1234567891011121314151617181920212223242526
  1. import type { Engine } from "../Engines/engine";
  2. import type { PostProcessOptions } from "./postProcess";
  3. import { PostProcess } from "./postProcess";
  4. import type { Camera } from "../Cameras/camera";
  5. import "../Shaders/anaglyph.fragment";
  6. /**
  7. * Postprocess used to generate anaglyphic rendering
  8. */
  9. export declare class AnaglyphPostProcess extends PostProcess {
  10. private _passedProcess;
  11. /**
  12. * Gets a string identifying the name of the class
  13. * @returns "AnaglyphPostProcess" string
  14. */
  15. getClassName(): string;
  16. /**
  17. * Creates a new AnaglyphPostProcess
  18. * @param name defines postprocess name
  19. * @param options defines creation options or target ratio scale
  20. * @param rigCameras defines cameras using this postprocess
  21. * @param samplingMode defines required sampling mode (BABYLON.Texture.NEAREST_SAMPLINGMODE by default)
  22. * @param engine defines hosting engine
  23. * @param reusable defines if the postprocess will be reused multiple times per frame
  24. */
  25. constructor(name: string, options: number | PostProcessOptions, rigCameras: Camera[], samplingMode?: number, engine?: Engine, reusable?: boolean);
  26. }