#include <nitro/gx/g2.h>
void G2S_SetBlendBrightness(
int plane /* GXBlendPlaneMask */,
int brightness
);
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) |
None.
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. See G2S_SetBlendAlpha
for details on the GXBlendPlaneMask
type.
G2S_BlendNone, G2S_SetBlendAlpha, G2S_SetBlendBrightnessExt, G2S_ChangeBlendAlpha, G2S_ChangeBlendBrightness
02/09/2004 Initial version