4 using SiliconStudio.Core;
6 namespace SiliconStudio.
Paradox.Graphics
76 throw new ArgumentException(
"Control points apply only to PrimitiveType.PatchList",
"primitiveType");
78 if (controlPoints < 1 || controlPoints > 32)
79 throw new ArgumentException(
"Value must be in between 1 and 32",
"controlPoints");
81 return PrimitiveType.PatchList + controlPoints - 1;
The data is ordered as a sequence of line segments; each line segment is described by two new vertice...
The data is ordered as a sequence of triangles; each triangle is described by three new vertices...
The data is ordered as a sequence of line segments; each line segment is described by one new vertex ...
static PrimitiveType ControlPointCount(this PrimitiveType primitiveType, int controlPoints)
Interpret the vertex data as a patch list.
PrimitiveType
Defines how vertex data is ordered.
The data is ordered as a sequence of triangles; each triangle is described by two new vertices and on...