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.
如果我在界面生成器中创建 GLKView,我会看到几个与 gl 上下文相关的可配置属性(例如颜色格式)。如果我必须手动创建上下文,为什么会存在这些属性?
颜色格式,是否有深度缓冲区等,是帧缓冲区的属性,而不是上下文的属性。与桌面 OpenGL 相比,ES 从一开始就具有帧缓冲区扩展的功能,因此这两个不相关的东西没有混为一谈。