Re: glVertexAttribIPointer(int, int, int, int, long)?
Posted by Wade Walker on Jun 08, 2011; 1:01am
URL: https://forum.jogamp.org/glVertexAttribIPointer-int-int-int-int-long-tp3034571p3037508.html
Hi Darren,
Have you tried these two methods in the GL4 profile? They're defined in jogamp.opengl.gl4.GL4bcImpl.
public void glVertexAttribIPointer(int index, int size, int type, int stride, Buffer pointer)
public void glVertexAttribLPointer(int index, int size, int type, int stride, Buffer pointer)
I haven't done it myself, but it looks like you should be able to use the NIO Buffer objects the same way you would the GLVoid * arguments in the C spec.