RwSetSurfaceTexture(char *name);
Description
Sets the current materials texture to the texture with the given name. RwGetNamedTexture() is used to find the texture. If the named texture is found (either in the dictionary stack or in the file system), the current materials texture is set to the texture found.
Arguments
name Name of a texture.
Return Value
TRUE if successful, and FALSE otherwise.
Comments
For more information on how the named texture is found, see the description of RwGetNamedTexture().
This function can only be called within the context of an RwModelBegin() RwModelEnd() block.
See Also