Microsoft DirectX 8.1 (C++) |
Describes a triangular high-order patch.
typedef struct _D3DTRIPATCH_INFO { UINT StartVertexOffset; UINT NumVertices; D3DBASISTYPE Basis; D3DORDERTYPE Order; } D3DTRIPATCH_INFO;
Value | Number of Vertices |
---|---|
D3DORDER_CUBIC | 10 |
D3DORDER_LINEAR | 3 |
D3DORDER_QUADRATIC | N/A |
D3DORDER_QUINTIC | 21 |
N/A - Not available. Not supported.
The following diagram identifies the parameters that specify a triangle patch.
The integers values indicate how the patch vertex data is organized in the vertex buffer. In this case, the offset to the first vertex is zero because the first patch vertex is the first data point in the vertex buffer.
Header: Declared in D3d8types.h.