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.

30 lines (29 loc) 1.37 kB
import type { FrameGraph } from "../../frameGraph.js"; import { FrameGraphPostProcessTask } from "./postProcessTask.js"; import { ThinPassCubePostProcess, ThinPassPostProcess } from "../../../PostProcesses/thinPassPostProcess.js"; /** * Task which applies a pass post process. */ export declare class FrameGraphPassTask extends FrameGraphPostProcessTask { readonly postProcess: ThinPassPostProcess; /** * Constructs a new pass task. * @param name The name of the task. * @param frameGraph The frame graph this task is associated with. * @param thinPostProcess The thin post process to use for the pass effect. If not provided, a new one will be created. */ constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinPassPostProcess); } /** * Task which applies a pass cube post process. */ export declare class FrameGraphPassCubeTask extends FrameGraphPostProcessTask { readonly postProcess: ThinPassCubePostProcess; /** * Constructs a new pass cube task. * @param name The name of the task. * @param frameGraph The frame graph this task is associated with. * @param thinPostProcess The thin post process to use for the pass cube effect. If not provided, a new one will be created. */ constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinPassCubePostProcess); }