GXSetFogColor

Syntax

#include <revolution/gx.h>

void GXSetFogColor( GXColor color );

Arguments

color Fog color, in RGBX format (alpha is not used).

Return Values

None.

Description

This function sets the fog color. Because fog is initially enabled with the GXSetFog function, which also includes the color setting, this function is used to update the fog color without modifying any other fog settings.

The fog color is set in RGBX format (where the alpha component is ignored) using the color parameter. This will be the color of the pixel when fully fogged.

See Also

GXSetFog

Revision History

2006/03/01 Initial version.


CONFIDENTIAL