libogc  v2.9.0
Macros
Blending control

Macros

#define GX_BL_DSTALPHA   6
 
#define GX_BL_DSTCLR   GX_BL_SRCCLR
 
#define GX_BL_INVDSTALPHA   7
 
#define GX_BL_INVDSTCLR   GX_BL_INVSRCCLR
 
#define GX_BL_INVSRCALPHA   5
 
#define GX_BL_INVSRCCLR   3
 
#define GX_BL_ONE   1
 
#define GX_BL_SRCALPHA   4
 
#define GX_BL_SRCCLR   2
 
#define GX_BL_ZERO   0
 

Detailed Description

Each pixel (source or destination) is multiplied by any of these controls.

Macro Definition Documentation

◆ GX_BL_DSTALPHA

#define GX_BL_DSTALPHA   6

framebuffer alpha

◆ GX_BL_INVDSTALPHA

#define GX_BL_INVDSTALPHA   7

1.0 - (FB alpha)

◆ GX_BL_INVSRCALPHA

#define GX_BL_INVSRCALPHA   5

1.0 - (source alpha)

◆ GX_BL_INVSRCCLR

#define GX_BL_INVSRCCLR   3

1.0 - (source color)

◆ GX_BL_ONE

#define GX_BL_ONE   1

1.0

◆ GX_BL_SRCALPHA

#define GX_BL_SRCALPHA   4

source alpha

◆ GX_BL_SRCCLR

#define GX_BL_SRCCLR   2

source color

◆ GX_BL_ZERO

#define GX_BL_ZERO   0

0.0