D3DLIGHTINGCAPS

typedef struct _D3DLIGHTINGCAPS {

DWORD dwSize;

DWORD dwCaps;

DWORD dwLightingModel;

DWORD dwNumLights;

} D3DLIGHTINGCAPS, *LPD3DLIGHTINGCAPS;

Describes the lighting capabilities of a device. This structure is a member of the D3DDEVICEDESC structure.

dwSize

Size, in bytes, of this structure.

dwCaps

Flags describing the capabilities of the lighting module. The following flags are defined:

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.

dwLightingModel

Flags defining whether the lighting model is RGB or monochrome. The following flags are defined:

D3DLIGHTINGMODEL_MONO Monochromatic lighting model.

D3DLIGHTINGMODEL_RGB RGB lighting model.

dwNumLights

Number of lights that can be handled.