UNPKG

687 BTypeScriptView Raw
1import { RenderTargetOptions } from "../core/RenderTarget.js";
2import { CubeTexture } from "../textures/CubeTexture.js";
3import { Texture } from "../textures/Texture.js";
4import { WebGLRenderer } from "./WebGLRenderer.js";
5import { WebGLRenderTarget } from "./WebGLRenderTarget.js";
6
7export class WebGLCubeRenderTarget extends WebGLRenderTarget {
8 constructor(size?: number, options?: RenderTargetOptions);
9
10 textures: CubeTexture[];
11
12 get texture(): CubeTexture;
13 set texture(value: CubeTexture);
14
15 fromEquirectangularTexture(renderer: WebGLRenderer, texture: Texture): this;
16
17 clear(renderer: WebGLRenderer, color: boolean, depth: boolean, stencil: boolean): void;
18}