Bewerken

Delen via


D3DHAL_DP2CREATELIGHT structure (d3dhal.h)

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

Syntax

typedef struct _D3DHAL_DP2CREATELIGHT {
  DWORD dwIndex;
} D3DHAL_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

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

D3dDrawPrimitives2