UNPKG

770 BTypeScriptView Raw
1import { EventDispatcher } from '../core/EventDispatcher';
2import { Texture } from '../textures/Texture';
3
4/**
5 * This class originall extended WebGLMultipleRenderTarget
6 * However, there are some issues with this method as documented below
7 */
8export class WebGLMultipleRenderTargets extends EventDispatcher {
9 texture: Texture[];
10
11 readonly isWebGLMultipleRenderTargets = true;
12
13 constructor(width: number, height: number, count: number);
14
15 setSize(width: number, height: number, depth?: number): this;
16 copy(source: WebGLMultipleRenderTargets): this;
17 clone(): this;
18 dispose(): void;
19 // This is an available method, however it will break the code see https://github.com/mrdoob/three.js/issues/21930
20 setTexture(texture: Texture): void;
21}