Obsolete in DirectX 8.0 and later versions; see Comments.
The D3DLIGHTINGCAPS structure describes the lighting capabilities of a device.
typedef struct _D3DLIGHTINGCAPS {
DWORD dwSize;
DWORD dwCaps;
DWORD dwLightingModel;
DWORD dwNumLights;
} D3DLIGHTINGCAPS, *LPD3DLIGHTINGCAPS;
| Value | Meaning |
|---|---|
| D3DLIGHTCAPS_DIRECTIONAL | Directional lights are supported. |
| D3DLIGHTCAPS_GLSPOT | OpenGL-style spotlights are supported. |
| D3DLIGHTCAPS_PARALLELPOINT | Parallel-point lights are supported. |
| D3DLIGHTCAPS_POINT | Point lights are supported. |
| D3DLIGHTCAPS_SPOT | Spotlights are supported. |
| Value | Meaning |
|---|---|
| D3DLIGHTINGMODEL_MONO | The lighting model is monochromatic. |
| D3DLIGHTINGMODEL_RGB | The lighting model is RGB. |
Defined in d3dcaps.h. Include d3dcaps.h.
This structure has been replaced by D3DCAPS8 (see the DirectX 8.0 SDK documentation) for DirectX 8.0 and later runtimes, but is required for legacy runtime (DirectX 7.0 and earlier) compatibility. See Reporting DirectX 8.0 Style Direct3D Capabilities for details.
This structure is a member of the D3DDEVICEDESC_V1 structure.