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.

33 lines (32 loc) 1.48 kB
import type { Nullable } from "../types.js"; import type { Camera } from "../Cameras/camera.js"; import type { PostProcessOptions } from "./postProcess.js"; import { PostProcess } from "./postProcess.js"; import type { AbstractEngine } from "../Engines/abstractEngine.js"; import { ThinExtractHighlightsPostProcess } from "./thinExtractHighlightsPostProcess.js"; /** * 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. */ get threshold(): number; set threshold(value: number); /** @internal */ get _exposure(): number; /** @internal */ set _exposure(value: 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; protected _effectWrapper: ThinExtractHighlightsPostProcess; constructor(name: string, options: number | PostProcessOptions, camera?: Nullable<Camera>, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean, textureType?: number, blockCompilation?: boolean); }