#include <iris/g2.h>void G2_SetBlendBrightness(
int plane /* G2_BLENDPLANE */,
int brightness
);
| plane | 輝度変更対象の平面を選択(G2_BLENDPLANE型の値でorをとったもの) |
| brightness | 輝度変更のための係数を指定します(-16 <= brightness <= 16) |
なし。
planeで指定した面の輝度を変更します。brightnessが正なら輝度アップ、負なら輝度ダウンです。
typedef enum
{
G2_BLENDPLANE_NONE = 0x0000,
G2_BLENDPLANE_BG0 = 0x0001,
G2_BLENDPLANE_BG1 = 0x0002,
G2_BLENDPLANE_BG2 = 0x0004,
G2_BLENDPLANE_BG3 = 0x0008,
G2_BLENDPLANE_OBJ = 0x0010,
G2_BLENDPLANE_BD = 0x0020
}
G2_BLENDPLANE;
2003/12/01 初版