stereoscopicInterlacePostProcess.d.ts 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import type { Camera } from "../Cameras/camera";
  2. import { PostProcess } from "./postProcess";
  3. import type { Engine } from "../Engines/engine";
  4. import "../Shaders/stereoscopicInterlace.fragment";
  5. /**
  6. * StereoscopicInterlacePostProcessI used to render stereo views from a rigged camera with support for alternate line interlacing
  7. */
  8. export declare class StereoscopicInterlacePostProcessI extends PostProcess {
  9. private _stepSize;
  10. private _passedProcess;
  11. /**
  12. * Gets a string identifying the name of the class
  13. * @returns "StereoscopicInterlacePostProcessI" string
  14. */
  15. getClassName(): string;
  16. /**
  17. * Initializes a StereoscopicInterlacePostProcessI
  18. * @param name The name of the effect.
  19. * @param rigCameras The rig cameras to be applied to the post process
  20. * @param isStereoscopicHoriz If the rendered results are horizontal or vertical
  21. * @param isStereoscopicInterlaced If the rendered results are alternate line interlaced
  22. * @param samplingMode The sampling mode to be used when computing the pass. (default: 0)
  23. * @param engine The engine which the post process will be applied. (default: current engine)
  24. * @param reusable If the post process can be reused on the same frame. (default: false)
  25. */
  26. constructor(name: string, rigCameras: Camera[], isStereoscopicHoriz: boolean, isStereoscopicInterlaced: boolean, samplingMode?: number, engine?: Engine, reusable?: boolean);
  27. }
  28. /**
  29. * StereoscopicInterlacePostProcess used to render stereo views from a rigged camera
  30. */
  31. export declare class StereoscopicInterlacePostProcess extends PostProcess {
  32. private _stepSize;
  33. private _passedProcess;
  34. /**
  35. * Gets a string identifying the name of the class
  36. * @returns "StereoscopicInterlacePostProcess" string
  37. */
  38. getClassName(): string;
  39. /**
  40. * Initializes a StereoscopicInterlacePostProcess
  41. * @param name The name of the effect.
  42. * @param rigCameras The rig cameras to be applied to the post process
  43. * @param isStereoscopicHoriz If the rendered results are horizontal or vertical
  44. * @param samplingMode The sampling mode to be used when computing the pass. (default: 0)
  45. * @param engine The engine which the post process will be applied. (default: current engine)
  46. * @param reusable If the post process can be reused on the same frame. (default: false)
  47. */
  48. constructor(name: string, rigCameras: Camera[], isStereoscopicHoriz: boolean, samplingMode?: number, engine?: Engine, reusable?: boolean);
  49. }