bitshift and rgb instand of argb
in
Programming Questions
•
2 years ago
int r = (argb >> 16) & 0xFF; // Faster way of getting red(argb)
int g = (argb >> 8) & 0xFF; // Faster way of getting green(argb)
int b = argb & 0xFF; // Faster way of getting blue(argb)
Does it matter if a color is rgb instand of argb?
1