Re: Poor Performance with glVertexAttribPointer
Posted by
gouessej on
Jan 14, 2014; 7:23pm
URL: https://forum.jogamp.org/Poor-Performance-with-glVertexAttribPointer-tp4031170p4031218.html
Yes this is a possibility, pass the buffer once to glBufferData and call glBufferSubData to update the content. We do something similar in several engines. The only drawback is that you have to handle direct NIO buffers carefully to avoid running out of native memory.