import EventDispatcher from "../../events/EventDispatcher"; import Context3D from "../Context3D"; declare namespace openfl.display3D.textures { /** * The TextureBase class is the base class for Context3D texture objects. * * **Note:** You cannot create your own texture classes using TextureBase. To add * functionality to a texture class, extend either Texture or CubeTexture instead. * */ export class TextureBase extends EventDispatcher { protected constructor(context: Context3D); /** * Frees all GPU resources associated with this texture. After disposal, calling * `upload()` or rendering with this object fails. * */ dispose(): void; } } export default openfl.display3D.textures.TextureBase;