For those who want to push pixels manually instead of calling set_pixel multiple times, we should have a version which accepts a slice (pointer and length) of graphics_parameters (i32), as well as the starting location of the pixel buffer.
Then the console can do a fast write into the pixel buffer directly, using the passed in slice.
For those who want to push pixels manually instead of calling
set_pixel
multiple times, we should have a version which accepts a slice (pointer and length) of graphics_parameters (i32), as well as the starting location of the pixel buffer.Then the console can do a fast write into the pixel buffer directly, using the passed in slice.