Other Direct3D Constants

SDK Version



These #defines are declared in d3d9.h.

Other Constants

The following table lists constants that are used internally:

D3D_MAX_SIMULTANEOUS_RENDERTARGETS4The maximum number of rendertargets.
D3DDMAPSAMPLER256The maximum number of displacement map samples.
D3DDP_MAXTEXCOORD8The maximum number of texture coordinates.
MAXD3DDECLLENGTH64 (does not include "end" marker vertex element)Maximum number of elements in a vertex declaration.
MAXD3DDECLUSAGEINDEX15The maximum index (0-15) that can be used in a vertex declaration.


These #defines are declared in d3d9types.h.

Constant Information

Minimum operating systemWindows 98


Related topics

Direct3D Constants