// d3dumddi.h
typedef struct _D3DDDIARG_SETLIGHT {
[in] UINT Index;
[in] D3DDDI_SETLIGHT_TYPE DataType;
} D3DDDIARG_SETLIGHT;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_SETLIGHT structure describes how to set light properties.
Index [in]An index into an array of lights.
DataType [in]A valid bitwise OR of the following flags that indicate the type of light data:
| Value | Meaning |
|---|---|
| D3DDDISETLIGHT_DATA | Specifies that a pointer to a D3DDDI_LIGHT structure that defines light properties is supplied in the pLightProperties parameter in a call to the user-mode display driver's SetLight function. |
| D3DDDISETLIGHT_ENABLE | Enables the light whose index is specified in the Index member. |
| D3DDDISETLIGHT_DISABLE | Disables the light whose index is specified in Index. |