# G2_GetOBJColorMode

## C Specification

      #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`. For type `GXOamColorMode`, refer to `G2_SetOBJAttr`.

## See Also

`G2_SetOBJColorMode, G2_SetOBJAttr`

## Revision History

06/09/2004 Initial version.

CONFIDENTIAL