Microsoft DirectX 8.0 (Visual Basic)

Determining Higher-Order Primitive Support

The DevCaps member of D3DCAPS8 contains values from the CONST_D3DDEVCAPSFLAGS enumeration which can be queried to determine the level of support for operations involving higher-order primitives. The following table lists the device capabilities related to higher-order primitives in Microsoft® DirectX® 8.0.

Device capability Description
D3DDEVCAPS_NPATCHES Device supports N-patches.
D3DDEVCAPS_QUINTICRTPATCHES Device supports quintic béziers and B-splines.
D3DDEVCAPS_RTPATCHES Device supports rectangular and triangular (RT) patches.
D3DDEVCAPS_RTPATCHHANDLEZERO RT-patches might be drawn efficiently using handle zero.

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