# G2_GetOBJMode

## C Specification

      #include <nitro/gx/g2_oam.h>

      GXOamMode G2_GetOBJMode(const GXOamAttr * oam);

## Description

Gets the OBJ mode of the OAM data stored in *oam. For type `GXOamMode`, refer to `G2_SetOBJAttr`.

## Arguments

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

## Return Values

OBJ mode.

## See Also

`G2_SetOBJAttr, G2_SetOBJMode`

## Revision History

06/09/2004 Initial version