This method of the Direct3dViewport Class retrieves a light from a Direct3dViewport, according to the specified flags.
public Direct3dLight nextLight(Direct3dLight l1, int flags);
Returns the requested Direct3dLight object.
l1 | This can be null if the flags constant is either D3DNEXT_HEAD or D3DNEXT_TAIL. |
flags | This can be one of the following values:
D3DNEXT_HEAD |