Updates following enum changes to mesh and gradient renderer