Share via


D3DHAL_DP2SETLIGHT

This structure allows lights to be set for D3dDrawPrimitives2.

typedef struct _D3DHAL_DP2SETLIGHT {
  DWORD dwIndex;
  DWORD dwDataType;
} D3DHAL_DP2SETLIGHT, *LPD3DHAL_DP2SETLIGHT;

Members

  • dwIndex
    Specifies an index into an array of lights.
  • dwDataType
    Specifies the type of data being passed.
    Value Description
    D3DHAL_SETLIGHT_DATA Specifies that a D3DLIGHT7 structure defining the light will follow immediately in the command stream.
    D3DHAL_SETLIGHT_ENABLE Enables the light whose index is specified in dwIndex.
    D3DHAL_SETLIGHT_DISABLE Disables the light whose index is specified in dwIndex.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.

See Also

D3dDrawPrimitives2 | D3DHAL_XXX Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.