vrMultiviewToSingleviewPostProcess.d.ts 991 B

1234567891011121314151617181920212223
  1. import type { Camera } from "../Cameras/camera";
  2. import { PostProcess } from "./postProcess";
  3. import "../Shaders/vrMultiviewToSingleview.fragment";
  4. import "../Engines/Extensions/engine.multiview";
  5. import type { Nullable } from "../types";
  6. /**
  7. * VRMultiviewToSingleview used to convert multiview texture arrays to standard textures for scenarios such as webVR
  8. * This will not be used for webXR as it supports displaying texture arrays directly
  9. */
  10. export declare class VRMultiviewToSingleviewPostProcess extends PostProcess {
  11. /**
  12. * Gets a string identifying the name of the class
  13. * @returns "VRMultiviewToSingleviewPostProcess" string
  14. */
  15. getClassName(): string;
  16. /**
  17. * Initializes a VRMultiviewToSingleview
  18. * @param name name of the post process
  19. * @param camera camera to be applied to
  20. * @param scaleFactor scaling factor to the size of the output texture
  21. */
  22. constructor(name: string, camera: Nullable<Camera>, scaleFactor: number);
  23. }