什么是“in”和“外出” OpenGL-ES? (从OpenGL移植) [英] What's "in" and "out" of OpenGL-ES? (Porting from OpenGL)

查看:186
本文介绍了什么是“in”和“外出” OpenGL-ES? (从OpenGL移植)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎所有关于OpenGL-ES的文档都说OpenGL-ES就像OpenGL一样,但没有很多东西。例如,没有glBegin或glEnd。

It seems that all of the documentation I can find about OpenGL-ES says something to the effect of "OpenGL-ES is just like OpenGL, but without a lot of stuff. For example, there's no glBegin or glEnd."

好的,那很好。那么,哪个ELSE不存在?或者是的列表?或者也许是一个移植指南?

Ok, that's great. So, what ELSE isn't there any of? Or is there a list of what's in? Or maybe a porting guide?

(具体来说,我试图将现有的GL应用程序移到iPhone上,虽然我不想将我的Q限制为iPhone。)

(Specifically, I'm trying to move an existing GL app to the iPhone, although I don't want to necessarily limit my Q to the iPhone.)

推荐答案

OpenGL ES 1.1.12差异规范(PDF)链接到 Khronos.org上的OpenGL ES 1.X信息页面介绍了OpenGL ES 1.X和OpenGL 1.5之间的差异。 OpenGL ES 1.1是iPhone上使用的版本。

The "OpenGL ES 1.1.12 Difference Specification" (PDF) linked to from the OpenGL ES 1.X info page at Khronos.org goes through the differences between OpenGL ES 1.X and OpenGL 1.5. OpenGL ES 1.1 is the version used on the iPhone.

差异规范并不是我见过的最简单的文档,但它比OpenGL规范更容易阅读一般。我建议您获取您调用的OpenGL函数列表,然后在差异文档中搜索它们。它将向您显示它们是否在OpenGL ES中受支持,如果支持仅是部分支持,您可以转到完整规范以获取更多信息。

The difference specification is not the simplest document I've ever seen, but it is easier reading than the OpenGL specs in general. I recommend getting a list of OpenGL functions you call and then searching through the difference document for them. It will show you if they are supported in OpenGL ES, and if support is only partial you can go to the full spec for more information.

这篇关于什么是“in”和“外出” OpenGL-ES? (从OpenGL移植)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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