12345678910111213141516171819202122232425262728293031 |
- import type { Nullable } from "../types";
- import type { Camera } from "../Cameras/camera";
- import type { PostProcessOptions } from "./postProcess";
- import { PostProcess } from "./postProcess";
- import type { AbstractEngine } from "../Engines/abstractEngine";
- import "../Shaders/displayPass.fragment";
- import type { Scene } from "../scene";
- /**
- * DisplayPassPostProcess which produces an output the same as it's input
- */
- export declare class DisplayPassPostProcess extends PostProcess {
- /**
- * Gets a string identifying the name of the class
- * @returns "DisplayPassPostProcess" string
- */
- getClassName(): string;
- /**
- * Creates the DisplayPassPostProcess
- * @param name The name of the effect.
- * @param options The required width/height ratio to downsize to before computing the render pass.
- * @param camera The camera to apply the render pass to.
- * @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, options: number | PostProcessOptions, camera: Nullable<Camera>, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean);
- /**
- * @internal
- */
- static _Parse(parsedPostProcess: any, targetCamera: Camera, scene: Scene, rootUrl: string): Nullable<DisplayPassPostProcess>;
- }
|