@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.
27 lines (26 loc) • 869 B
TypeScript
import type { FrameGraph, FrameGraphTextureHandle } from "../../../index.js";
import { FrameGraphTask } from "../../frameGraphTask.js";
/**
* Task used to copy a texture to another texture.
*/
export declare class FrameGraphCopyToTextureTask extends FrameGraphTask {
/**
* The source texture to copy from.
*/
sourceTexture: FrameGraphTextureHandle;
/**
* The target texture to copy to.
*/
targetTexture: FrameGraphTextureHandle;
/**
* The output texture (same as targetTexture, but the handle may be different).
*/
readonly outputTexture: FrameGraphTextureHandle;
/**
* Constructs a new FrameGraphCopyToTextureTask.
* @param name The name of the task.
* @param frameGraph The frame graph the task belongs to.
*/
constructor(name: string, frameGraph: FrameGraph);
record(): void;
}