UNPKG

579 BTypeScriptView Raw
1import { Texture } from './Texture';
2import {
3 Mapping,
4 Wrapping,
5 TextureFilter,
6 PixelFormat,
7 TextureDataType,
8 TextureEncoding,
9} from '../constants';
10
11export class CubeTexture extends Texture {
12
13 constructor(
14 images?: any[], // HTMLImageElement or HTMLCanvasElement
15 mapping?: Mapping,
16 wrapS?: Wrapping,
17 wrapT?: Wrapping,
18 magFilter?: TextureFilter,
19 minFilter?: TextureFilter,
20 format?: PixelFormat,
21 type?: TextureDataType,
22 anisotropy?: number,
23 encoding?: TextureEncoding
24 );
25
26 images: any; // returns and sets the value of Texture.image in the codde ?
27
28}