void glReadPixels(GLint x, GLint y,
GLsizei w, GLsizei h, GLenum format, GLenum type, GLvoid *image); |
---|
--
Possible formats include
GL_COLOR_INDEX
GL_RGB
GL_RGBA
GL_RED, etc
GL_ALPHA
GL_LUMINANCE
GL_DEPTH_COMPONENT
GL_BYTE
GL_UNSIGNED_BYTE GL_BITMAP GL_SHORT GL_FLOAT GL_INT |
---|