@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
15 lines (14 loc) • 696 B
TypeScript
import type { InternalTexture } from "../../Materials/Textures/internalTexture.js";
import type { Nullable } from "../../types.js";
import type { ExternalTexture } from "../../Materials/Textures/externalTexture.js";
declare module "../../Engines/abstractEngine.js" {
interface AbstractEngine {
/**
* Update a video texture
* @param texture defines the texture to update
* @param video defines the video element to use
* @param invertY defines if data must be stored with Y axis inverted
*/
updateVideoTexture(texture: Nullable<InternalTexture>, video: HTMLVideoElement | Nullable<ExternalTexture>, invertY: boolean): void;
}
}