# G3X_SetClearColor

## C Specification

      #include <nitro/gx/g3x.h>

      void G3X_SetClearColor(GXRgb rgb, int alpha, int depth, int polygonID, BOOL fog);

## Arguments

`rgb` | RGB components for clear color
alpha | alpha component for clear color (0 ≤ `alpha` ≤ 31)
depth | Clear depth value
`polygonID` | Initial value of the Polygon ID for the attribute buffer
fog | Selects whether or not fog for the attribute buffer is enabled

## Return Values

None.

## Description

This function sets clear color.

## See Also

## Revision History

01/19/2004 Initial version

CONFIDENTIAL