Get complete courses at http://courses.caveofprogramming.com
We need to set up pixel access in our SDL program by creating a texture, a renderer and a buffer (region of memory on the heap) to store pixel data.