Microsoft DirectX 8.1 (Visual Basic) |
Describes a triangular high-order patch.
Type D3DTRIPATCH_INFO Basis As CONST_D3DBASISTYPE NumVertices As Long Order As CONST_D3DORDERTYPE StartVertexOffsetWidth As Long End Type
Value | Number of Vertices |
---|---|
D3DORDER_BEZIER | N/A |
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.
Currently works only with hardware vertex processing. Only D3DBASIS_BEZIER basis is supported D3DORDER_QUADRATIC is not supported