Login  Register

Re: upcoming semantical change for buffer operations

Posted by Wade Walker on Feb 18, 2011; 1:39am
URL: https://forum.jogamp.org/upcoming-semantical-change-for-buffer-operations-tp2519021p2523862.html

Your proposed change does seem to make the use-case simpler in many situations.

The only drawback I can think of is it would make your method parameters have different meanings than those in the spec. So you'd have to put in parameter docs to clearly say which ones are in elements and which ones are in bytes. Right now you don't need parameter docs, since the user can just read the ones in the spec