VideoTexture.d.ts 465 B

1234567891011121314151617181920212223
  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 VideoTexture extends Texture {
  11. constructor(
  12. video: HTMLVideoElement,
  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. );
  22. }
粤ICP备19079148号