From: Kenneth B. R. <kbr...@al...> - 2002-04-25 03:04:41
|
> i would like to add NIO Buffer usage for all > kind of arrays (for the 1.4 libs only, of course ;-) > > e.g. (just added them to the manual glu part): > > public final native void gluTessVertex ( long tess, DoubleBuffer location, > Buffer data) ; > > we force usage of the DoubleBuffer type, so the user MUST > create a DoubleBuffer of a ByteBuffer via a view ! This sounds like a good idea. I was thinking about adding this (in particular, to expose some more of the NVidia extensions which take float* instead of void*) but got hung up because some of the more interesting extensions require wgl or glX to be exposed to Java via some portability layer. For most routines the presence of the additional overloads will probably be helpful. |