The current CPU display buffer is a multi-dimensional array of booleans (indicating pixels toggling). In order to take advantage of the display's texture rendering approach, it would benefit to change the display buffer to a single dimension pixel-color array.
In the pixel-color array, 4u8 samples represent a single pixel on-screen (R: u8, G: u8, B: u8, A:u8).
The current CPU display buffer is a multi-dimensional array of booleans (indicating pixels toggling). In order to take advantage of the display's texture rendering approach, it would benefit to change the display buffer to a single dimension pixel-color array.
In the pixel-color array, 4u8 samples represent a single pixel on-screen (R: u8, G: u8, B: u8, A:u8).