libOGC  1.0
Defines
Blending control

Defines

#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.


Define Documentation

#define GX_BL_DSTALPHA   6

framebuffer alpha

#define GX_BL_INVDSTALPHA   7

1.0 - (FB alpha)

#define GX_BL_INVSRCALPHA   5

1.0 - (source alpha)

#define GX_BL_INVSRCCLR   3

1.0 - (source color)

#define GX_BL_ONE   1

1.0

#define GX_BL_SRCALPHA   4

source alpha

#define GX_BL_SRCCLR   2

source color

#define GX_BL_ZERO   0

0.0

 All Data Structures Files Functions Variables Typedefs Defines