diff --git a/types/three/src/renderers/WebGLMultipleRenderTargets.d.ts b/types/three/src/renderers/WebGLMultipleRenderTargets.d.ts index 6b1e66689..751a79301 100644 --- a/types/three/src/renderers/WebGLMultipleRenderTargets.d.ts +++ b/types/three/src/renderers/WebGLMultipleRenderTargets.d.ts @@ -1,5 +1,6 @@ import { EventDispatcher } from '../core/EventDispatcher'; import { Texture } from '../textures/Texture'; +import { WebGLRenderTargetOptions } from './WebGLRenderTarget'; /** * This class originall extended WebGLMultipleRenderTarget @@ -10,7 +11,14 @@ export class WebGLMultipleRenderTargets extends EventDispatcher { readonly isWebGLMultipleRenderTargets = true; - constructor(width: number, height: number, count: number); + /** + * @param width The width of the render target. + * @param height The height of the render target. + * @param count The number of render targets. + * @param options object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans. + * For an explanation of the texture parameters see {@link Texture}. + */ + constructor(width: number, height: number, count: number, options?: WebGLRenderTargetOptions); setSize(width: number, height: number, depth?: number): this; copy(source: WebGLMultipleRenderTargets): this;