1 | import { Texture } from './Texture';
|
2 | import {
|
3 | Mapping,
|
4 | Wrapping,
|
5 | TextureFilter,
|
6 | PixelFormat,
|
7 | TextureDataType,
|
8 | TextureEncoding,
|
9 | } from '../constants';
|
10 |
|
11 | export class CubeTexture extends Texture {
|
12 |
|
13 | constructor(
|
14 | images?: any[],
|
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 | }
|