@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.
18 lines (17 loc) • 959 B
TypeScript
import type { FrameGraph, FrameGraphRenderContext, FrameGraphRenderPass } from "../../../index.js";
import { ThinBlurPostProcess } from "../../../PostProcesses/thinBlurPostProcess.js";
import { FrameGraphPostProcessTask } from "./postProcessTask.js";
/**
* Task which applies a blur post process.
*/
export declare class FrameGraphBlurTask extends FrameGraphPostProcessTask {
readonly postProcess: ThinBlurPostProcess;
/**
* Constructs a new blur task.
* @param name Name of the task.
* @param frameGraph Frame graph this task is associated with.
* @param thinPostProcess The thin post process to use for the blur effect.
*/
constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinBlurPostProcess);
record(skipCreationOfDisabledPasses?: boolean, additionalExecute?: (context: FrameGraphRenderContext) => void, additionalBindings?: (context: FrameGraphRenderContext) => void): FrameGraphRenderPass;
}