CONST_D3DBASISTYPE
Defines the basis type of a high-order surface.
Enum CONST_D3DBASISTYPE
D3DBASIS_BEZIER = 0
D3DBASIS_BSPLINE = 1
D3DBASIS_INTERPOLATE = 2
End Enum
Constants
- D3DBASIS_BEZIER
- Input vertices are treated as a series of bézier patches. The number of vertices specified must be divisible by 3 + 1. Portions of the mesh beyond this criterion will not be rendered. Full continuity is assumed between sub-patches in the interior of the surface rendered by each call. Only the vertices at the corners of each sub-patch are guaranteed to lie on the resulting surface.
- D3DBASIS_BSPLINE
- Input vertices are treated as control points of a B-spline surface. The number of apertures rendered is 2 less than the number of apertures in that direction. In general, the generated surface does not contain the control vertices specified.
- D3DBASIS_INTERPOLATE
- An interpolating basis defines the surface so that the surface goes through all the input vertices specified.
Remarks
The members of D3DBASISTYPE specify the formulation to be used in evaluating the high-order surface primitive during tessellation.
See Also
D3DRECTPATCH_INFO, D3DTRIPATCH_INFO