RenderWare V2.1

Previous Page Index Next Page

Texture <name>

Description

Sets the texture of the current material to the texture with the name specified. The current material’s texture can be removed by specifying a texture name of NULL.

Arguments

name The texture name (or NULL).

Comments

The texture is found by searching the current texture dictionary stack and shape path. For a discussion of the algorithm used to find the texture see the description of RwGetNamedTexture().

Texture is a synonym of TextureExt. A mask may be also be specified (using the Mask keyword modifier) with the Texture keyword.

API Equivalent

RwSetSurfaceTexture()