Re: Does TextureIO.newTextureData work with InputStream textures?
Posted by
gouessej on
May 04, 2015; 3:24pm
URL: https://forum.jogamp.org/Does-TextureIO-newTextureData-work-with-InputStream-textures-tp4034413p4034420.html
You should use Class.getResource() or Class.getResourceAsStream() in order to determine whether you provide the right path to retrieve your file. It will return null if no resource is found.