UNPKG

1.14 kBTypeScriptView Raw
1import { RenderTargetOptions } from "./core/RenderTarget.js";
2import { WebGLRenderTarget } from "./renderers/WebGLRenderTarget.js";
3import { Texture } from "./textures/Texture.js";
4
5/**
6 * @deprecated THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.
7 */
8export class WebGLMultipleRenderTargets extends WebGLRenderTarget<Texture[]> {
9 readonly isWebGLMultipleRenderTargets: true;
10
11 /**
12 * @deprecated THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.
13 * @param width The width of the render target.
14 * @param height The height of the render target.
15 * @param count The number of render targets.
16 * @param options object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans.
17 * For an explanation of the texture parameters see {@link Texture}.
18 */
19 constructor(width?: number, height?: number, count?: number, options?: RenderTargetOptions);
20}