Rename cpp function to calc_texture.