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

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

问题描述

苹果公司表示,使用OpenGL ES构建的应用程序将继续在iOS 12中运行,但是在iOS 12中不推荐使用Open GL ES.以前使用OpenGL ES的游戏和图形密集型应用程序现在应该采用Metal.但是我不想将我的应用程序从OpenGL迁移到Metal,因为它是与Android相同的代码,并且我不想创建2个分支,所以我该怎么做才能在未来的iOS版本中继续使用OpenGL?

Apple say 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. 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 2 branch, so how can I do to continue to use OpenGL in futur iOS release ?

推荐答案

您或多或少都没有.

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.

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

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