D3DDDIARG_SETLIGHT structure (d3dumddi.h)
The D3DDDIARG_SETLIGHT structure describes how to set light properties.
Syntax
typedef struct _D3DDDIARG_SETLIGHT {
[in] UINT Index;
[in] D3DDDI_SETLIGHT_TYPE DataType;
} D3DDDIARG_SETLIGHT;
Members
[in] Index
An index into an array of lights.
[in] DataType
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. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |