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.
我可以拥有 2 个全屏 EAGLView-s(Apple 示例代码中的 OpenGL 层实现),将它们堆叠在一起,独立绘制它们,然后查看两个图像吗?
(我想最上面的需要一个 glClearColor(0, 0, 0, 0) 是透明的——这甚至有效吗?!)
在我最初的实验中,第二个 EAGLView 抱怨尝试交换缓冲区时出错(尽管 glGetError() 返回 GL_NO_ERROR :) 并且,在显示的视图中,绘图非常糟糕。
它是否在尝试完全不可能/不支持的事情?
谢谢!
可能更容易使用 z-buffer 吗?
或者,如果您想使用 UILabel 等,则将其添加到 EAGL init 中。