One thing to remember, _RGB32 and RGBA32 just return a simple number for us to use.
All the above prints the same value for us -- 4,294,901,760 -- which represents the numeric value of "ALL Red and FULL Alpha".
Now, how is _SETALPHA going to recognize that that number in question came from _RGB, _RGBA, or some other formula? Is it simply expected to assume that any time someone uses the value &HFFFF0000, that they intend to change the whole RGB spectrum for that color value, rather than just for &H00FF0000 TO &H11FF0000? How the heck would they ever just change the alpha for &HFFFF0000 all by itself, if that's the *only* value they wanted to change??
Code: (Select All)
PRINT _RGBA32(255, 0, 0, 255)
PRINT _RGB32(255, 0, 0)
PRINT &HFFFF0000&&
PRINT 4294901760
All the above prints the same value for us -- 4,294,901,760 -- which represents the numeric value of "ALL Red and FULL Alpha".
Now, how is _SETALPHA going to recognize that that number in question came from _RGB, _RGBA, or some other formula? Is it simply expected to assume that any time someone uses the value &HFFFF0000, that they intend to change the whole RGB spectrum for that color value, rather than just for &H00FF0000 TO &H11FF0000? How the heck would they ever just change the alpha for &HFFFF0000 all by itself, if that's the *only* value they wanted to change??