Other Direct3D Constants
Microsoft DirectX 9.0 SDK Update (October 2004)

Other Direct3D Constants


Process Vertices Constant

The following constant is used in the IDirect3DDevice9::ProcessVertices method.

#defineValue
D3DPV_DONOTCOPYDATA(1 << 0)

These #defines are declared in D3d9types.h.

SetStreamSourceFreq Constants

Either of these constants is designed to be logically combined with the StreamNumber parameter in IDirect3DDevice9::SetStreamSourceFreq to draw one or more instances of the same geometry. For more information, see Drawing Multiple Instances of Geometry Efficiently.

#defineValue
D3DSTREAMSOURCE_INDEXEDDATA(1 << 30)
D3DSTREAMSOURCE_INSTANCEDATA (2 << 30)

These #defines are declared in D3d9types.h.

Internal Use Constants

The following table lists Microsoft Direct3D constants that are used internally.

#defineValue
D3D_MAX_SIMULTANEOUS_RENDERTARGETS4
D3DDMAPSAMPLER256
D3DDP_MAXTEXCOORD8
D3DPRESENT_BACK_BUFFERS_MAX3L
D3DPRESENT_RATE_DEFAULT0x00000000
D3DRTYPECOUNT(D3DRTYPE_INDEXBUFFER+1)
MAXD3DDECLLENGTH64 (does not include "end" marker vertex element)
MAXD3DDECLMETHODD3DDECLMETHOD_LOOKUPPRESAMPLED
MAXD3DDECLTYPED3DDECLTYPE_UNUSED
MAXD3DDECLUSAGED3DDECLUSAGE_SAMPLE
MAXD3DDECLUSAGEINDEX15

These #defines are declared in D3d9types.h.

#defineValue
D3D_SDK_VERSION (32 | 0x80000000)
D3D9b_SDK_VERSION (31 | 0x80000000)

These #defines are declared in D3d9.h.

Constant Information

Minimum operating systemWindows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.