我们可以使用在Android上的OpenGL ES非幂的2纹理? [英] Can we use non-power-of-2 textures on OpenGL ES on Android?
本文介绍了我们可以使用在Android上的OpenGL ES非幂的2纹理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有谁知道是否有可能在Android上的OpenGL ES的渲染器NPOT纹理?
Does anyone know if it is possible to use NPOT textures on Android's OpenGL ES renderer?
推荐答案
是的,对于OpenGL ES 2.0的,NPOT纹理与在包装模式3D纹理一定的局限性,以及核心规范的支持。限制使用GL_OES_texture_npot扩展时解除。
Yes, for OpenGL ES 2.0, NPOT textures are supported in the core specification with some limitations in wrap modes, and 3D textures. The limitations are lifted when using the GL_OES_texture_npot extension.
有关的OpenGL ES 1.x中,没有扩展支持NPOT纹理。
For OpenGL ES 1.x, there is no extension to support NPOT textures.
这篇关于我们可以使用在Android上的OpenGL ES非幂的2纹理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文