IDirect3DRMMaterial::SetEmissive

HRESULT SetEmissive(D3DVALUE r, D3DVALUE g, D3DVALUE b);

Sets the emissive property of a material.

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

r, g, and b

Red, green, and blue components of the emissive color.