RenderWare V2.1

Previous Page Index Next Page

RwMaterial *

RwSetMaterialTexture(RwMaterial *material, RwTexture *texture);

Description

Sets the material’s texture.

Arguments

material Pointer to the material.

texture Pointer to the texture.

Return Value

The argument material if successful, and NULL otherwise.

Comments

NULL may be passed as the second argument to remove the material’s texture.

See Also

RwCreateTexture()

RwFindNamedTexture()

RwGetMaterialTexture()

RwGetNamedTexture()

RwReadNamedTexture()

RwReadTexture()

RwSetPolygonTexture()

RwSetSurfaceTexture()