D3DLIGHTDATA

The D3DLIGHTDATA structure describes the points to be lit and resulting colors in calls to the IDirect3DViewport3::LightElements method.

typedef struct _D3DLIGHTDATA { 
    DWORD                dwSize; 
    LPD3DLIGHTINGELEMENT lpIn; 
    DWORD                dwInSize; 
    LPD3DTLVERTEX        lpOut; 
    DWORD                dwOutSize; 
} D3DLIGHTDATA, *LPD3DLIGHTDATA; 
 

Members

dwSize
Size, in bytes, of this structure. This member must be initialized before the structure is used.
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.

QuickInfo

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.