export class TextureCompat {
    image;
    type = "Texture";
    wrapS = "ClampToEdgeWrapping";
    wrapT = "ClampToEdgeWrapping";
    magFilter = "LinearFilter";
    minFilter = "LinearMipmapLinearFilter";
    colorSpace = "srgb";
    flipY = true;
    needsUpdate = false;
    constructor(image = null) {
        this.image = image;
    }
}
export class TextureLoaderCompat {
    load(url, onLoad) {
        const texture = new TextureCompat({ url });
        texture.needsUpdate = true;
        onLoad?.(texture);
        return texture;
    }
}
export const THREE_COMPAT_COMPAT_TEXTURE_SETTINGS = ["wrapS", "wrapT", "magFilter", "minFilter", "colorSpace", "flipY"];
//# sourceMappingURL=index.js.map