Re: Using multiple models in a scene
Posted by
gouessej on
Jul 17, 2018; 7:56am
URL: https://forum.jogamp.org/Using-multiple-models-in-a-scene-tp4038956p4039042.html
A NIO buffer is typically an instance of
this class. A direct NIO buffer is a buffer whose content resides (most of the type) outside of the Java heap in the native heap.
You can create NIO buffers to use with JOGL by using
this class.
I advise you to read
my post about deallocating direct NIO buffer native memory.
By the way, if you pass an indirect NIO buffer to JOGL, it will have to build a direct one anyway, it's not a good idea.