IDirect3DRMMaterial::SetSpecular

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

Sets the color of the specular highlights for 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 color of the specular highlights.