Defines | |
| #define | IND_ZERO 500 |
| Blend factor (0, 0, 0, 0). | |
| #define | IND_ONE 501 |
| Blend factor (1, 1, 1, 1). | |
| #define | IND_SRCCOLOR 502 |
| Blend factor (Rs,Gs,Bs,As). | |
| #define | IND_INVSRCCOLOR 503 |
| Blend factor (1 - Rs, 1 - Gs, 1 - Bs, 1 - As). | |
| #define | IND_SRCALPHA 504 |
| Blend factor (As, As, As, As). | |
| #define | IND_INVSRCALPHA 505 |
| Blend factor ( 1 - As, 1 - As, 1 - As, 1 - As). | |
| #define | IND_DESTALPHA 506 |
| Blend factor (Ad, Ad, Ad, Ad). | |
| #define | IND_INVDESTALPHA 507 |
| Blend factor (1 - Ad, 1 - Ad, 1 - Ad, 1 - Ad). | |
| #define | IND_DESTCOLOR 508 |
| Blend factor (Rd, Gd, Bd, Ad). | |
| #define | IND_INVDESTCOLOR 509 |
| Blend factor (1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad). | |
| #define | IND_SRCALPHASAT 510 |
| Blend factor (f, f, f, 1); f = min(A, 1 - Ad). | |
| #define | IND_BOTHSRCALPHA 511 |
| Obsoleto. | |
| #define | IND_BOTHINVSRCALPHA 512 |
| Blend factor (1 - As, 1 - As, 1 - As, 1 - As), y el destino (As, As, As, As);. | |
| #define | IND_BLENDFACTOR 513 |
| Blend colour. | |
| #define | IND_INVBLENDFACTOR 514 |
| Blend opposite colour. | |
Typedefs | |
| typedef int | IND_BlendingType |
| Blending type. | |
| typedef int IND_BlendingType |
Blending type.
Type IND_BlendigType define the type of blend (to do alphablending). Alphablending is a powerful tool that can be used to create lots of graphical efects ( burst, electricity, speck efects, rain, etc).
The more usual factors of blending are:
1.5.4