我有一个使用 NDK 和所有 C++ 和 Open GL ES 开发的 android 应用程序。如何将 C++ 和 Open GL ES 移植到 iOS。我知道 C++ 可以在 xcode 中使用,但是它们都可以轻松移植到 iOS 吗?是否有一些单一的应用程序可以同时移植两者,还是我需要重写很多?
问问题
137 次
1 回答
3
Well, given the fact that Android and iOS have a very dissimilar system level API, the OpenGL-ES part is the least of your problems. In fact the OpenGL-ES part will probably the only part that does not require a lot of porting effort at all, as OpenGL-ES is OS idenpendent.
And no, there's no magic "port from OS A to OS B" kind of tool. That's why you try to place as much as possible of the OS dependent code in well contained, easy to replace modules.
于 2013-08-25T17:48:33.523 回答