![]() |
![]() |
![]() |
PatchInformation Structure |
Language: |
Contains the attributes of a patch mesh.
Visual Basic .NET Public Structure PatchInformation C# public struct PatchInformation Managed C++ public __value struct PatchInformation JScript .NET In JScript .NET, you can use structures, but you cannot define your own.
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
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) Strong Name Microsoft.DirectX.Direct3DX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center