lFlags

Value that determines the light source type. Possible values are:

Value

Meaning

LGT_SPOTLIGHT

[0x0000] The light will appear as a spotlight, based on the values in the iWidth, iHeight, lAngle and iEdge parameters.

LGT_DIRELIGHT

[0x0001] The light will be applied to the whole image. If this flag is used, the iWidth, iHeight, lAngle, iEdge parameters will be ignored.