Microsoft DirectX 9.0 SDK Update (October 2004)

TrianglePatchInformation Structure

Language:

Note: This documentation is preliminary and is subject to change.

Describes a triangular high-order patch.

Definition

Visual Basic .NET Public Structure TrianglePatchInformation
C# public struct TrianglePatchInformation
Managed C++ public __value struct TrianglePatchInformation
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

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.

Remarks

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 Info

Structure Information

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

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center