DirectX 5 Redocumentation
A redocumentation of DirectX 5, brought to you by a bunch of Infomaniacs.
|
#include <d3dtypes.h>
Structure defining a light source and its properties.
D3DCOLORVALUE _D3DLIGHT::dcvColor |
Color of light
D3DLIGHTTYPE _D3DLIGHT::dltType |
Type of light source
D3DVALUE _D3DLIGHT::dvAttenuation0 |
Constant attenuation
D3DVALUE _D3DLIGHT::dvAttenuation1 |
Linear attenuation
D3DVALUE _D3DLIGHT::dvAttenuation2 |
Quadratic attenuation
D3DVECTOR _D3DLIGHT::dvDirection |
Direction in world space
D3DVALUE _D3DLIGHT::dvFalloff |
Falloff
D3DVALUE _D3DLIGHT::dvPhi |
Outer angle of spotlight cone
D3DVECTOR _D3DLIGHT::dvPosition |
Position in world space
D3DVALUE _D3DLIGHT::dvRange |
Cutoff range
D3DVALUE _D3DLIGHT::dvTheta |
Inner angle of spotlight cone
DWORD _D3DLIGHT::dwSize |