Skip to content
Ludovic Petrenko edited this page Mar 30, 2017 · 1 revision

The color structure helps to use color in a convenient way.

Description

The Color structure allow us to access it in two different ways:

  • Accessing the different components (r, g, b, or a)
  • Accessing it as a 4 byte unsigned integer

It also manage to invert it's order based on the endianness.

Clone this wiki locally