![]() |
![]() |
![]() |
RectanglePatchInformation Structure |
Language: |
Describes a rectangular high-order patch.
Visual Basic .NET Public Structure RectanglePatchInformation C# public struct RectanglePatchInformation Managed C++ public __value struct RectanglePatchInformation JScript .NET In JScript .NET, you can use structures, but you cannot define your own.
The following diagram identifies the parameters that specify a rectangle patch.
![]()
Each of the vertices in the vertex buffer is shown as a black dot. In this case, the vertex buffer has 20 vertices in it, 16 of which are in the rectangle patch. The stride (also called the pitch) is the number of vertices in the width of the vertex buffer (five in this case). The x offset to the first vertex is called the StartIndexVertexWidth and has a value of 1; the y offset is called the StartIndexVertexHeight and has a value of 0.
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
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center