Convert gradient mesh points to a mesh shader if supported. Currently this implementation falls back to a linear gradient created between the first and last mesh points when mesh shaders are not available.
public static SKShader? ToShader(GradientMesh mesh)