# G3X_SetClearColor

## C Specification

      #include <nitro/gx/g3x.h>

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

## Description

This function sets clear color.

## Arguments

`rgb` | RGB components for clear color
`alpha` | α component for clear color
`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

## See Also

## Revision History

01/19/2004 Initial Version