File size: 790 Bytes
2b7aae2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { DataArrayTexture } from '../textures/DataArrayTexture';
import { WebGLRenderTarget } from './WebGLRenderTarget';

/**
 * This type of render target represents an array of textures.
 */
export class WebGLArrayRenderTarget extends WebGLRenderTarget {
	/**
	 * Creates a new WebGLArrayRenderTarget.
	 *
	 * @param width the width of the render target, in pixels.
	 * @param height the height of the render target, in pixels.
	 * @param depth the depth/layer count of the render target.
	 */
	constructor(width: number, height: number, depth: number);

	/**
	 * The depth of the render target.
	 */
	depth: number;

	/**
	 * The texture property is overwritten with an instance of {@link DataArrayTexture}.
	 */
	texture: DataArrayTexture;

	readonly isWebGLArrayRenderTarget: true;
}