RenderWare V2.1

Previous Page Index Next Page

RwTexture *

RwGetMaterialTexture(RwMaterial *material);

Description

Retrieves the material’s texture.

Arguments

material Pointer to the material.

Return Value

A pointer to the material’s texture if successful, and NULL if there is no texture associated with the material or if there is an error. Errors can be checked for using RwGetError().

See Also

RwGetError()

RwGetMaterialTextureModes()

RwGetPolygonTexture()

RwSetMaterialTexture()