import { createThreeCompatFileLoaderDiagnostic } from "./LoaderDiagnostics.js";
export class TextureLoaderThreeCompat {
    supportedFormats = ["png", "jpg", "jpeg", "webp"];
    load(uri) {
        const extension = uri.split(".").pop()?.toLowerCase() ?? "";
        return createThreeCompatFileLoaderDiagnostic("TextureLoaderThreeCompat", uri, {
            warnings: this.supportedFormats.includes(extension) ? [] : [`Texture format ${extension || "unknown"} requires browser support check.`]
        });
    }
}
//# sourceMappingURL=TextureLoader.js.map