RenderWare V2.1

Previous Page Index Next Page

RwBool

RwSetTextureGammaCorrection(RwState mode);

Description

Sets the current global texture gamma correction mode applied to subsequently loaded textures.

Arguments

mode The gamma correction mode.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

The current texture gamma correction mode is a global parameter which controls whether textures read from disk are gamma corrected or not.

The following texture gamma correction modes are supported:

• rwON Gamma correct.

• rwOFF Do not gamma correct.

The default mode is rwON.

See Also

RwGetNamedTexture()

RwGetTextureDithering()

RwGetTextureGammaCorrection()

RwReadNamedTexture()

RwReadRaster()

RwReadTexture()

RwSetTextureDithering()