# G2S_SetBlendBrightness

## Syntax

      #include <nitro/gx/g2.h>

      void G2S_SetBlendBrightness(
          int plane /* GXBlendPlaneMask */,
          int brightness
      );

## Arguments

plane | Selects the plane where the brightness will be changed (result of a logical OR with the `GXBlendPlaneMask` type values)
brightness | Specifies the coefficient for brightness change (-16 ≤ `brightness` ≤ 16)

## Return Values

None.

## Description

This function uses the sub 2D Engine to change the brightness of the plane that was specified by `plane`. If `brightness` is positive, the brightness increases; if it is negative, the brightness decreases. Refer to the `G2S_SetBlendAlpha` function for details on the `GXBlendPlaneMask` type.

## See Also

`G2S_BlendNone, G2S_SetBlendAlpha, G2S_SetBlendBrightnessExt, G2S_ChangeBlendAlpha, G2S_ChangeBlendBrightness`

## Revision History

2004/02/09 Initial version.

CONFIDENTIAL