Spaces:
Running
Running
File size: 743 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 { Data3DTexture } from '../textures/Data3DTexture';
import { WebGLRenderTarget } from './WebGLRenderTarget';
/**
* Represents a three-dimensional render target.
*/
export class WebGL3DRenderTarget extends WebGLRenderTarget {
/**
* Creates a new WebGL3DRenderTarget.
*
* @param width the width of the render target, in pixels.
* @param height the height of the render target, in pixels.
* @param depth the depth 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 Data3DTexture}.
*/
texture: Data3DTexture;
readonly isWebGL3DRenderTarget: true;
}
|