So I started doing some work with libgdx opengl.
The problem I find is that the glmethods don’t have same arguments. Also, some variables are poorly named and there is no doc on the web at least…
For example,
Gdx.gl20.glVertexAttribPointer(indx, size, type, normalized, stride, ptr);
Why is index called indx?? That just confuses me…
What is ptr? Is it pointer to my buffer? If so, then whats the point of having a pointer there, because even though I tell the pointer to my buffer, I still get exception that I need to bind a buffer if I want to use offsets.
Is there like any doc for GL20 methods? All I can see in the doc is method names…