title: Draw image from vertex buffer object generated with CUDA using OpenGL
body: <p>I am using CUDA to generate this ABGR output image. The image in question is stored in a uchar4 array. Each element of the array represents the color of each pixel in the image. Obviously, this output array is a 2D image but it is allocated in CUDA as a linear memory of interleaved bytes.</p>
  
  <p>I know that CUDA can easily map this array to an OpenGL Vertex Buffer Object. My question is, assuming that I have the RGB value of every pixel in an image, along with the width and height of the image, how can I draw this image to screen using OpenGL?<br>
  I know that some kind of shader must be involved but since my knowledge is very little, I have no idea how a shader can use the color of each pixel, but map it to correct screen pixels.  </p>
  
  <p>I know I should increase my knowledge in OpenGL, but this seems like a trivial task.
  If there is an easy way for me to draw this image, I'd rather not spend much time learning OpenGL.</p>