UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

24 lines (23 loc) 1.01 kB
import type { Camera } from "../Cameras/camera.js"; import { PostProcess } from "./postProcess.js"; import "../Shaders/vrMultiviewToSingleview.fragment.js"; import "../Engines/Extensions/engine.multiview.js"; import type { Nullable } from "../types.js"; /** * VRMultiviewToSingleview used to convert multiview texture arrays to standard textures for scenarios such as webVR * This will not be used for webXR as it supports displaying texture arrays directly */ export declare class VRMultiviewToSingleviewPostProcess extends PostProcess { /** * Gets a string identifying the name of the class * @returns "VRMultiviewToSingleviewPostProcess" string */ getClassName(): string; /** * Initializes a VRMultiviewToSingleview * @param name name of the post process * @param camera camera to be applied to * @param scaleFactor scaling factor to the size of the output texture */ constructor(name: string, camera: Nullable<Camera>, scaleFactor: number); }