static float_array(name, buf) {
        if (buf instanceof Float64Array) {
            buf = new Float32Array(buf);
        }
        return new WglArg(WglArg.FLOAT_ARRAY_TYPE, name, buf);
    }
@param {!string} name
@param {!Float32Array|!Float64Array} buf
@returns {!WglArg}