是否有可能使用顶点数组从Android的对象扩展ES使用GL ES 2? [英] Is it possible to use the Vertex Array Objects ES extension from Android, using GL ES 2?

查看:253
本文介绍了是否有可能使用顶点数组从Android的对象扩展ES使用GL ES 2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使用顶点数组对象扩展ES在Android,使用GL ES 2?

Is it possible to use the Vertex Array Objects ES extension from Android, using GL ES 2?

我希望找到名为 GLES20Ext 一类,就像我能找到VAO功能ES在 GLES10Ext ,但我做不到。

I would expect to find VAO functions in a class named GLES20Ext, just as I can find ES 1 extensions in GLES10Ext, but I can't.

时有可能使用VAOs于Android的Java GL ES 2结合?

Is it possible to use VAOs from Android's Java GL ES 2 binding?

如果不是的话,将使用从GLES2 VAOs最简单的方法是使用NDK弥合分机呼叫?难道这样的结合已经存在?

If it is not, would the easiest way to use VAOs from GLES2 be to use the NDK to bridge the extension calls? Does such a binding exist already?

是否需要可行的ES 3或3 ES支持尚未广泛使用?

Is it feasible to require ES 3, or ES 3 support not yet widely available?

推荐答案

有没有GLES20Ext.java。这可能是疏忽。

There is no GLES20Ext.java. This was probably an oversight.

您将需要通过NDK来创建自己的Java绑定。

You will need to create your own Java bindings through the NDK.

GLES 3.0是相对较新,而尚未公布的大多数设备。目前的建议是针对2.0,并做了运行时检查,以充分利用3.0功能的时可用

GLES 3.0 is relatively new, and not yet available on the majority of devices. The current recommendation is to target 2.0, and do a runtime check to take advantage of 3.0 features when they are available.

这篇关于是否有可能使用顶点数组从Android的对象扩展ES使用GL ES 2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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