@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) • 932 B
TypeScript
import type { Nullable, AbstractEngine, EffectWrapperCreationOptions } from "../index.js";
import { EffectWrapper } from "../Materials/effectRenderer.js";
/**
* Postprocess used to generate anaglyphic rendering
*/
export declare class ThinAnaglyphPostProcess extends EffectWrapper {
/**
* The fragment shader url
*/
static readonly FragmentUrl = "anaglyph";
/**
* The list of samplers used by the effect
*/
static readonly Samplers: string[];
protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void;
/**
* Constructs a new anaglyph post process
* @param name Name of the effect
* @param engine Engine to use to render the effect. If not provided, the last created engine will be used
* @param options Options to configure the effect
*/
constructor(name: string, engine?: Nullable<AbstractEngine>, options?: EffectWrapperCreationOptions);
}