Login  Register

glBufferData usage

Posted by Joost Oudejans on Jan 11, 2013; 1:55pm
URL: https://forum.jogamp.org/glBufferData-usage-tp4027798.html

I would like to use the method glBufferData(int target, long size, Buffer data, int usage) of GL, but I do not know how to calculate the size required.

I think the size can be calculated with the GLBuffers class. Could someone help me?