extracted TriangleMode from Mesh as an enum class, renamed all members of VertexField