RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetMaterialSpecular(RwMaterial *material);

Description

Retrieves the material’s specular reflection coefficient.

Arguments

material Pointer to the material.

Return Value

The specular reflection coefficient if successful. Errors can be checked for using RwGetError().

See Also

RwGetError()

RwGetMaterialAmbient()

RwGetMaterialDiffuse()

RwGetPolygonSpecular()

RwSetMaterialSpecular()

RwSetMaterialSurface()