I have plans to write a renderer for learning purposes, but I'm not sure where exactly to start in terms of actually getting something to draw on the screen. Can anyone point me in the right direction? I am just looking for and API or something that will allow me to set the colour of a pixel on the screen as well as give me the option of using the GPU to speed things up. I am working in C++ and Windows.
Thanks.