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.
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.