Re: How do I load texture array in jogl?
Posted by
gouessej on
Aug 13, 2018; 7:24am
URL: https://forum.jogamp.org/How-do-I-load-texture-array-in-jogl-tp4039107p4039111.html
Steyrix wrote
Thank you for the advice.
I ve tried to load TextureData, but it's buffer appears empty, so I don't see any image.
Steyrix wrote
texData.getBuffer().toString() is "java.nio.DirectByteBuffer[pos=0 lim=819200 cap=819200]"
It doesn't appear to be empty according to toString(), the position of the NIO buffer is at the very beginning (zero) and the limit is set to 819200.