CreateColorInteger
not ratedCreates a color integer (as opposed to a color string e.g. "ff00aabb".) Color integers can be created at compile-time by using the 0x-prefix. They have the format: 0xAABBGGRR where AA is alpha, BB is blue, GG is green and RR is red in hexadecimal pairs.
Color integers aren't necessary, but they are fast in comparision to color strings. Especially when retrieving a color of a color string, the color integer is many times faster.
The ColorIntegerGet-function retrieves one of the four different colors of a color integer.
Color integers aren't necessary, but they are fast in comparision to color strings. Especially when retrieving a color of a color string, the color integer is many times faster.
The ColorIntegerGet-function retrieves one of the four different colors of a color integer.