title: Getting the SDL_Color of a single pixel in a SDL_Texture
body: <p>I am having some problems finding a solution on how to retrieve a specific color of a pixel on a SDL_Texture...
  To be bit more specific: I am trying to calculate the average amount of color used in a given texture. Later on I want to devide for example the number of red pixels by the total amount of pixels. For this task I will need a method, which will get me each pixel color...</p>
  
  <p>I tried to search for some functions, but unfortunately I wasnt able to figure it out..
  I saw methods like SDL_RenderReadPixels and SDL_GetPixelFormatName, but none of those helped me out...</p>
  
  <p>Do you have a solution for me?</p>