IDirect3DRMMaterial::SetSpecular
Sets the color of the specular highlights for a material.
HRESULT SetSpecular(
D3DVALUE r,
D3DVALUE g,
D3DVALUE b
);
Parameters
r, g, and b
Red, green, and blue components of the color of the specular highlights.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
Remarks
This method is also used to add a spectral color key to a Direct3DRMMaterialInterpolator object.
See Also