1 | import { Texture } from './Texture';
|
2 | import { Mapping, Wrapping, TextureFilter, PixelFormat, TextureDataType, TextureEncoding } from '../constants';
|
3 |
|
4 | export class CubeTexture extends Texture {
|
5 | |
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | constructor(
|
18 | images?: any[],
|
19 | mapping?: Mapping,
|
20 | wrapS?: Wrapping,
|
21 | wrapT?: Wrapping,
|
22 | magFilter?: TextureFilter,
|
23 | minFilter?: TextureFilter,
|
24 | format?: PixelFormat,
|
25 | type?: TextureDataType,
|
26 | anisotropy?: number,
|
27 | encoding?: TextureEncoding,
|
28 | );
|
29 |
|
30 | images: any; // returns and sets the value of Texture.image in the codde ?
|
31 |
|
32 | /**
|
33 | * @default false
|
34 | */
|
35 | flipY: boolean;
|
36 |
|
37 | readonly isCubeTexture: true;
|
38 | }
|