D3DLIGHTDATA

typedef struct _D3DLIGHTDATA {

DWORD dwSize;

LPD3DLIGHTINGELEMENT lpIn;

DWORD dwInSize;

LPD3DTLVERTEX lpOut;

DWORD dwOutSize;

} D3DLIGHTDATA, *LPD3DLIGHTDATA;

Describes the points to be lit and resulting colors in calls to the IDirect3DViewport::LightElements method.

dwSize

Size, in bytes, of this structure.

lpIn

Address of a D3DLIGHTINGELEMENT structure specifying the input positions and normal vectors.

dwInSize

Amount to skip from one input element to the next. This allows the application to store extra data inline with the element.

lpOut

Address of a D3DTLVERTEX structure specifying the output colors.

dwOutSize

Amount to skip from one output color to the next. This allows the application to store extra data inline with the color.