# G2_GetBG3ScrPtr

## C Specification

      #include <nitro/gx/g2.h>

      void *G2_GetBG3ScrPtr();

## Description

This function returns the pointer to the region where the Main 2D Engine BG3 screen data base is stored.

The return values are as follows for character BGs:

`HW_BG_VRAM` + (Last value in the value name of `GXBGScrOffset` enum type specified by `GX_SetBGScrOffset`) + (Last value in the value name of `GXBGScrBase` enum type specified by `G2_SetBG3ControlText`)

The return values are as follows for bitmap BGs:

`HW_BG_VRAM` + (Last value in the value name of `GXBGScrOffset` enum type specified by `GX_SetBGScrOffset`) + (Last value in the value name of `GXBGBmpScrBase` enum type specified by `G2_SetBG3Control256Bmp`)

## Arguments

None.

## Return Values

The pointer to the region storing the BG3 screen.

## See Also

`G2_SetBG3ControlText, G2_SetBG3Priority, G2_BG3Mosaic, G2_GetBG3CharPtr, G2_SetBG3Offset`

## Revision History

02/09/2004 Added to Description
01/19/2004 Initial Version