# G2_GetOBJColorMode

## Syntax

      #include <nitro/gx/g2_oam.h>

      GXOamColorMode G2_GetOBJColorMode(const GXOamAttr * oam);

## Arguments

oam | Pointer to the location storing the OAM data

## Return Values

The color mode.

## Description

*Gets the color mode setting stored in `*oam`. Refer to the `G2_SetOBJAttr` function for more on the `GXOamColorMode` type.

## See Also

`G2_SetOBJColorMode, G2_SetOBJAttr`

## Revision History

2004/06/09 Initial version.

CONFIDENTIAL