D3DVTXPCAPS

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

#define Description
D3DVTXPCAPS_DIRECTIONALLIGHTS Device can do directional lights.
D3DVTXPCAPS_LOCALVIEWER Device can do local viewer.
D3DVTXPCAPS_MATERIALSOURCE7 When this cap is set, the device supports the color material states: D3DRS_AMBIENTMATERIALSOURCE, D3DRS_DIFFUSEMATERIALSOURCE, D3DRS_EMISSIVEMATERIALSOURCE, and D3DRS_SPECULARMATERIALSOURCE.
D3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER Device does not support texture generation in non-local viewer mode.
D3DVTXPCAPS_POSITIONALLIGHTS Device can do positional lights (includes point and spot).
D3DVTXPCAPS_TEXGEN Device can do texgen.
D3DVTXPCAPS_TEXGEN_SPHEREMAP Device supports D3DTSS_TCI_SPHEREMAP.
D3DVTXPCAPS_TWEENING Device can do vertex tweening.

 

Constant Information

Requirement Value
Header d3d9caps.h
Minimum operating system Windows 98

 

Direct3D Constants