@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.
29 lines (28 loc) • 1.06 kB
TypeScript
import type { Nullable, AbstractEngine, EffectWrapperCreationOptions } from "../index.js";
import { EffectWrapper } from "../Materials/effectRenderer.js";
/**
* Post process used to render in black and white
*/
export declare class ThinBlackAndWhitePostProcess extends EffectWrapper {
/**
* The fragment shader url
*/
static readonly FragmentUrl = "blackAndWhite";
/**
* The list of uniforms used by the effect
*/
static readonly Uniforms: string[];
protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void;
/**
* Constructs a new black and white 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);
/**
* Effect intensity (default: 1)
*/
degree: number;
bind(noDefaultBindings?: boolean): void;
}