Login  Register

Re: Another variant for glBufferData?

Posted by adi on Aug 31, 2014; 1:30am
URL: https://forum.jogamp.org/Another-variant-for-glBufferData-tp4032875p4032995.html

Hi

The problem is another. If i have put all datas in vbo's, the nio buffers are
all deleted.  There are situations where my complete scenegraph must be serialized.
Now, the nio buffers are gone before, so that the objects can't created from a
de-serialization. Problem in my opinion is the method glBufferData that
can only handle nio-buffers and not simple float array's.
What says the opengl Reference?
Must buffer parameters in opengl functions forced to set with nio buffers in java?