@Override
    public String toString(){
        StringBuilder sb = new StringBuilder();
        sb.append("Uniform[name=");
        sb.append(name);
        if (varType != null){
            sb.append(", type=");
            sb.append(varType);
            sb.append(", value=");
            sb.append(value);
        }else{
            sb.append(", value=<not set>");
        }
        sb.append("]");
        return sb.toString();
    }
Used to track which uniforms to clear to avoid
values leaking from other materials that use that shader.
jme3-core/src/main/java/com/jme3/shader/Uniform.java