Sorry if this is in the tutorials, but I can't seem to find it. Is there a way to efficiently change a window's pixel's color. I would use rectangles to draw over it, but I'm planning on making a paint like program. So that would mean that I would need about 1000 * 800 rectangles which seems insane. So is there a efficient way to set a pixel color of a window?