public static PrimitiveType GetPrimitiveType(this XenkoTessellationMethod method) { if ((method & XenkoTessellationMethod.PointNormal) == 0) { return(PrimitiveType.TriangleList); } var controlsCount = method.PerformsAdjacentEdgeAverage() ? 12 : 3; return(PrimitiveType.PatchList.ControlPointCount(controlsCount)); }