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.

26 lines (25 loc) 1.16 kB
import type { PostProcessOptions } from "./postProcess.js"; import { PostProcess } from "./postProcess.js"; import type { Camera } from "../Cameras/camera.js"; import type { AbstractEngine } from "../Engines/abstractEngine.js"; /** * Postprocess used to generate anaglyphic rendering */ export declare class AnaglyphPostProcess extends PostProcess { private _passedProcess; /** * Gets a string identifying the name of the class * @returns "AnaglyphPostProcess" string */ getClassName(): string; /** * Creates a new AnaglyphPostProcess * @param name defines postprocess name * @param options defines creation options or target ratio scale * @param rigCameras defines cameras using this postprocess * @param samplingMode defines required sampling mode (BABYLON.Texture.NEAREST_SAMPLINGMODE by default) * @param engine defines hosting engine * @param reusable defines if the postprocess will be reused multiple times per frame */ constructor(name: string, options: number | PostProcessOptions, rigCameras: Camera[], samplingMode?: number, engine?: AbstractEngine, reusable?: boolean); }