|
|
A default set of blending factors.
- Enumerator:
-
| GZ_BLEND_ZERO |
RGBA blend factor = (0, 0, 0, 0). |
| GZ_BLEND_ONE |
RGBA blend factor = (1, 1, 1, 1). |
| GZ_BLEND_DST_COLOR |
RGBA blend factor = (R_destination, G_destination, B_destination, A_destination). |
| GZ_BLEND_SRC_COLOR |
RGBA blend factor = (R_source, G_source, B_source, A_source). |
| GZ_BLEND_ONE_MINUS_DST_COLOR |
RGBA blend factor = (1-R_destination, 1-R_destination, 1-R_destination, 1-R_destination). |
| GZ_BLEND_ONE_MINUS_SRC_COLOR |
RGBA blend factor = (1-R_source, 1-G_source, 1-B_source, 1-A_source). |
| GZ_BLEND_SRC_ALPHA |
RGBA blend factor = (A_source, A_source, A_source, A_source). |
| GZ_BLEND_ONE_MINUS_SRC_ALPHA |
RGBA blend factor = (1-A_source, 1-A_source, 1-A_source, 1-A_source). |
| GZ_BLEND_DST_ALPHA |
RGBA blend factor = (A_destination, A_destination, A_destination, A_destination). |
| GZ_BLEND_ONE_MINUS_DST_ALPHA |
RGBA blend factor = (1-A_destination, 1-A_destination, 1-A_destination, 1-A_destination). |
| GZ_BLEND_SRC_ALPHA_SATURATE |
RGBA blend factor = (min(A_source, 1-A_destination), min(A_source, 1-A_destination), min(A_source, 1-A_destination), 1). |
Definition at line 104 of file gzState.h. |