typedef enum _D3DLIGHTSTATETYPE {
D3DLIGHTSTATE_MATERIAL = 1,
D3DLIGHTSTATE_AMBIENT = 2,
D3DLIGHTSTATE_COLORMODEL = 3,
D3DLIGHTSTATE_FOGMODE = 4,
D3DLIGHTSTATE_FOGSTART = 5,
D3DLIGHTSTATE_FOGEND = 6,
D3DLIGHTSTATE_FOGDENSITY = 7,
} D3DLIGHTSTATETYPE;
Defines the light state for the D3DOP_STATELIGHT opcode. This enumerated type is part of the D3DSTATE structure.
Defines the material associated with a light. The default value is NULL.
Defines whether the light is ambient. The default value is 0.
One of the members of the D3DCOLORMODEL enumerated type. The default value is D3DCOLOR_RGB.
One of the members of the D3DFOGMODE enumerated type. The default value is D3DFOG_NONE.
Defines the starting value for fog. The default value is 1.0.
Defines the ending value for fog. The default value is 100.0.
Defines the density setting for fog. The default value is 1.0.