RenderWare V2.1

Previous Page Index Next Page

RwState

RwGetTextureGammaCorrection(void);

Description

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

Arguments

None.

Return Value

The current texture gamma correction mode.

Comments

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

The texture gamma correction modes are:

• rwON Gamma correct.

• rwOFF Do not gamma correct.

The default mode is rwON.

See Also

RwGetTextureDithering()

RwReadRaster()

RwSetTextureDithering()

RwSetTextureGammaCorrection()