starry / backend /libs /three /renderers /WebGLArrayRenderTarget.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
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;
}