I looked at multiple tutorials about glReadPixels but I'm confused:
void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data)
The last argument is a void? I saw tutorials and they declared the argument as a vector, unsigned char, GLubyte,... But what does it really mean? And do you need to call glPixelStoref( , )?