CubeTexture.d.ts 579 B

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