D3DVTXPCAPS
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DVTXPCAPS


A combination of one or more flags that control the device create behavior.

#defineDescription
D3DVTXPCAPS_DIRECTIONALLIGHTSDevice can do directional lights.
D3DVTXPCAPS_LOCALVIEWERDevice can do local viewer.
D3DVTXPCAPS_MATERIALSOURCE7When this cap is set, the device supports the color material states: D3DRS_AMBIENTMATERIALSOURCE, D3DRS_DIFFUSEMATERIALSOURCE, D3DRS_EMISSIVEMATERIALSOURCE, and D3DRS_SPECULARMATERIALSOURCE.
D3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWERDevice does not support texture generation in non-local viewer mode.
D3DVTXPCAPS_POSITIONALLIGHTSDevice can do positional lights (includes point and spot).
D3DVTXPCAPS_TEXGENDevice can do texgen.
D3DVTXPCAPS_TEXGEN_SPHEREMAPDevice supports D3DTSS_TCI_SPHEREMAP.
D3DVTXPCAPS_TWEENINGDevice can do vertex tweening.

Constant Information

Headerd3d9caps.h
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.