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.
Size, in bytes, of this structure.
Address of a D3DLIGHTINGELEMENT structure specifying the input positions and normal vectors.
Amount to skip from one input element to the next. This allows the application to store extra data inline with the element.
Address of a D3DTLVERTEX structure specifying the output colors.
Amount to skip from one output color to the next. This allows the application to store extra data inline with the color.