how can read bmp to framebuffer ?
THX~
Use glReadPixels. If you want to store the image in a file, you must save it yourself, OpenGL doesn’t provide any functionality for that.
how can read bmp to framebuffer ?
THX~
Use glReadPixels. If you want to store the image in a file, you must save it yourself, OpenGL doesn’t provide any functionality for that.