enum StandardAlphas { Alpha0 = SF_RGBA(0,0,0, 0), Alpha25 = SF_RGBA(0,0,0, 64), Alpha50 = SF_RGBA(0,0,0,127), Alpha75 = SF_RGBA(0,0,0,191), Alpha100 = SF_RGBA(0,0,0,255) };
StandardAlphas contains a common set of alpha channel color values. The alpha values are useful when creating colors that are used for color blending and require a valid alpha channel.
Name |
Description | |
Alpha0 |
0 |
Transparent - 0% visibility, no blending. |
Alpha25 |
64 |
Partially Transparent - 25% visibility, mostly transparent. |
Alpha50 |
128 |
Partially Transparent - 50% visibility, equal blending. |
Alpha75 |
192 |
Partially Transparent - 75% visibility, mostly solid. |
Alpha100 |
255 |
Solid (opaque) - 100% visibility, no blending. |
Render_Color.h