@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.
31 lines (30 loc) • 1.16 kB
TypeScript
import type { Nullable, AbstractEngine, EffectWrapperCreationOptions } from "../index.js";
import { EffectWrapper } from "../Materials/effectRenderer.js";
/**
* Post process used to extract highlights.
*/
export declare class ThinExtractHighlightsPostProcess extends EffectWrapper {
/**
* The fragment shader url
*/
static readonly FragmentUrl = "extractHighlights";
/**
* The list of uniforms used by the effect
*/
static readonly Uniforms: string[];
protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void;
/**
* Constructs a new extract highlights 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);
/**
* The luminance threshold, pixels below this value will be set to black.
*/
threshold: number;
/** @internal */
_exposure: number;
bind(noDefaultBindings?: boolean): void;
}