具体参照 http://developer.android.com/guide/topics/graphics/opengl.html
Texture compression support
The ETC format is supported by most Android devices
glCompressedTexImage2D
internalformat
....
GL_PALETTE4_RGB5_A1_OES 表示调色板索引4位, 颜色格式是RGB5位, ALPHA 1位
其他格式:
For Android, this is normal: for 32bpp textures, Tegra(nvidia) supports DDS only, but SGX supports PVR only, etc.
本文介绍了Android设备上支持的纹理压缩格式,特别是ETC格式,并详细说明了OpenGL中用于纹理操作的不同内部格式,如GL_PALETTE4_RGB5_A1_OES等。文中还对比了不同GPU供应商对于特定纹理格式的支持情况。
9373

被折叠的 条评论
为什么被折叠?



