@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.
22 lines (21 loc) • 940 B
TypeScript
import type { FrameGraph, Scene, IThinHighlightLayerOptions } from "../../../index.js";
import { ThinHighlightLayer } from "../../../Layers/thinHighlightLayer.js";
import { FrameGraphBaseLayerTask } from "./baseLayerTask.js";
/**
* Task which applies a highlight effect to a texture.
*/
export declare class FrameGraphHighlightLayerTask extends FrameGraphBaseLayerTask {
/**
* The highlight layer object. Use this object to update the highlight layer properties.
*/
readonly layer: ThinHighlightLayer;
/**
* Constructs a new highlight layer task.
* @param name Name of the task.
* @param frameGraph The frame graph this task is associated with.
* @param scene The scene to render the highlight layer in.
* @param options Options for the highlight layer.
*/
constructor(name: string, frameGraph: FrameGraph, scene: Scene, options?: IThinHighlightLayerOptions);
record(): void;
}