Hello,
We are using a FBO to draw our minimap and would like to obtain a JOGL texture object from it. Currently the only way I know of for creating JOGL textures is this line in our texture loader:
TextureIO.newTexture(url, false, “png”);
Where url is a URL object to the resource.
If we have a JOGL FBO, what steps can we take to obtain a com.jogamp.opengl.util.texture.Texture?
EDIT: A quick Google turned up this. Any caveats to using this method?
TextureIO.newTexture(int target)
//Creates an OpenGL texture object associated with the given OpenGL texture target.