Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

D3DLIGHTSTATE_ Values

Defines the light state for the D3DOP_STATELIGHT opcode.

D3DLIGHTSTATE_MATERIAL
Defines the material that is lit and used to compute the final color and intensity values during rasterization. The default value is null.
D3DLIGHTSTATE_AMBIENT
Sets the color and intensity of the current ambient light. If an application specifies this value, it should not specify a light as a parameter. The default value is 0.
D3DLIGHTSTATE_COLORMODEL
One value of D3DCOLOR_ type. The default value is D3DCOLOR_RGB.
D3DLIGHTSTATE_FOGMODE
One value of D3DFOG_ type. The default value is D3DFOG_NONE.
D3DLIGHTSTATE_FOGSTART
Defines the starting value for fog. The default value is 1.0.
D3DLIGHTSTATE_FOGEND
Defines the ending value for fog. The default value is 100.0.
D3DLIGHTSTATE_FOGDENSITY
Defines the density setting for fog. The default value is 1.0.


© 1996 Microsoft Corporation. All rights reserved.