Share via


D3DM_SETLIGHT_DATATYPE (Windows CE 5.0)

Send Feedback

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

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

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

See Also

Direct3D Mobile Driver Enumerations | D3DM_SETLIGHT | D3DM_SETLIGHT_WITHDATA

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.