@realsee/dnalogel
Version:
10 lines (9 loc) • 434 B
TypeScript
import * as THREE from 'three';
import type { Overwrite } from '../../typings/utils.type';
export default function loadVideoTexture(src: string, videoElement?: HTMLVideoElement): Promise<Overwrite<THREE.VideoTexture, {
image: HTMLVideoElement;
}>>;
export declare function getVideoTexture(src: string, videoElement?: HTMLVideoElement): Overwrite<THREE.VideoTexture, {
image: HTMLVideoElement;
metadataLoaded: boolean;
}>;