Begun move to using vertex lists instead of the function pipeline