IDirect3DRMLight::SetColorRGB

HRESULT SetColorRGB(D3DVALUE rvRed, D3DVALUE rvGreen,

D3DVALUE rvBlue);

Sets the color of the given light.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

rvRed, rvGreen, and rvBlue

New color for the light.