passing in mesh data to trace rays kernel