Share via


D3DM_SETLIGHT_WITHDATA (Windows Embedded CE 6.0)

1/6/2010

This structure contains the contents of a D3DMOP_SETLIGHT command token (see D3DM_OPERATION), which is used to provide a full light description for a light and activate or deactivate that light.

Syntax

typedef struct _D3DM_SETLIGHT_WITHDATA {
  DWORD Index;
  D3DM_SETLIGHT_DATATYPE DataType;
  D3DMLIGHT Data;
  D3DMFORMAT Format;
} D3DM_SETLIGHT_WITHDATA, * LPD3DM_SETLIGHT_WITHDATA;

Members

  • Index
    A DWORD value that identifies a specific light.
  • DataType
    An element of the D3DM_SETLIGHT_DATATYPE enumeration identifying the new setting for the light identified by Index. This member can be set to either D3DM_SETLIGHT_DATA_ENABLE or D3DM_SETLIGHT_DATA_DISABLE.
  • Data
    A D3DMLIGHT structure describing the properties of the light.
  • Format
    A D3DMFORMAT structure identifying the color format for the light.

Requirements

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Structures
D3DM_SETLIGHT
D3DM_OPERATION
D3DM_SETLIGHT_DATATYPE

Other Resources

D3DMLIGHT
D3DMFORMAT