Class PrimitiveTopologyExtensions
Primitive topology extensions.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public static class PrimitiveTopologyExtensions
Methods
ControlPoints(PrimitiveTopology, int)
Interpret the vertex data as a patch list.
Declaration
public static PrimitiveTopology ControlPoints(this PrimitiveTopology topology, int points)
Parameters
Type | Name | Description |
---|---|---|
PrimitiveTopology | topology | The primitive topology. |
int | points | Number of control points. Valid range 1 - 32. |
Returns
Type | Description |
---|---|
PrimitiveTopology | The result primitive topology. |