Login  Register

Re: JOGL Questions - Guidance on creating Scene class

Posted by gouessej on Oct 29, 2015; 4:47pm
URL: https://forum.jogamp.org/JOGL-Questions-Guidance-on-creating-Scene-class-tp4035659p4035669.html

Yes except if the last Java object referring to a direct NIO buffer gets garbage collected. However, it's quite common in a Java game to create a single huge direct NIO buffer once and slice it later (done in some commercial games) or create smaller direct NIO buffers and destroying them manually when you know you don't need them (what I do).

The Fettle API for state machines is used by Candy Crush. The schema is somewhere on my blog, I'm looking for it...
Julien Gouesse | Personal blog | Website