G2_SetBlendBrightness


C Specification

#include <nitro/gx/g2.h>
void G2_SetBlendBrightness(
int plane /* GXBlendPlaneMask */,
int brightness
);

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.

Arguments

plane Selects the plane where the brightness will be changed (result of a logical OR with the GXBlendPlaneMask type values)
brightness Sets the coefficient to change the brightness (-16 <= brightness <= 16)

Return Values

None

See Also

G2_BlendNone, G2_SetBlendAlpha, G2_SetBlendBrightnessExt, G2_ChangeBlendAlpha, G2_ChangeBlendBrightness

Revision History

01/19/2004 Initial Version