handleUniformSetting(uniform) {
        switch(uniform.type) {
            case "1i":
                uniform.update = this.setUniform1i.bind(this);
                break;
            case "1iv":
                uniform.update = this.setUniform1iv.bind(this);
                break;
            case "1f":
                uniform.update = this.setUniform1f.bind(this);
                break;
            case "1fv":
                uniform.update = this.setUniform1fv.bind(this);
                break;

            case "2i":
                uniform.update = this.setUniform2i.bind(this);
                break;
            case "2iv":
                uniform.update = this.setUniform2iv.bind(this);
                break;
            case "2f":
                uniform.update = this.setUniform2f.bind(this);
                break;
            case "2fv":
                uniform.update = this.setUniform2fv.bind(this);
                break;

            case "3i":
                uniform.update = this.setUniform3i.bind(this);
                break;
            case "3iv":
                uniform.update = this.setUniform3iv.bind(this);
                break;
            case "3f":
                uniform.update = this.setUniform3f.bind(this);
                break;
            case "3fv":
                uniform.update = this.setUniform3fv.bind(this);
                break;

            case "4i":
                uniform.update = this.setUniform4i.bind(this);
                break;
            case "4iv":
                uniform.update = this.setUniform4iv.bind(this);
                break;
            case "4f":
                uniform.update = this.setUniform4f.bind(this);
                break;
            case "4fv":
                uniform.update = this.setUniform4fv.bind(this);
                break;

            case "mat2":
                uniform.update = this.setUniformMatrix2fv.bind(this);
                break;
            case "mat3":
                uniform.update = this.setUniformMatrix3fv.bind(this);
                break;
            case "mat4":
                uniform.update = this.setUniformMatrix4fv.bind(this);
                break;

            default:
                if(!this.renderer.production) throwWarning(this.type + ": This uniform type is not handled : ", uniform.type);
        }
    }
Set uniforms WebGL function based on their types

     params :
     @uniform (object): the uniform
*