Login  Register

Re: Poor Performance with glVertexAttribPointer

Posted by bgroenks96 on Jan 12, 2014; 4:05pm
URL: https://forum.jogamp.org/Poor-Performance-with-glVertexAttribPointer-tp4031170p4031177.html

I'm looking at:
http://code.google.com/p/jmonkeyengine/source/browse/trunk/engine/src/jogl/com/jme3/renderer/jogl/JoglRenderer.java?spec=svn9910&r=9910

How many times does that glVertexAttribPointer get called?  Is it called for just position?  If so, how do you get texture coordinate data to the vertex shader?