RenderWare V2.1

Previous Page Index Next Page

TextureExt <name> [ Mask <mask> ]

Description

Sets the texture of the current material to the texture with the name specified. The texture is masked by the mask raster with the given filename.

Arguments

name The texture name.

mask The filename of the mask raster.

Comments

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

The raster is found by searching the current shape path. For a discussion of method used to find the mask raster and to apply it to the texture see the descriptions of RwReadMaskRaster() and RwMaskTexture() respectively.

API Equivalent

RwSetSurfaceTextureExt()