# G2*_GetBG3ExtMode

## Syntax

  `#include <nitro/gx/gx_bgcnt.h>`

      static inline GXBGExtMode G2_GetBG3ExtMode( void );
      static inline GXBGExtMode G2S_GetBG3ExtMode( void );

## Arguments

None.

## Return Values

The Affine Expanded BG type settings for BG3.

## Description

Gets the expanded BG type settings for BG3 as `GXBGExtMode`. Use the `G2_GetBG3ExtMode` function to get the settings for the main 2D engine and the `G2S_GetBG3ExtMode` function to get the settings for the sub 2D engine. To use this function, the BG mode of BG3 must be set to Affine Expanded BG. The following is the definition of `GXBGExtMode`:

    typedef enum
    {
        GX_BG_EXTMODE_256x16PLTT = (0 << REG_G2_BG2CNT_CHARBASE_SHIFT) | (0 << REG_G2_BG2CNT_COLORMODE_SHIFT),
        GX_BG_EXTMODE_256BITMAP  = (0 << REG_G2_BG2CNT_CHARBASE_SHIFT) | (1 << REG_G2_BG2CNT_COLORMODE_SHIFT),
        GX_BG_EXTMODE_DCBITMAP   = (1 << REG_G2_BG2CNT_CHARBASE_SHIFT) | (1 << REG_G2_BG2CNT_COLORMODE_SHIFT)
    }
    GXBGExtMode;

## See Also

GX_SetGraphicsMode, GXS_SetGraphicsMode

## Revision History

2004/12/24 Initial version.

CONFIDENTIAL