문제

If I encode all colors into one single float value (RGB) as:

//Each Channels are from 0 - 255
red << 16 | green << 8 | blue;

How can I retrieve those color channels back in AGAL? There doesn't seem to be any bitwise operators.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top