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.

35 lines (34 loc) 1.24 kB
import type { Nullable, AbstractEngine, EffectWrapperCreationOptions } from "../index.js"; import { EffectWrapper } from "../Materials/effectRenderer.js"; import { Vector2 } from "../Maths/math.vector.js"; /** * Postprocess used to apply FXAA (antialiasing) to the scene */ export declare class ThinFXAAPostProcess extends EffectWrapper { private static _GetDefines; /** * The vertex shader url */ static readonly VertexUrl = "fxaa"; /** * The fragment shader url */ static readonly FragmentUrl = "fxaa"; /** * The list of uniforms used by the effect */ static readonly Uniforms: string[]; protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void; /** * Constructs a new FXAA 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 texel size of the texture to apply FXAA on */ texelSize: Vector2; bind(noDefaultBindings?: boolean): void; }