import { UniformsThreeCompat } from "./Uniforms.js";
import { diagnoseThreeCompatShader } from "./ShaderDiagnostics.js";
export class ShaderMaterialThreeCompat {
    vertexShader;
    fragmentShader;
    type = "ShaderMaterial";
    uniforms = new UniformsThreeCompat();
    constructor(vertexShader, fragmentShader) {
        this.vertexShader = vertexShader;
        this.fragmentShader = fragmentShader;
    }
    setUniform(name, value) {
        this.uniforms.set(name, value);
        return this;
    }
    diagnose() {
        return diagnoseThreeCompatShader(this.vertexShader, this.fragmentShader);
    }
}
//# sourceMappingURL=ShaderMaterial.js.map