12345678910111213141516171819202122232425262728 |
- 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/extractHighlights.fragment";
- /**
- * The extract highlights post process sets all pixels to black except pixels above the specified luminance threshold. Used as the first step for a bloom effect.
- */
- export declare class ExtractHighlightsPostProcess extends PostProcess {
- /**
- * The luminance threshold, pixels below this value will be set to black.
- */
- threshold: number;
- /** @internal */
- _exposure: number;
- /**
- * Post process which has the input texture to be used when performing highlight extraction
- * @internal
- */
- _inputPostProcess: Nullable<PostProcess>;
- /**
- * Gets a string identifying the name of the class
- * @returns "ExtractHighlightsPostProcess" string
- */
- getClassName(): string;
- constructor(name: string, options: number | PostProcessOptions, camera: Nullable<Camera>, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean, textureType?: number, blockCompilation?: boolean);
- }
|