PrimitiveTypeExtensions Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
System.Object →
PrimitiveTypeExtensions
Derived from PrimitiveTypeExtensions:
public static class PrimitiveTypeExtensions
Name | Description | |
---|---|---|
Methods | ||
ControlPointCount(PrimitiveType, Int32) | Interpret the vertex data as a patch list. |
Methods
ControlPointCount(PrimitiveType, Int32)
Interpret the vertex data as a patch list.
public static PrimitiveType ControlPointCount(this PrimitiveType primitiveType, int controlPoints)
Parameters
Type | Name | Description |
---|---|---|
PrimitiveType | primitiveType | |
System.Int32 | controlPoints | Number of control points. Value must be in the range 1 to 32. |
Returns
Type | Description |
---|---|
PrimitiveType |