安卓的OpenGL-ES VBO支持或不? [英] Android OpenGL-ES VBO support or not?

查看:288
本文介绍了安卓的OpenGL-ES VBO支持或不?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安卓的OpenGL-ES VBO支持或不?如何检查呢?

Android OpenGL-ES VBO support or not? How can i check this?

感谢

推荐答案

有些手机支持它,有些则没有。一般来说,维也纳各组织都必须在OpenGL 1.1,所以如果设备报告

Some phones support it, some do not. Generally, VBOs are mandatory in OpenGL 1.1, so if the device reports

gl.glGetString(GL10.GL_VERSION);

1.1或更高版本(你也可以编写应用程序清单文件,以便在1.1安装所需的),那么他们的支持。

as 1.1 or higher (you can also write the app manifest file so that 1.1 is required for the installation) then they are supported.

如果设备支持OpenGL ES 1.0只,您应该检查返回值

If the device support OpenGL ES 1.0 only, you should check the return value of

gl.glGetString(GL10.GL_EXTENSIONS);

是否含有 ARB_vertex_buffer_object 或没有。也许会的。

whether it contains ARB_vertex_buffer_object or not. Probably it will.

有关(略)关于Android设备的各种GL能力相关的信息,你可以找到一些在这个问题:<一href="http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices">OpenGL可在不同的Andr​​oid设备扩展程序。

For (slightly) related information about various GL capabilities of Android devices, you can find some at this question: OpenGL extensions available on different Android devices.

这篇关于安卓的OpenGL-ES VBO支持或不?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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