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