VideoTexture.d.ts 423 B

123456789101112131415161718192021222324
  1. import { Texture } from './Texture';
  2. import {
  3. Mapping,
  4. Wrapping,
  5. TextureFilter,
  6. PixelFormat,
  7. TextureDataType,
  8. } from '../constants';
  9. export class VideoTexture extends Texture {
  10. constructor(
  11. video: HTMLVideoElement,
  12. mapping?: Mapping,
  13. wrapS?: Wrapping,
  14. wrapT?: Wrapping,
  15. magFilter?: TextureFilter,
  16. minFilter?: TextureFilter,
  17. format?: PixelFormat,
  18. type?: TextureDataType,
  19. anisotropy?: number
  20. );
  21. }
粤ICP备19079148号