private static PACKW4 ( short r, short g, short b, short a ) : int | ||
r | short | |
g | short | |
b | short | |
a | short | |
Результат | int |
private static int PACKW4(short r, short g, short b, short a)
{
return (W2B(r) | (W2B(g) << 8) | (W2B(b) << 16) | (W2B(a) << 24));
}