Login  Register

Re: help using TextureIO.newTexture() ???

Posted by gouessej on Nov 26, 2023; 7:22pm
URL: https://forum.jogamp.org/help-using-TextureIO-newTexture-tp4043164p4043165.html

Hello

By the way, JOGL works under Android too even though there is a lack of documentation about that.

Nothing forces you to use JOGL high level helpers. You can use TextureIO.newTextureData() and create your texture with low level calls but in my humble opinion, you seem to confuse the identifier of the texture and the identifier of the texture unit, which are two distinct notions. this confusion has nothing to do with Android, OpenGL and OpenGL-ES are cross-platform.

Do you use bindless textures?
https://www.khronos.org/opengl/wiki/Bindless_Texture
If it's the case, my suggestion will work.
Julien Gouesse | Personal blog | Website