G2_SetBlendBrightness

C Specification

#include <nitro/gx/g2.h>
void G2_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 changes the brightness of the screen specified by plane. If brightness is positive, the brightness increases; if it is negative, the brightness decreases. See G2_SetBlendAlpha for details on the GXBlendPlaneMask type.

See Also

G2_BlendNone, G2_SetBlendAlpha, G2_SetBlendBrightnessExt, G2_ChangeBlendAlpha, G2_ChangeBlendBrightness

Revision History

01/19/2004 Initial version.