import { ImageBitmapLoader, LoadingManager, Texture, TextureLoader } from "three"; import { TextureSwitchingLoaderOption } from "./index.js"; /** * Texture image loader, Switching TextureLoader and ImageBitmapLoader. */ export declare class TextureSwitchingLoader { textureLoader: TextureLoader; imageBitmapLoader: ImageBitmapLoader; private static isSupportImageBitmap; constructor(manager?: LoadingManager); /** * Load image as Texture or CanvasTexture. * * @param url * @param option * @return Promise Texture or CanvasTexture */ load(url: string, option?: TextureSwitchingLoaderOption): Promise; private loadImageBitmap; private loadTexture; private static setTextureOptions; private static setImageBitmapOptions; } //# sourceMappingURL=TextureSwitchingLoader.d.ts.map