RectanglePatchInformation Structure |
Language: |
Describes a rectangular high-order patch.
Visual Basic Public Structure RectanglePatchInformation C# public struct RectanglePatchInformation C++ public value class RectanglePatchInformation sealed JScript In JScript, 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.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center