const float *base = (vbuf ? reinterpret_cast<float *>(get_offset()) : &data[0]);
unsigned stride_bytes = stride*sizeof(float);
apply_arrays(&arrays, (old ? &old->arrays : 0), base, stride_bytes);
const float *base = (vbuf ? reinterpret_cast<float *>(get_offset()) : &data[0]);
unsigned stride_bytes = stride*sizeof(float);
apply_arrays(&arrays, (old ? &old->arrays : 0), base, stride_bytes);