# GX_SetVisiblePlane

## C Specification

  `#include <nitro/gx/gx.h>`
  `void GX_SetVisiblePlane(int plane);`

## Description

This function selects a plane to display. The argument is the logical sum of the `GXPlaneMask` type values.

`GX_PLANEMASK_NONE` | Nothing specified
`GX_PLANEMASK_BG0` | Specifies BG0
`GX_PLANEMASK_BG1` | Specifies BG1
`GX_PLANEMASK_BG2` | Specifies BG2
`GX_PLANEMASK_BG3` | Specifies BG3
`GX_PLANEMASK_OBJ` | Specifies OBJ

The following is the type definition for `GXPlaneMask` types.

    typedef enum
    {
        GX_PLANEMASK_NONE = 0x00,
        GX_PLANEMASK_BG0 = 0x01,
        GX_PLANEMASK_BG1 = 0x02,
        GX_PLANEMASK_BG2 = 0x04,
        GX_PLANEMASK_BG3 = 0x08,
        GX_PLANEMASK_OBJ = 0x10
    }
    GXPlaneMask;

## Arguments

`plane` | Specifies display plane with logical sum of `GXPlaneMask` types

## Return Values

None

## See Also

`GX_SetVisibleWnd`

## Revision History

01/19/2004 Initial Version