TrianglePatchInformation Structure (Microsoft.DirectX.Direct3D)

Describes a triangular high-order patch.


Visual Basic Public Structure TrianglePatchInformation
C# public struct TrianglePatchInformation 
C++ public value class TrianglePatchInformation sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.


Method Description
ToString Obtains a string representation of the current instance.
TrianglePatchInformation Initializes a new instance of the TrianglePatchInformation class.


Property Description
BasisType Retrieves or sets a value that defines the basis type for the triangular high-order patch.
Degree Retrieves or sets a value that defines the degree type for the triangular high-order patch.
NumberVertices Retrieves or sets the number of vertices for the triangular high-order patch.
StartVertexOffset Retrieves or sets the starting vertex offset, in number of vertices.


The following diagram identifies the vertex order and segment numbers for a cubic Bezier triangle patch. The vertex order determines the segment numbers used by Device.DrawTrianglePatch. The offset is the number of bytes to the first triangle patch vertex in the vertex buffer.

Triangle patch information

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492