@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.
50 lines (49 loc) • 2.58 kB
TypeScript
import type { Camera } from "../Cameras/camera.js";
import { PostProcess } from "./postProcess.js";
import type { AbstractEngine } from "../Engines/abstractEngine.js";
import "../Shaders/stereoscopicInterlace.fragment.js";
/**
* StereoscopicInterlacePostProcessI used to render stereo views from a rigged camera with support for alternate line interlacing
*/
export declare class StereoscopicInterlacePostProcessI extends PostProcess {
private _stepSize;
private _passedProcess;
/**
* Gets a string identifying the name of the class
* @returns "StereoscopicInterlacePostProcessI" string
*/
getClassName(): string;
/**
* Initializes a StereoscopicInterlacePostProcessI
* @param name The name of the effect.
* @param rigCameras The rig cameras to be applied to the post process
* @param isStereoscopicHoriz If the rendered results are horizontal or vertical
* @param isStereoscopicInterlaced If the rendered results are alternate line interlaced
* @param samplingMode The sampling mode to be used when computing the pass. (default: 0)
* @param engine The engine which the post process will be applied. (default: current engine)
* @param reusable If the post process can be reused on the same frame. (default: false)
*/
constructor(name: string, rigCameras: Camera[], isStereoscopicHoriz: boolean, isStereoscopicInterlaced: boolean, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean);
}
/**
* StereoscopicInterlacePostProcess used to render stereo views from a rigged camera
*/
export declare class StereoscopicInterlacePostProcess extends PostProcess {
private _stepSize;
private _passedProcess;
/**
* Gets a string identifying the name of the class
* @returns "StereoscopicInterlacePostProcess" string
*/
getClassName(): string;
/**
* Initializes a StereoscopicInterlacePostProcess
* @param name The name of the effect.
* @param rigCameras The rig cameras to be applied to the post process
* @param isStereoscopicHoriz If the rendered results are horizontal or vertical
* @param samplingMode The sampling mode to be used when computing the pass. (default: 0)
* @param engine The engine which the post process will be applied. (default: current engine)
* @param reusable If the post process can be reused on the same frame. (default: false)
*/
constructor(name: string, rigCameras: Camera[], isStereoscopicHoriz: boolean, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean);
}