D3DDEVCAPS2

D3DDEVCAPS2 driver capability flags.

#define Description
D3DDEVCAPS2_ADAPTIVETESSRTPATCH Device supports adaptive tessellation of RT-patches
D3DDEVCAPS2_ADAPTIVETESSNPATCH Device supports adaptive tessellation of N-patches.
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES Device supports StretchRect using a texture as the source.
D3DDEVCAPS2_DMAPNPATCH Device supports displacement maps for N-patches.
D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH Device supports presampled displacement maps for N-patches. For more information about displacement mapping, see Displacement Mapping (Direct3D 9).
D3DDEVCAPS2_STREAMOFFSET Device supports stream offsets.
D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET Multiple vertex elements can share the same offset in a stream if D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET is set by the device and the vertex declaration does not have an element with D3DDECLUSAGE_POSITIONT0.

 

Constant Information

Requirement Value
Header d3d9caps.h
Minimum operating system Windows 98

 

Direct3D Constants