OpenGL 在 IOS 12 中已弃用,如何在 ios 12+ 设备上安全地继续使用 openGL? [英] OpenGL deprecated in IOS 12, how to safely continue to use openGL on ios 12+ device?

查看:31
本文介绍了OpenGL 在 IOS 12 中已弃用,如何在 ios 12+ 设备上安全地继续使用 openGL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple 表示使用 OpenGL ES 构建的应用将继续在 iOS 12 中运行,但在 iOS 12 中已弃用 Open GL ES.以前使用 OpenGL ES 的游戏和图形密集型应用现在应该采用 Metal.

Apple says that apps built using OpenGL ES will continue to run in iOS 12, but Open GL ES is deprecated in iOS 12. Games and graphics-intensive apps that previously used OpenGL ES should now adopt Metal.

但我不想将我的应用程序从 OpenGL 迁移到 Metal,因为它与 Android 的代码相同,我不想创建两个单独的分支,所以我可以做些什么来在未来的 iOS 版本中继续使用 OpenGL?

But I don't want to migrate my app from OpenGL to Metal because it's the same code for Android and I don't want to create two separate branches, so what can I do to continue to use OpenGL in future iOS releases?

推荐答案

你或多或少没有.

Apple 已经明确表示,他们对在他们控制的任何平台上进一步支持 OpenGL ES 不感兴趣.将来,您将使用 Metal,否则您将不会拥有加速的 3D 图形.这些将是您的选择.

Apple has made it abundantly clear that they are not interested in supporting OpenGL ES further on any platform they control. In the future, you will use Metal or you will not have accelerated 3D graphics. Those will be your options.

个项目通过在 Metal 之上实现 ES 层在此类平台上公开 OpenGL ES.MoltenGL,例如,但显然不是免费的.

There are projects that expose OpenGL ES on such platforms by implementing an ES layer on top of Metal. MoltenGL, for example, but that one isn't free apparently.

这篇关于OpenGL 在 IOS 12 中已弃用,如何在 ios 12+ 设备上安全地继续使用 openGL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆