Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道使用 glGet 来获取各种参数。我需要知道如何获取当前的 GL_FRAMEBUFFER_OES 并获取 GLuint 类型的帧缓冲区 ID。
我需要使用 renderToTexture。当切换回普通帧缓冲区时,这将使其中一个类的代码更容易。
您要查找的参数是GL_FRAMEBUFFER_BINDING_OES.
GL_FRAMEBUFFER_BINDING_OES