D3DLIGHTTYPE

typedef enum _D3DLIGHTTYPE {

D3DLIGHT_POINT = 1,

D3DLIGHT_SPOT = 2,

D3DLIGHT_DIRECTIONAL = 3,

D3DLIGHT_PARALLELPOINT = 4,

D3DLIGHT_GLSPOT = 5,

} D3DLIGHTTYPE;

Defines the light type. This enumerated type is part of the D3DLIGHT structure.

D3DLIGHT_POINT

Light is a point source.

D3DLIGHT_SPOT

Light is a spotlight source.

D3DLIGHT_DIRECTIONAL

Light is a directional source.

D3DLIGHT_PARALLELPOINT

Light is a parallel point source.

D3DLIGHT_GLSPOT

Light is a GL-style spotlight.