在 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/