Where is glVertexAttribIPointer that doesn't take a Buffer?
Posted by Jeff Quigley on Sep 02, 2012; 10:13pm
URL: https://forum.jogamp.org/Where-is-glVertexAttribIPointer-that-doesn-t-take-a-Buffer-tp4026005.html
Hi, I was running
gl.glVertexAttribPointer(attributeLocation, 2, GL.GL_UNSIGNED_INT, false, stride, 0)
and it refused to work until I switched to GL.GL_FLOAT which seems very weird, and if anybody has an explanation for that then I'd be glad to hear it, but my main question is something else: In the process of fiddling with this I learned about glVertexAttribIPointer() which seemed like something I ought to try, since I was passing ints and that function seems to be specialized for ints or something. But the interfaces GL4 and GL3 seem to lack glVertexAttribIPointer(int, int, int, int, long). I'm using a GL3, which should have that method. What's the problem?