Freigeben über


D3DM_SETLIGHT_WITHDATA (Windows CE 5.0)

Send Feedback

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.

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

OS Versions: Windows CE 5.0
Header: D3dmddk.h.

See Also

Direct3D Mobile Driver Structures | D3DM_SETLIGHT | D3DM_OPERATION | D3DM_SETLIGHT_DATATYPE | D3DMLIGHT | D3DMFORMAT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.