D3DMLIGHTTYPE
A version of this page is also available for
4/8/2010
This enumeration provides values used in the D3DMLIGHT structure to describe the types of lights that are available in Direct3D Mobile.
Syntax
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
Header | d3dmtypes.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |