D3DHAL_DP2SETLIGHT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dhal.h

typedef struct _D3DHAL_DP2SETLIGHT {
  DWORD dwIndex;
  DWORD dwDataType;
} D3DHAL_DP2SETLIGHT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dhal-_d3dhal_dp2setlight)

_D3DHAL_DP2SETLIGHT structure

Description

The D3DHAL_DP2SETLIGHT structure allows lights to be set for D3dDrawPrimitives2.

Members

dwIndex

Specifies an index into an array of lights.

dwDataType

Specifies the type of data being passed.

Value Meaning
D3DHAL_SETLIGHT_DATA Specifies that a D3DLIGHT7 (described in the Microsoft Windows SDK documentation) structure defining the light follows 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.

See also

D3dDrawPrimitives2