Share via


Light Type

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The light type property defines which type of light source you are using. The light type is set by using a value from the D3DMLIGHTTYPE enumeration in the Type member of the light's D3DMLIGHT structure. There are two types of lights in Microsoft® Direct3D® Mobile: point lights and directional lights. Each type illuminates objects in a scene differently, with varying levels of computational overhead. For general information about how each type of light works, see Light Objects.

See Also

Concepts

Light Properties