RenderWare V2.1

Previous Page Index Next Page

RwBool

RwSetTextureDithering(RwTextureDitherMode mode);

Description

Sets the current global texture dithering mode to be applied to subsequently loaded textures.

Arguments

mode The texture dithering mode.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

The current texture dithering mode is a global parameter which controls whether textures read from disk are dithered to increase perceived color resolution or not.

The following texture dither modes are supported:

• rwDITHERON Activates dithering.

• rwDITHEROFF Deactivates dithering.

• rwAUTODITHER Adopts the auto-dithering mode of raster reading to decide whether to dither textures.

The default mode is rwAUTODITHER.

See Also

RwGetNamedTexture()

RwGetTextureDithering()

RwGetTextureGammaCorrection()

RwReadNamedTexture()

RwReadRaster()

RwReadTexture()

RwSetTextureGammaCorrection()