Reporting Support for High Order Surfaces

A driver reports its support for high order surfaces using four new capability bits in the DevCaps field of the D3DCAPS8 structure. These flags are as follows:

D3DDEVCAPS_QUINTICRTPATCHES

Device supports quintic béziers and B-splines.

D3DDEVCAPS_RTPATCHES

Device supports rectangular and triangular patches.

D3DDEVCAPS_RTPATCHHANDLEZERO

When this device capability is set, the hardware architecture does not require caching of any information and that uncached patches (handle zero) are drawn as efficiently as cached ones. Note that D3DDEVCAPS_RPATCHHANDLERZERO does not mean that a patch with handle zero can be drawn. A handle zero patch can always be drawn whether this cap is set or not.

D3DDEVCAPS_NPATCHES

Device supports n-patches.