SundayMonday
SundayMonday

Reputation: 19757

CGImageRef from OpenGL ES framebuffer (iOS)

How can I efficiently create a CGImageRef from the EAGLView's framebuffer contents using glReadPixels? Perhaps I can "render directly to a texture"?

I'm relatively new to OpenGL ES so any help is much appreciated!

Upvotes: 2

Views: 777

Answers (1)

Related Questions