UNPKG

starling-framework

Version:

A fast, productive library for 2D cross-platform development.

23 lines 707 B
import ConcreteTexture from "./ConcreteTexture"; import VideoTexture from "openfl/display3D/textures/VideoTexture"; declare namespace starling.textures { /** * @private * * * * A concrete texture that wraps a <code>VideoTexture</code> base. * * For internal use only. */ export class ConcreteVideoTexture extends ConcreteTexture { /** * Creates a new instance with the given parameters. * * <code>base</code> must be of type <code>flash.display3D.textures.VideoTexture</code>. * */ protected constructor(base: VideoTexture, scale?: number); /** * @inheritDoc */ override dispose(): void; } } export default starling.textures.ConcreteVideoTexture;