Expand Minimize

D3DDDIARG_SETLIGHT structure

The D3DDDIARG_SETLIGHT structure describes how to set light properties.

Syntax


typedef struct _D3DDDIARG_SETLIGHT {
  UINT                 Index;
  D3DDDI_SETLIGHT_TYPE DataType;
} D3DDDIARG_SETLIGHT;

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:

ValueMeaning

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDI_LIGHT
SetLight

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft