D3DHAL_DP2CREATELIGHT structure

The D3DHAL_DP2CREATELIGHT structure is used to create a light for D3dDrawPrimitives2.

Syntax


typedef struct _D3DHAL_DP2CREATELIGHT {
  DWORD dwIndex;
} D3DHAL_DP2CREATELIGHT, *LPD3DHAL_DP2CREATELIGHT;

Members

dwIndex

Specifies the index of the light being created.

Remarks

The D3DHAL_DP2CREATELIGHT structure is used to hold the index into the light array. The driver should enlarge its light array as necessary to accommodate at least as many lights as specified by the index.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3dDrawPrimitives2

 

 

Send comments about this topic to Microsoft

Show: