Partager via


D3DM_SETLIGHT_DATATYPE (Windows Embedded CE 6.0)

1/6/2010

This enumeration is used in D3DM_SETLIGHT and D3DM_SETLIGHT_WITHDATA structures to identify the new settings for a light.

Syntax

typedef enum _D3DM_SETLIGHT_DATATYPE {
  D3DM_SETLIGHT_ENABLE       = 0,
  D3DM_SETLIGHT_DISABLE      = 1,
  D3DM_SETLIGHT_DATA_ENABLE  = 2,
  D3DM_SETLIGHT_DATA_DISABLE = 3,
} D3DM_SETLIGHT_DATATYPE;

Elements

  • D3DM_SETLIGHT_ENABLE
    Indicates that the driver should activate a light.
  • D3DM_SETLIGHT_DISABLE
    Indicates that the driver should deactivate a light.
  • D3DM_SETLIGHT_DATA_ENABLE
    Indicates that the driver should apply the light description contained within a D3DM_SETLIGHT_WITHDATA structure to a light and then activate that light. This element is only used within D3DM_SETLIGHT_WITHDATA structures.
  • D3DM_SETLIGHT_DATA_DISABLE
    Indicates that the driver should apply the light description contained within a D3DM_SETLIGHT_WITHDATA structure to a light and then deactivate that light. This element is only used within D3DM_SETLIGHT_WITHDATA structures.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Enumerations
D3DM_SETLIGHT
D3DM_SETLIGHT_WITHDATA