G2_SetBlendBrightnessExt


C Specification

#include <nitro/gx/g2.h>
void G2_SetBlendBrightnessExt(
int plane1 /* GXBlendPlaneMask */,
int plane2 /* GXBlendPlaneMask */,
int ev1,
int ev2,
int brightness
);

Description

This function changes the brightness of the screen specified by plane1. If brightness is positive, the brightness increases; if brightness is negative, the brightness decreases. Furthermore, alpha-blending is performed on the translucent OBJ, bitmap OBJ, 3D screen, and the screen specified by plane2. See G2_SetBlendAlpha for information on the GXBlendPlaneMask type.

Arguments

plane1 Selects the plane where the brightness will be changed (result of a logical OR with the GXBlendPlaneMask type values)
plane2 Selects the screen where alpha-blending is performed on the translucent OBJ, bitmap OBJ, and 3D screen.
ev1 alpha-blending coefficient for the translucent OBJ, bitmap OBJ, and 3D screen.
ev2 alpha-blending coefficient for plane2.
brightness Specifies the coefficient to change the brightness of plane1 (-16 <= brightness <= 16)

Return Values

None.

See Also

G2_BlendNone, G2_SetBlendAlpha, G2_SetBlendBrightness, G2_ChangeBlendAlpha, G2_ChangeBlendBrightness

Revision History

01/19/2004 Initial Version