G2S_SetBlendBrightness


C Specification

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

Description

This function uses the sub 2D Engine to change the brightness of the plane that was specified by plane. Positive brightness increases brightness. Negative brightness decreases brightness. See G2S_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 Specifies the coefficient for brightness change (-16 <= brightness <= 16)

Return Values

None

See Also

G2S_BlendNone, G2S_SetBlendAlpha, G2S_SetBlendBrightnessExt, G2S_ChangeBlendAlpha, G2S_ChangeBlendBrightness

Revision History

02/09/2004 Initial Version