I know to use glGet to get various parameters. I need to know how to get the current GL_FRAMEBUFFER_OES and get the GLuint type framebuffer id.
I need to use renderToTexture. This will make one of the classes code easier when switching back to normal framebuffer.
The parameter you’re looking for is GL_FRAMEBUFFER_BINDING_OES
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With