Would adding alpha to standard colors cause problems?
Posted: Fri Jul 26, 2024 10:24 pm
Hello,
I'm currently working partly with the 2D library and partly with the vector library. The vector library expects colors with an alpha channel; the 2D library can make use of them, but not always. Without opening a discussion about the alpha channel and such: Would it cause problems if the build in colors, like #Red/#Blue/#White..., would already contain the alphachannel (set to opaque, so red would be #Red|$FF000000 and so on)? I mean, could this cause havoc on other libraries (like the console, which doesn't use alpha at all)?
I'm currently working partly with the 2D library and partly with the vector library. The vector library expects colors with an alpha channel; the 2D library can make use of them, but not always. Without opening a discussion about the alpha channel and such: Would it cause problems if the build in colors, like #Red/#Blue/#White..., would already contain the alphachannel (set to opaque, so red would be #Red|$FF000000 and so on)? I mean, could this cause havoc on other libraries (like the console, which doesn't use alpha at all)?