D3DMLIGHTTYPE (Windows CE 5.0)

Send Feedback

This enumeration provides values used in the D3DMLIGHT structure to describe the types of lights that are available in Direct3D Mobile.

typedef enum _D3DMLIGHTTYPE {  D3DMLIGHT_POINT       = 1,  D3DMLIGHT_DIRECTIONAL = 3,  D3DMLIGHT_FORCE_ULONG = 0x7fffffff,} D3DMLIGHTTYPE;

Elements

  • D3DMLIGHT_POINT
    Indicates a point light. Point lights exist at a particular point in space and emit equal amounts of light in all directions.
  • D3DMLIGHT_DIRECTIONAL
    Indicates a directional light. Directional lights mimic lights that exist at an infinite distance and emit light only along one vector, their direction.
  • D3DMLIGHT_FORCE_ULONG
    Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.

See Also

Direct3D Mobile Enumerations | D3DMLIGHT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.