开发者

Which parameter to pass to glGet for getting current framebuffer in OpenGLES iPhone

开发者 https://www.devze.com 2023-01-01 06:14 出处:网络
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 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开发者_如何学Python easier when switching back to normal framebuffer.


The parameter you’re looking for is GL_FRAMEBUFFER_BINDING_OES.

0

精彩评论

暂无评论...
验证码 换一张
取 消