G2S_SetBlendBrightness

C Specification

#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. See G2S_SetBlendAlpha for details on the GXBlendPlaneMask type.

See Also

G2S_BlendNone, G2S_SetBlendAlpha, G2S_SetBlendBrightnessExt, G2S_ChangeBlendAlpha, G2S_ChangeBlendBrightness

Revision History

02/09/2004 Initial version