在ARCore演示应用程序Preview 2中,清单中没有显示以下行:

<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的初学者)。我怎么知道我的应用程序是否使用压缩?我应该在清单中包括这两行吗?

谢谢

最佳答案

如果要在清单中的应用程序you should specify so中使用OpenGL ES,则纹理压缩也是如此,如果要压缩纹理并使用glCompressedTexImage2D上载它们,则要使用纹理压缩...

08-04 07:44