A
A
antonyter2013-06-22 23:17:14
Android
antonyter, 2013-06-22 23:17:14

How to replace glGetTexImage?

There is a texture in memory, you need to get it to write to a file. I heard that you can somehow do it through FrameBuffer, but all attempts have not been successful so far.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
antonyter, 2013-06-23
@antonyter

It is possible, through FrameBuffer and ReadPixels. The only downside is it's very long.

G
GavriKos, 2013-06-23
@GavriKos

In the android version, as far as I know, there is no way on pure eGL. In SDL - I did it through Surface, i.e. the object after loading into eGL did not kill. The option is very suboptimal from memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question