# G2_GetOBJColorMode

## C Specification

      #include <nitro/gx/g2_oam.h>

      GXOamColorMode G2_GetOBJColorMode(const GXOamAttr * oam);

## Description

Gets the color mode setting stored in `*oam`. For type `GXOamColorMode`, refer to `G2_SetOBJAttr`.

## Arguments

`oam` | Pointer to the place storing OAM data.

## Return Values

The color mode.

## See Also

`G2_SetOBJColorMode, G2_SetOBJAttr`

## Revision History

06/09/2004 Initial Version