@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.
16 lines (15 loc) • 681 B
TypeScript
import { type FrameGraphRenderPass, type LayerAndFaceIndex } from "../index.js";
import { FrameGraphTask } from "./frameGraphTask.js";
/**
* Base class for frame graph tasks that involve multi-target rendering.
*/
export declare abstract class FrameGraphTaskMultiRenderTarget extends FrameGraphTask {
private _outputLayerAndFaceIndices;
private _layerAndFaceIndicesUpdated;
/**
* Sets the output layer and face indices for multi-target rendering.
* @param indices The array of layer and face indices.
*/
setOutputLayerAndFaceIndices(indices: LayerAndFaceIndex[]): void;
protected _updateLayerAndFaceIndices(pass: FrameGraphRenderPass): void;
}