PatchInformation Structure (Microsoft.DirectX.Direct3D)

Contains the attributes of a patch mesh.

Definition

Visual Basic Public Structure PatchInformation
C# public struct PatchInformation 
C++ public value class PatchInformation 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.

Methods

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

Properties

Property Description
BasisType Retrieves or sets the type of curve used to construct the patch.
Degree Retrieves or sets the degree of the curves used to construct the patch.
PatchType Retrieves or sets the patch type.
TessellateLevel Retrieves or sets the tessellation level.

Remarks

A mesh is a set of faces, each of which is described by a simple polygon. Objects can be created by connecting several meshes together. A patch mesh is made up of patches, which are four-sided pieces of geometry that are constructed from curves. The type of curve used and the curve's order can be varied so that the patch surface fits almost any surface shape.

The following types of patch combinations are supported.

Patch Type Basis Degree
Rectangle Bezier 2,3,5
Rectangle B-spline 2,3,5
Rectangle Catmull-Rom 3
Triangle Bezier 2,3,5
N-patch N/A 3

Structure Information

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