How to check if a texture is bound in OpenGL ES

Posted by hyn on Stack Overflow See other posts from Stack Overflow or by hyn
Published on 2010-04-23T09:49:25Z Indexed on 2010/04/23 9:53 UTC
Read the original article Hit count: 310

Filed under:
|

In OpenGL ES, is there a way to check if a texture is currently bound, as to avoid the overhead of state changes in glBindTexture()? glAreTexturesResident() seems to be what I want, but it's not defined in iPhone's ES1/ES2 implementation.

© Stack Overflow or respective owner

Related posts about opengl-es

Related posts about iphone