Read texture bytes with glReadPixels?

Viewed 17048

I want to dump raw texture data to disk (to read back later), and I'm not sure about glReadPixel will read from the currently bound texture.

How can I read the buffer from my texture?

2 Answers
Related