D3DDDIARG_SETLIGHT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct _D3DDDIARG_SETLIGHT {
  [in] UINT                 Index;
  [in] D3DDDI_SETLIGHT_TYPE DataType;
} D3DDDIARG_SETLIGHT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddiarg_setlight)

_D3DDDIARG_SETLIGHT structure

Description

The D3DDDIARG_SETLIGHT structure describes how to set light properties.

Members

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.

See also

D3DDDI_LIGHT

SetLight