java - ARCore : should I add "uses-feature android:glEsVersion="0x0002000 0""?

标签 java opengl-es opengl-es-2.0 arcore

在 ARCore 演示应用预览 2 中,我在 list 中没有看到以下行:

<uses-feature android:glEsVersion="0x00020000" android:required="true" />

而这里的 openGL 教程需要它:

https://developer.android.com/training/graphics/opengl/environment.html

那么,我应该包含它还是不包含它?

顺便说一下,这是在openGL教程中写的:

If your application uses texture compression, you must also declare which compression formats your app supports, so that it is only installed on compatible devices.

<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" />
<supports-gl-texture android:name="GL_OES_compressed_paletted_texture" />

我不知道“如果您的应用程序使用纹理压缩”是什么意思(openGL 初学者)。我如何知道我的应用程序是否使用压缩?我应该在 list 中包含这两行吗?

谢谢

最佳答案

如果您想在您的应用中使用 OpenGL ES you should specify so在 list 中,纹理压缩也是如此,如果您使用 glcompressedTexImage2D 压缩纹理并上传它们,那么您正在使用纹理压缩...

关于java - ARCore : should I add "uses-feature android:glEsVersion="0x0002000 0""?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48782438/

相关文章:

java - 按特定规则对对象的 List<T> 进行排序?

ios - 在 iOS Swift 3 中将 openGL ES 绘图保存为 PNG 图像文件

java - 为要绘制的每个项目调用 gluLookAt()?

javascript - WebGL:如何绑定(bind)采样器数组

c++ - 纹理映射到瓷砖

java - merge() 操作中丢失复合外键 (JPA/Hibernate)

java - 如何限制文件上传带宽?

java - Android OpenGL ES 教程

opengl-es - 多个 IBO --> IBO

java - 有没有办法像在 ExecutorCompletionService 中那样在 spring 中轮询一组 Future 对象?