iPhone 使用什么版本的 GLSL? [英] What version of GLSL is used in the iPhone(s)?

查看:12
本文介绍了iPhone 使用什么版本的 GLSL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道 iPhone 使用的是 OpenGL ES 2.0,但我不知道底层语言 GLSL 的版本.是 1.3、1.4、2.0 还是其他?

I know that iPhone uses OpenGL ES 2.0, but I don't know the version of the underlying language GLSL. Is it 1.3, 1.4, 2.0, or other?

推荐答案

好的,我自己找到了,感谢_____VERSION_____ 预定义的宏.使用的 GLSL ES 规范是 1.0,它基于 GLSL 版本 1.20.OpenGL ES 2.0 和 GLSL ES 1.0 规范可在 http://www.khronos.org/下载注册表/gles/.

Ok, I found it myself, thanks to the _____VERSION_____ predefined macro. The GLSL ES specification used is the 1.0, which is based on the GLSL version 1.20. The OpengGL ES 2.0 and GLSL ES 1.0 specifications are available for download at http://www.khronos.org/registry/gles/.

这篇关于iPhone 使用什么版本的 GLSL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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