brew install sdl2
- COLORBUFFER and array of colors represented in hex numbers
- SDL will render all the numbers asa a texture -----------------A R G B
- HEX color goes 0xFFFF0000
-
How many bytes are required to in memory to hold an int?
sizeof(int)
. Depends on the machine 2 bytes on older, 4 on newer -
uint8_t
fixed-sized int type (guaranteed) - unsigned integer of 8 bits (1 byte = 8 bits) -
uint16_t
-
uint32_t